public class PlatformPlugin extends Object implements org.pentaho.platform.api.engine.IPlatformPlugin, org.pentaho.platform.api.engine.IPentahoInitializer
IPlatformPlugin| Constructor and Description |
|---|
PlatformPlugin() |
PlatformPlugin(org.springframework.beans.factory.support.DefaultListableBeanFactory defaultListableBeanFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
addBean(org.pentaho.platform.api.engine.PluginBeanDefinition beanDefinition) |
void |
addContentGenerator(org.pentaho.platform.api.engine.IContentGeneratorInfo contentGenerator)
Adds a content generator to this plug-in
|
void |
addContentInfo(org.pentaho.platform.api.engine.IContentInfo contentInfo)
Adds a content info type to this plug-in
|
void |
addExternalResource(String context,
String resource) |
void |
addInitializer(org.pentaho.platform.api.engine.IPentahoInitializer initializer)
Adds an initializer to this plug-in
|
void |
addLifecycleListener(org.pentaho.platform.api.engine.IPluginLifecycleListener listener) |
void |
addOverlay(org.pentaho.ui.xul.XulOverlay overlay)
Adds an overlay to this plug-in
|
void |
addPluginPerspective(org.pentaho.platform.api.engine.perspective.pojo.IPluginPerspective perspective) |
void |
addStaticResourcePath(String url,
String localFolder) |
void |
addWebservice(org.pentaho.platform.api.engine.PluginServiceDefinition serviceDefinition) |
org.springframework.beans.factory.support.DefaultListableBeanFactory |
getBeanFactory() |
Collection<org.pentaho.platform.api.engine.PluginBeanDefinition> |
getBeans() |
List<org.pentaho.platform.api.engine.IContentGeneratorInfo> |
getContentGenerators() |
List<org.pentaho.platform.api.engine.IContentInfo> |
getContentInfos() |
List<String> |
getExternalResourcesForContext(String context) |
String |
getId() |
String |
getLifecycleListenerClassname() |
org.pentaho.platform.api.engine.IPlatformPlugin.ClassLoaderType |
getLoaderType() |
Map<String,String> |
getMetaProviderMap() |
List<org.pentaho.ui.xul.XulOverlay> |
getOverlays() |
List<org.pentaho.platform.api.engine.perspective.pojo.IPluginPerspective> |
getPluginPerspectives() |
Collection<org.pentaho.platform.api.engine.PluginServiceDefinition> |
getServices() |
String |
getSourceDescription() |
Map<String,String> |
getStaticResourceMap() |
void |
init() |
void |
init(org.pentaho.platform.api.engine.IPentahoSession session) |
void |
loaded() |
void |
setId(String id)
Sets the unique id for this plug-in
|
void |
setLifecycleListenerClassname(String lifecycleListenerClassname) |
void |
setLoadertype(org.pentaho.platform.api.engine.IPlatformPlugin.ClassLoaderType loaderType) |
void |
setSourceDescription(String sourceDescription) |
void |
unLoaded() |
public PlatformPlugin()
public PlatformPlugin(org.springframework.beans.factory.support.DefaultListableBeanFactory defaultListableBeanFactory)
public void init(org.pentaho.platform.api.engine.IPentahoSession session)
init in interface org.pentaho.platform.api.engine.IPentahoInitializerpublic String getLifecycleListenerClassname()
getLifecycleListenerClassname in interface org.pentaho.platform.api.engine.IPlatformPluginpublic void setLifecycleListenerClassname(String lifecycleListenerClassname)
public List<org.pentaho.platform.api.engine.IContentGeneratorInfo> getContentGenerators()
getContentGenerators in interface org.pentaho.platform.api.engine.IPlatformPluginpublic List<org.pentaho.platform.api.engine.IContentInfo> getContentInfos()
getContentInfos in interface org.pentaho.platform.api.engine.IPlatformPluginpublic String getId()
getId in interface org.pentaho.platform.api.engine.IPlatformPluginpublic List<org.pentaho.ui.xul.XulOverlay> getOverlays()
getOverlays in interface org.pentaho.platform.api.engine.IPlatformPluginpublic List<org.pentaho.platform.api.engine.perspective.pojo.IPluginPerspective> getPluginPerspectives()
getPluginPerspectives in interface org.pentaho.platform.api.engine.IPlatformPluginpublic void setId(String id)
id - public void addInitializer(org.pentaho.platform.api.engine.IPentahoInitializer initializer)
initializer - public void addContentGenerator(org.pentaho.platform.api.engine.IContentGeneratorInfo contentGenerator)
contentGenerator - public void addContentInfo(org.pentaho.platform.api.engine.IContentInfo contentInfo)
contentInfo - public void addOverlay(org.pentaho.ui.xul.XulOverlay overlay)
overlay - public String getSourceDescription()
getSourceDescription in interface org.pentaho.platform.api.engine.IPlatformPluginpublic void setSourceDescription(String sourceDescription)
public Map<String,String> getStaticResourceMap()
getStaticResourceMap in interface org.pentaho.platform.api.engine.IPlatformPluginpublic Collection<org.pentaho.platform.api.engine.PluginBeanDefinition> getBeans()
getBeans in interface org.pentaho.platform.api.engine.IPlatformPluginpublic org.springframework.beans.factory.support.DefaultListableBeanFactory getBeanFactory()
getBeanFactory in interface org.pentaho.platform.api.engine.IPlatformPluginpublic Collection<org.pentaho.platform.api.engine.PluginServiceDefinition> getServices()
getServices in interface org.pentaho.platform.api.engine.IPlatformPluginpublic void addBean(org.pentaho.platform.api.engine.PluginBeanDefinition beanDefinition)
public void addWebservice(org.pentaho.platform.api.engine.PluginServiceDefinition serviceDefinition)
public void init()
throws org.pentaho.platform.api.engine.PluginLifecycleException
init in interface org.pentaho.platform.api.engine.IPlatformPlugininit in interface org.pentaho.platform.api.engine.IPluginLifecycleListenerorg.pentaho.platform.api.engine.PluginLifecycleExceptionpublic void loaded()
throws org.pentaho.platform.api.engine.PluginLifecycleException
loaded in interface org.pentaho.platform.api.engine.IPlatformPluginloaded in interface org.pentaho.platform.api.engine.IPluginLifecycleListenerorg.pentaho.platform.api.engine.PluginLifecycleExceptionpublic void unLoaded()
throws org.pentaho.platform.api.engine.PluginLifecycleException
unLoaded in interface org.pentaho.platform.api.engine.IPlatformPluginunLoaded in interface org.pentaho.platform.api.engine.IPluginLifecycleListenerorg.pentaho.platform.api.engine.PluginLifecycleExceptionpublic void addLifecycleListener(org.pentaho.platform.api.engine.IPluginLifecycleListener listener)
addLifecycleListener in interface org.pentaho.platform.api.engine.IPlatformPluginpublic Map<String,String> getMetaProviderMap()
getMetaProviderMap in interface org.pentaho.platform.api.engine.IPlatformPluginpublic org.pentaho.platform.api.engine.IPlatformPlugin.ClassLoaderType getLoaderType()
getLoaderType in interface org.pentaho.platform.api.engine.IPlatformPluginpublic void setLoadertype(org.pentaho.platform.api.engine.IPlatformPlugin.ClassLoaderType loaderType)
public List<String> getExternalResourcesForContext(String context)
getExternalResourcesForContext in interface org.pentaho.platform.api.engine.IPlatformPluginpublic void addPluginPerspective(org.pentaho.platform.api.engine.perspective.pojo.IPluginPerspective perspective)