org.gcube.common.ghn.service.configuration
Class ConfigurationBinder
java.lang.Object
org.gcube.common.ghn.service.configuration.ConfigurationBinder
public class ConfigurationBinder
- extends Object
Binds ServiceConfigurations from XML serialisations, using
ServiceHandler bindings found in classpath archives that include a
#service_marker_file.
- Author:
- Fabio Simeoni
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfigurationBinder
public ConfigurationBinder()
bind
public ServiceConfiguration bind(InputStream stream)
throws RuntimeException
- Returns a
ServiceConfiguration from its XML serialisation.
- Parameters:
stream - the serialisation
- Returns:
- the configuration
- Throws:
RuntimeException - if the serialisation is invalid
Copyright © 2012. All Rights Reserved.