public class DefaultPluginManager extends Object implements org.pentaho.platform.api.engine.IPluginManager
Constructor and Description |
---|
DefaultPluginManager() |
Modifier and Type | Method and Description |
---|---|
org.pentaho.platform.api.action.IAction |
getAction(String type,
String perspectiveName) |
Object |
getBean(String beanId) |
Object |
getBean(String beanId,
Class<?> requiredType) |
org.springframework.beans.factory.ListableBeanFactory |
getBeanFactory(String pluginId) |
ClassLoader |
getClassLoader(org.pentaho.platform.api.engine.IPlatformPlugin plugin) |
ClassLoader |
getClassLoader(String pluginId) |
org.pentaho.platform.api.engine.IContentGenerator |
getContentGenerator(String type,
String perspectiveName) |
org.pentaho.platform.api.engine.IContentGenerator |
getContentGeneratorForType(String type,
org.pentaho.platform.api.engine.IPentahoSession session)
Deprecated.
|
org.pentaho.platform.api.engine.IContentInfo |
getContentTypeInfo(String type) |
Set<String> |
getContentTypes() |
List<String> |
getExternalResourcesForContext(String context) |
List<org.pentaho.ui.xul.XulOverlay> |
getOverlays() |
String |
getPluginIdForClassLoader(ClassLoader classLoader) |
String |
getPluginIdForType(String contentType) |
List<String> |
getPluginRESTPerspectivesForId(String id) |
List<String> |
getPluginRESTPerspectivesForType(String contentType) |
Object |
getPluginSetting(org.pentaho.platform.api.engine.IPlatformPlugin plugin,
String key,
String defaultValue) |
Object |
getPluginSetting(String pluginId,
String key,
String defaultValue) |
List<String> |
getRegisteredPlugins() |
String |
getServicePlugin(String path)
Deprecated.
|
InputStream |
getStaticResource(String path)
Deprecated.
|
boolean |
isBeanRegistered(String beanId) |
boolean |
isPublic(String pluginId,
String path) |
boolean |
isStaticResource(String path)
Deprecated.
|
Class<?> |
loadClass(String beanId) |
boolean |
reload() |
boolean |
reload(org.pentaho.platform.api.engine.IPentahoSession session)
Deprecated.
|
void |
unloadAllPlugins() |
public Set<String> getContentTypes()
getContentTypes
in interface org.pentaho.platform.api.engine.IPluginManager
public List<org.pentaho.ui.xul.XulOverlay> getOverlays()
getOverlays
in interface org.pentaho.platform.api.engine.IPluginManager
public org.pentaho.platform.api.engine.IContentInfo getContentTypeInfo(String type)
getContentTypeInfo
in interface org.pentaho.platform.api.engine.IPluginManager
public List<String> getRegisteredPlugins()
getRegisteredPlugins
in interface org.pentaho.platform.api.engine.IPluginManager
@Deprecated public final boolean reload(org.pentaho.platform.api.engine.IPentahoSession session)
reload
in interface org.pentaho.platform.api.engine.IPluginManager
public final boolean reload()
reload
in interface org.pentaho.platform.api.engine.IPluginManager
public ClassLoader getClassLoader(org.pentaho.platform.api.engine.IPlatformPlugin plugin)
public ClassLoader getClassLoader(String pluginId)
getClassLoader
in interface org.pentaho.platform.api.engine.IPluginManager
public org.springframework.beans.factory.ListableBeanFactory getBeanFactory(String pluginId)
getBeanFactory
in interface org.pentaho.platform.api.engine.IPluginManager
public Object getBean(String beanId) throws org.pentaho.platform.api.engine.PluginBeanException
getBean
in interface org.pentaho.platform.api.engine.IPluginManager
org.pentaho.platform.api.engine.PluginBeanException
public org.pentaho.platform.api.engine.IContentGenerator getContentGenerator(String type, String perspectiveName)
getContentGenerator
in interface org.pentaho.platform.api.engine.IPluginManager
public org.pentaho.platform.api.action.IAction getAction(String type, String perspectiveName)
public Class<?> loadClass(String beanId) throws org.pentaho.platform.api.engine.PluginBeanException
loadClass
in interface org.pentaho.platform.api.engine.IPluginManager
org.pentaho.platform.api.engine.PluginBeanException
public boolean isBeanRegistered(String beanId)
isBeanRegistered
in interface org.pentaho.platform.api.engine.IPluginManager
public void unloadAllPlugins()
unloadAllPlugins
in interface org.pentaho.platform.api.engine.IPluginManager
public Object getPluginSetting(org.pentaho.platform.api.engine.IPlatformPlugin plugin, String key, String defaultValue)
public Object getPluginSetting(String pluginId, String key, String defaultValue)
getPluginSetting
in interface org.pentaho.platform.api.engine.IPluginManager
public String getPluginIdForType(String contentType)
getPluginIdForType
in interface org.pentaho.platform.api.engine.IPluginManager
@Deprecated public org.pentaho.platform.api.engine.IContentGenerator getContentGeneratorForType(String type, org.pentaho.platform.api.engine.IPentahoSession session) throws org.pentaho.platform.api.engine.ObjectFactoryException
getContentGeneratorForType
in interface org.pentaho.platform.api.engine.IPluginManager
org.pentaho.platform.api.engine.ObjectFactoryException
public String getPluginIdForClassLoader(ClassLoader classLoader)
getPluginIdForClassLoader
in interface org.pentaho.platform.api.engine.IPluginManager
@Deprecated public String getServicePlugin(String path)
getServicePlugin
in interface org.pentaho.platform.api.engine.IPluginManager
@Deprecated public boolean isStaticResource(String path)
isStaticResource
in interface org.pentaho.platform.api.engine.IPluginManager
public boolean isPublic(String pluginId, String path)
isPublic
in interface org.pentaho.platform.api.engine.IPluginManager
@Deprecated public InputStream getStaticResource(String path)
getStaticResource
in interface org.pentaho.platform.api.engine.IPluginManager
public List<String> getExternalResourcesForContext(String context)
getExternalResourcesForContext
in interface org.pentaho.platform.api.engine.IPluginManager
public List<String> getPluginRESTPerspectivesForType(String contentType)
getPluginRESTPerspectivesForType
in interface org.pentaho.platform.api.engine.IPluginManager