|
||||||||||
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. |
Collection<PluginBeanDefinition> |
getBeans()
Returns a list of bean configurations for this plugin-in |
List<IContentGeneratorInfo> |
getContentGenerators()
Returns the list of content generators for this plug-in |
List<IContentInfo> |
getContentInfos()
Returns a list of content info objects for this plug-in |
List<String> |
getExternalResourcesForContext(String context)
Return a List of scripts registered for a given context. |
String |
getId()
Returns the unique ID of this plugin |
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. |
List |
getMenuCustomizations()
Returns a list of menu overlays for this plug-in |
Map<String,String> |
getMetaProviderMap()
The storage mechanism for a plugin to know what ISolutionFileMetaProvider class should be used for a particular content type. |
List<org.pentaho.ui.xul.XulOverlay> |
getOverlays()
Returns a list of overlays for this plug-in |
Collection<PluginServiceDefinition> |
getServices()
Returns the list of the webservices defined by this plugin. |
String |
getSourceDescription()
A short description of where this plugin came from, e.g. |
Map<String,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 |
---|
String getId()
String getSourceDescription()
List<IContentGeneratorInfo> getContentGenerators()
List<org.pentaho.ui.xul.XulOverlay> getOverlays()
List<IContentInfo> getContentInfos()
Collection<PluginBeanDefinition> getBeans()
Map<String,String> getStaticResourceMap()
List getMenuCustomizations()
String getLifecycleListenerClassname()
IPluginLifecycleListener
.
void addLifecycleListener(IPluginLifecycleListener listener)
listener
- a lifecycle listenervoid init() throws PluginLifecycleException
IPluginLifecycleListener
IPluginProvider
s
init
in interface IPluginLifecycleListener
PluginLifecycleException
- if an error occurredvoid loaded() throws PluginLifecycleException
IPluginLifecycleListener
loaded
in interface IPluginLifecycleListener
PluginLifecycleException
- if an error occurredvoid unLoaded() throws PluginLifecycleException
IPluginLifecycleListener
unLoaded
in interface IPluginLifecycleListener
PluginLifecycleException
- if an error occurredMap<String,String> getMetaProviderMap()
Collection<PluginServiceDefinition> getServices()
IPlatformPlugin.ClassLoaderType getLoaderType()
URLClassLoader
.
IPlatformPlugin.ClassLoaderType
List<String> getExternalResourcesForContext(String context)
context
- named area in the platform
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |