| Package | Description |
|---|---|
| org.gcube.common.mycontainer |
| Modifier and Type | Method and Description |
|---|---|
Gar |
Gar.addConfiguration(String resourcePath)
Adds a configuration resource to the Gar.
|
Gar |
Gar.addConfigurations(String resourcePath)
Adds all the configuration files in a given directory to the Gar.
|
Gar |
Gar.addInterface(String resourcePath)
Adds an interface resource to the Gar.
|
Gar |
Gar.addInterfaces(String resourcePath)
Adds all the interfaces in a given directory to the Gar.
|
Gar |
Gar.addLibraries(String resourcePath)
Adds all the library resources in a given directory to the Gar.
|
Gar |
Gar.addLibrary(String resourcePath)
Adds a library resource to the Gar.
|
| Constructor and Description |
|---|
MyContainer(Gar... gars)
Creates an instance configured with:
the properties found in a
Utils.PROPERTY_FILE
zero or more Gars
Note that: |
MyContainer(Properties properties,
boolean merge,
Gar... gars)
An overload of
MyContainer.MyContainer(Properties, Gar...) where the configuration properties passed in input can
augment or override those in a Utils.PROPERTY_FILE. |
MyContainer(Properties properties,
Gar... gars)
Creates an instance configured with:
given properties
zero or more
Gars
Note that the Gars are deployed when the container is started. |
MyContainer(String location,
Gar... gars)
Creates an instance configured:
a given location
default properties
zero or more
Gars
Note that the Gars are deployed when the container is started. |
Copyright © 2017. All Rights Reserved.