To
install a composition from a local file,
use the following sis-console
command, Ant task, or related MBean operations.
Console command
installcomposition
Command |
installcomposition <ra-entity> <file> Install a composition component from a file.
|
||
---|---|---|---|
Example |
To install composition $ ./sis-console installcomposition sis example-composition.xml Installed composition CompositionID[name=Example,vendor=ABC,version=1.0] from file example-composition.xml |
Ant task
installcomposition
Task |
<installcomposition file="..."/> |
---|---|
Example |
To install composition <sis-in-management> <installcomposition file="example-composition.xml"/> </sis-in-management> or <sis-sip-management> <installcomposition file="example-composition.xml"/> </sis-sip-management> |
MBean operations
MBean |
---|
install
Operation |
To install a composition from a URL: public CompositionID install(String url) throws NullPointerException, MalformedURLException, AlreadyDeployedException, DeploymentException, ManagementException;
|
---|
install
Operation |
To install a composition from a byte array: public CompositionID install(byte[] content) throws NullPointerException, AlreadyDeployedException, DeploymentException, ManagementException;
|
---|