public class MPlugin extends MBaseComponent
m_registry
Modifier | Constructor and Description |
---|---|
protected |
MPlugin(MApp app,
java.lang.String pluginname,
MProperties properties)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
MApp |
getApp()
Return the MApp application manager associated with this
MPlugin class |
java.lang.String |
getProperty(java.lang.String prop)
Return the property associated with this
MPlugin . |
void |
loadPluginClass()
The SDK calls this method once for each plug-in class defined in
TIBCO Repository.
|
void |
onInitialization()
This method performs plug-in specified initialization.
|
void |
onTermination()
Performs plug-in specified shutdown.
|
activate, deactivate, getComponentRegistry, getName, getStatus, isActivated, remove
protected MPlugin(MApp app, java.lang.String pluginname, MProperties properties)
app
- MApp
application manager associated with this MPlugin
class.pluginname
- Name of this MPlugin
instance.properties
- Application-defined properties for this MPlugin
instance.public MApp getApp()
MPlugin
classpublic java.lang.String getProperty(java.lang.String prop)
MPlugin
.public void loadPluginClass() throws MException
MException
public void onInitialization() throws MException
MApp.start()
after MApp.onInitialization()
has been called.MException
- Subclass can throw any appropriate exceptiononTermination()
public void onTermination() throws MException
MApp.stop()
and before MApp.onTermination()
is called.MException
- Subclass can throw any appropriate exceptiononInitialization()