| java.lang.Object com.sun.jbi.binding.proxy.ProxyBindingBootstrap
ProxyBindingBootstrap | public class ProxyBindingBootstrap implements Bootstrap(Code) | | Implemented by a BC Component (BC) to provide any special processing
required at install/uninstall time. Things such as creation/deletion of
directories, files, database tables could be done by the onInstall() and
onUninstall() methods, respectively. Also allows the BC to terminate the
installation or uninstallation in the event of an error.
author: Sun Microsystems, Inc |
Method Summary | |
public void | cleanUp() Cleans up any resources allocated by the bootstrap implementation,
including performing deregistration of the extension MBean, if
applicable.
This method must be called after the onInstall() or onUninstall() method
is called, whether it succeeds or fails. | public javax.management.ObjectName | getExtensionMBeanName() Get the JMX ObjectName for the optional installation configuration MBean
for this BC. | public void | init(InstallationContext installContext) Called to initialize the BC bootstrap. | public void | onInstall() Called at the beginning of installation of Proxy Binding . | public void | onUninstall() Called at the beginning of uninstallation of ProxyBinding . |
ProxyBindingBootstrap | public ProxyBindingBootstrap()(Code) | | Creates a new instance of ProxyBindingBootstrap.
|
cleanUp | public void cleanUp() throws javax.jbi.JBIException(Code) | | Cleans up any resources allocated by the bootstrap implementation,
including performing deregistration of the extension MBean, if
applicable.
This method must be called after the onInstall() or onUninstall() method
is called, whether it succeeds or fails. It must be called after
init() is called, if init() fails by throwing an exception.
exception: JBIException - if the bootstrap cannot clean up allocatedresources |
getExtensionMBeanName | public javax.management.ObjectName getExtensionMBeanName()(Code) | | Get the JMX ObjectName for the optional installation configuration MBean
for this BC. If there is none, the value is null.
ObjectName the JMX object name of the installation configurationMBean or null if there is no MBean. |
init | public void init(InstallationContext installContext) throws javax.jbi.JBIException(Code) | | Called to initialize the BC bootstrap.
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 Proxy Binding . For the Proxy
Binding there is nothing to do.
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 ProxyBinding . For the Proxy
Binding there is nothing to do.
throws: javax.jbi.JBIException - when there is an error requiring that theuninstallation be terminated. |
|
|