...
Cargo allows you to plug your own custom configuration implementation.
Support Matrix
Java | AntMaven2 | Maven 3 |
---|---|---|
Java API
You can register your configuration against the DefaultConfigurationFactory
class. It's optional and only required if you want to let users use the DefaultConfigurationFactory
class to instantiate your configuration. For example you could write:
...
Code Block | ||||
---|---|---|---|---|
| ||||
<cargo containerId="containerIdOfAssociatedContainer" [...]> <configuration class="package.to.MyCustomConfiguration" type="standalone"> [...] |
...
Maven 3 Plugin
Use the implementation
element under the configuration
element. For example:
...