| com.jcorporate.expresso.kernel.Installable
Installable | public interface Installable (Code) | | This interface represents a component that needs to perform install/uninstall
work other than recieve straight configuration values. An example of this is a
Schema. All Schemas are installable, for example, because tables need to be created,
default security set up, etc. And these tables may need to be removed upon
uninstallation
author: Michael Rimov since: Expresso 5.1 |
Method Summary | |
public InstallationOptions | getInstallationOptions() This method is used to query the object for any Installation Options. | public InstallationOptions | getUninstallOptions() This method is used to query the Installable object for any uninstallation
options. | public void | install(InstallationOptions installOptions, InstallLog log) Called when the Service Manager installs this component
Parameters: log - A 'log4j-like' interface that allows you to output progressin the form of warnings, errors, info messages etc. | public void | uninstall(InstallationOptions installOptions, InstallLog uninstallLog) Called when the Service Manager uninstalls this component
Parameters: uninstallLog - A 'log4j-like' interface that allows you to output progressin the form of warnings, errors, info messages etc. |
getInstallationOptions | public InstallationOptions getInstallationOptions()(Code) | | This method is used to query the object for any Installation Options.
The implementing component may return null if there are no special options
for the job.
Created and filled out installation objects or null; |
getUninstallOptions | public InstallationOptions getUninstallOptions()(Code) | | This method is used to query the Installable object for any uninstallation
options. The implementing component may return null if there are no
special options for the job. Although the 'type' returned is the same, as
getInstallOptions(), obviously, their contents are not the same. :)
Created and filled out InstallationOptions object or null; |
install | public void install(InstallationOptions installOptions, InstallLog log) throws InstallationException(Code) | | Called when the Service Manager installs this component
Parameters: log - A 'log4j-like' interface that allows you to output progressin the form of warnings, errors, info messages etc. The underlying implementationis often not log4j. |
uninstall | public void uninstall(InstallationOptions installOptions, InstallLog uninstallLog) throws InstallationException(Code) | | Called when the Service Manager uninstalls this component
Parameters: uninstallLog - A 'log4j-like' interface that allows you to output progressin the form of warnings, errors, info messages etc. The underlying implementationis often not log4j. |
|
|