Class ContainerConfigurationBinder
- java.lang.Object
-
- org.gcube.smartgears.configuration.container.ContainerConfigurationBinder
-
public class ContainerConfigurationBinder extends Object
BindsContainerConfigurations to and from XML serialisations.- Author:
- Fabio Simeoni
-
-
Constructor Summary
Constructors Constructor Description ContainerConfigurationBinder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ContainerHandler>bindHandlers(ClassLoader classloader)Returns the handlers of the container from their XML serialisation.ContainerConfigurationload(InputStream stream)SmartgearsConfigurationloadSmartgearsProperty()
-
-
-
Method Detail
-
load
public ContainerConfiguration load(InputStream stream)
-
bindHandlers
public List<ContainerHandler> bindHandlers(ClassLoader classloader)
Returns the handlers of the container from their XML serialisation.- Parameters:
stream- the serialisation- Returns:
- the handlers
- Throws:
RuntimeException- if the serialisation is invalid
-
loadSmartgearsProperty
public SmartgearsConfiguration loadSmartgearsProperty()
-
-