| java.lang.Object com.sun.jbi.binding.file.FileBindingBootstrap
FileBindingBootstrap | public class FileBindingBootstrap 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 deregistration of the extension MBean, if applicable. | 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 File Binding . | public void | onUninstall() Called at the beginning of uninstallation of FileBinding . |
FileBindingBootstrap | public FileBindingBootstrap()(Code) | | Creates a new instance of FileBindingBootstrap.
|
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) | | 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 File Binding . For this file
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 FileBinding . For this file
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. |
|
|