| java.lang.Object feederengine.CSVFeederEngineBootstrap
CSVFeederEngineBootstrap | public class CSVFeederEngineBootstrap implements Bootstrap(Code) | | Implemented by a SE 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 BPE to terminate the installation or
uninstallation in the event of an error.
author: Nilesh |
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 BPE. | public void | init(InstallationContext installContext) Called to initialize the BPE bootstrap. | public void | onInstall() Called at the beginning of installation of StockQuoteEngine. | public void | onUninstall() Called at the beginning of uninstallation of StockQuoteEngine. |
CSVFeederEngineBootstrap | public CSVFeederEngineBootstrap()(Code) | | Creates a new instance of StockQuoteEngineBootstrap
|
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 BPE. 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 BPE bootstrap.
Parameters: installContext - is the context containing information from theinstall command and from the BPE 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 StockQuoteEngine. For this
sample engine, 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 StockQuoteEngine. For this
sample engine, 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. |
|
|