public interface ExtensionListener2 extends ExtensionListener
CommonObjects
element in the extension.xml file. New extensions should implement ExtensionDelegate
instead of this
interface.ExtensionDelegate
Modifier and Type | Method and Description |
---|---|
void |
extensionObjectChanged(ExtensionObjectEvent event,
SystemSession systemSession)
Called when an extension object has been updated.
|
void |
shutdownExtension(ShutdownContext shutdownContext)
Called at application shutdown to allow an extension to tidy up its global state, deallocate
any system resources etc.
|
void |
startupExtension(StartupContext startupContext)
Called at application startup when the extension is first loaded to allow an extension to
initialise its global state, process command line arguments, allocate necessary resources etc.
|
extensionObjectConstructed
void startupExtension(StartupContext startupContext)
Note that if the method processes command line arguments it should notify the context using
the notifyCommandLineArgumentHandled()
method. If this does not happen, the application
will assume that an argument is invalid and may abort.
startupContext
- the startup context for the applicationStartupContext.notifyCommandLineArgumentHandled(String)
void shutdownExtension(ShutdownContext shutdownContext)
shutdownContext
- the context in which the application is being shutdownvoid extensionObjectChanged(ExtensionObjectEvent event, SystemSession systemSession)
event
- the event object that describes the changesystemSession
- the session that associated with the extension objectCopyright © 2014 Integral Solutions Ltd. All Rights Reserved.