To
list or display macros,
use the following sis-console
commands or related MBean operations:
Console commands
listmacros
Command |
listmacros <ra-entity> List installed macros.
|
||
---|---|---|---|
Example |
To list macros installed in the SIS instance named $ ./sis-console listmacros sis MacroID[name=Example,vendor=ABC,version=1.0] MacroID[name=IsOriginating,vendor=ABC,version=1.0] MacroID[name=IsTerminating,vendor=ABC,version=1.0] |
dumpmacro
Command |
dumpmacro <ra-entity> <composition-id> [file] Dumps a macro to screen [or file].
|
||
---|---|---|---|
Example |
To dump the macro component with identifier $ ./sis-console dumpmacro sis name=Example,vendor=ABC,version=1.0 foo.xml Wrote macro MacroID[name=Example,vendor=ABC,version=1.0] to file foo.xml |
MBean operations
MBean |
---|
getMacros
Operation |
public MacroID[] getMacros() throws ManagementException;
|
---|
getMacro
Operation |
public String getMacro(MacroID id) throws NullPointerException, UnrecognizedComponentException, ManagementException;
|
---|