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