A requirement of the JBI/JSR208 is to allow the remote installation, deployment and management of Components. A prefered way of doing this is by Ant Tasks, that use the JMX interfaces exposed by the management of the Container.
h2 JbiTask
All ServiceMix Ant Tasks are derived from JbiTask - see JbiTask and share it'sattributes:
Attributes
Name |
type |
Description |
---|---|---|
serverProtocol |
String |
the default protcol used for connecting with the ServiceMix JMX MBeanServer (default is rmi) |
namingHost |
String |
hostname of the naming server (default is localhost) |
containerName |
String |
name of the ServiceMix JBI Container to connect to (default is defaultJBI) |
jmxDomainName |
String |
domain name of the MBeanServer used by the ServiceMix JBI Container (default is org.servicemix) |
namingPort |
int |
The port the naming server listens for connections on (default is 1099) |
jndiPath |
String |
The path in the naming server to retrieve the JMX Connection (default is /<container name>JMX) |
username |
String |
user name for the JMXConnection (default is "") |
passwd |
String |
passwd for the JMXConnection (default is "") |
AntTasks derived from JbiTask include:
- AssemblyDescriptorTask
- DeployedAssembiliesTask
- DeployedServiceUnitsTask
- InstallAssemblyTask
- InstallComponentTask
- InstallSharedLibraryTask
- ShutDownAssemblyTask
- ShutDownComponentTask
- StartAssemblyTask
- StartComponentTask
- StopAssemblyTask
- StopComponentTask
- UninstallAssemblyTask
- UninstallComponentTask
- UninstallSharedLibraryTask