| java.lang.Object com.sun.jbi.binding.jms.JMSBindingBootstrap
JMSBindingBootstrap | public class JMSBindingBootstrap implements Bootstrap(Code) | | The bootstrap class is invoked by the JBI run time during installation of
the binding. The JMS binding reads the config file information and checks
for the validity of the information in the config file. It then loads this
config information and allows the installation to complete. During
uninstallation any resource held up by the binding is freed.
author: Sun Microsystems Inc. |
Constructor Summary | |
public | JMSBindingBootstrap() Creates a new instance of JMSBindingBootstrap. |
Method Summary | |
public void | cleanUp() Cleans up any resources allocated by the bootstrap implementation,
including deregistration of the extension MBean, if applicable. | public javax.management.ObjectName | getExtensionMBeanName() Obtains the optional installer configuration MBean ObjectName. | public void | init(InstallationContext installContext) Initializes the installation environment for a BC. | public void | onInstall() Called at the beginning of installation of JMS Binding . | public void | onUninstall() Called at the beginning of uninstallation of JMSBinding . |
JMSBindingBootstrap | public JMSBindingBootstrap()(Code) | | Creates a new instance of JMSBindingBootstrap.
|
cleanUp | public void cleanUp() throws javax.jbi.JBIException(Code) | | Cleans up any resources allocated by the bootstrap implementation,
including deregistration of the extension MBean, if applicable. This
method will be called after the onInstall() or onUninstall() method is
called, whether it succeeds or fails.
throws: javax.jbi.JBIException - when cleanup processing fails to completesuccessfully. |
getExtensionMBeanName | public javax.management.ObjectName getExtensionMBeanName()(Code) | | Obtains the optional installer configuration MBean ObjectName. If none
is provided by this BC, returns null.
ObjectName which represents the MBean registered by the init()method. If none was registered, returns null. |
init | public void init(InstallationContext installContext) throws javax.jbi.JBIException(Code) | | Initializes the installation environment for a BC. This method is
expected to save any information from the installation context that may
be needed by other methods.
Parameters: installContext - is the context containing information from theinstall command and from the BC jar file. throws: javax.jbi.JBIException - when there is an error requiring that theinstallation be terminated. |
onInstall | public void onInstall() throws javax.jbi.JBIException(Code) | | Called at the beginning of installation of JMS Binding . For this jms
binding, all the required installation tasks have been taken care by
the InstallationService.
throws: javax.jbi.JBIException - when there is an error requiring that theinstallation be terminated. |
onUninstall | public void onUninstall() throws javax.jbi.JBIException(Code) | | Called at the beginning of uninstallation of JMSBinding . For this jms
binding, all the required uninstallation tasks have been taken care of
by the InstallationService.
throws: javax.jbi.JBIException - when there is an error requiring that theuninstallation be terminated. |
|
|