|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IPlatformPlugin
This interface represents the contract for the specification of a plugin.
A IPluginProvider is responsible for serving these to requesting
clients, such as the IPluginManager. The presence of an instance
of an IPlatformPlugin does not necessarily mean that the plugin
is loaded. An implementations of this interface represents merely a
plugin configuration.
| Nested Class Summary | |
|---|---|
static class |
IPlatformPlugin.ClassLoaderType
|
| Method Summary | |
|---|---|
void |
addLifecycleListener(IPluginLifecycleListener listener)
Registers a lifecycle listener with this plugin. |
java.util.Collection<PluginBeanDefinition> |
getBeans()
Returns a list of bean configurations for this plugin-in |
java.util.List<IContentGeneratorInfo> |
getContentGenerators()
Returns the list of content generators for this plug-in |
java.util.List<IContentInfo> |
getContentInfos()
Returns a list of content info objects for this plug-in |
java.util.List<java.lang.String> |
getExternalResourcesForContext(java.lang.String context)
Return a List of scripts registered for a given context. |
java.lang.String |
getId()
Returns the unique ID of this plugin |
java.lang.String |
getLifecycleListenerClassname()
Returns the fully qualified name of the lifecycle listener class defined by this plugin. |
IPlatformPlugin.ClassLoaderType |
getLoaderType()
Indicates what kind of classloader should be used to load classes and resources from this plugin. |
java.util.List |
getMenuCustomizations()
Returns a list of menu overlays for this plug-in |
java.util.Map<java.lang.String,java.lang.String> |
getMetaProviderMap()
The storage mechanism for a plugin to know what ISolutionFileMetaProvider class should be used for a particular content type. |
java.util.List<org.pentaho.ui.xul.XulOverlay> |
getOverlays()
Returns a list of overlays for this plug-in |
java.util.Collection<PluginServiceDefinition> |
getServices()
Returns the list of the webservices defined by this plugin. |
java.lang.String |
getSourceDescription()
A short description of where this plugin came from, e.g. |
java.util.Map<java.lang.String,java.lang.String> |
getStaticResourceMap()
Returns a list of static resource paths for this plugin-in |
void |
init()
Called just prior to the plugin being registered with the platform. |
void |
loaded()
Called after the plugin has been registered with the platform, i.e. |
void |
unLoaded()
Called when the plugin needs to be unloaded. |
| Method Detail |
|---|
java.lang.String getId()
java.lang.String getSourceDescription()
java.util.List<IContentGeneratorInfo> getContentGenerators()
java.util.List<org.pentaho.ui.xul.XulOverlay> getOverlays()
java.util.List<IContentInfo> getContentInfos()
java.util.Collection<PluginBeanDefinition> getBeans()
java.util.Map<java.lang.String,java.lang.String> getStaticResourceMap()
java.util.List getMenuCustomizations()
java.lang.String getLifecycleListenerClassname()
IPluginLifecycleListener.
void addLifecycleListener(IPluginLifecycleListener listener)
listener - a lifecycle listener
void init()
throws PluginLifecycleException
IPluginLifecycleListenerIPluginProviders
init in interface IPluginLifecycleListenerPluginLifecycleException - if an error occurred
void loaded()
throws PluginLifecycleException
IPluginLifecycleListener
loaded in interface IPluginLifecycleListenerPluginLifecycleException - if an error occurred
void unLoaded()
throws PluginLifecycleException
IPluginLifecycleListener
unLoaded in interface IPluginLifecycleListenerPluginLifecycleException - if an error occurredjava.util.Map<java.lang.String,java.lang.String> getMetaProviderMap()
java.util.Collection<PluginServiceDefinition> getServices()
IPlatformPlugin.ClassLoaderType getLoaderType()
URLClassLoader.
IPlatformPlugin.ClassLoaderTypejava.util.List<java.lang.String> getExternalResourcesForContext(java.lang.String context)
context - named area in the platform
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||