|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pentaho.platform.plugin.services.pluginmgr.AbstractPluginManager
public abstract class AbstractPluginManager
This class implements the boilerplate plugin indexing code that any IPluginManager
implementation would have to support. It helps cut the noise out of the subclass that
handles plugin registration.
Constructor Summary | |
---|---|
AbstractPluginManager()
|
Method Summary | |
---|---|
IContentGenerator |
getContentGenerator(java.lang.String id,
IPentahoSession session)
|
IContentGenerator |
getContentGeneratorForType(java.lang.String type,
IPentahoSession session)
|
java.lang.String |
getContentGeneratorIdForType(java.lang.String type,
IPentahoSession session)
|
IContentGeneratorInfo |
getContentGeneratorInfo(java.lang.String id,
IPentahoSession session)
|
java.util.List<IContentGeneratorInfo> |
getContentGeneratorInfoForType(java.lang.String type,
IPentahoSession session)
Returns a list of info objects that can be used to create content generators for a given type. |
java.lang.String |
getContentGeneratorTitleForType(java.lang.String type,
IPentahoSession session)
|
java.lang.String |
getContentGeneratorUrlForType(java.lang.String type,
IPentahoSession session)
|
IContentInfo |
getContentInfoFromExtension(java.lang.String extension,
IPentahoSession session)
|
java.util.Set<java.lang.String> |
getContentTypes()
Returns a set of the content types that the registered plugins can process. |
IContentGeneratorInfo |
getDefaultContentGeneratorInfoForType(java.lang.String type,
IPentahoSession session)
|
java.util.List<java.lang.String> |
getExternalResourcesForContext(java.lang.String context)
Return a List of scripts registered for a given context. |
java.util.List<org.pentaho.ui.xul.IMenuCustomization> |
getMenuCustomizations()
Returns a list of menu customization objects. |
java.util.List<org.pentaho.ui.xul.XulOverlay> |
getOverlays()
Returns a list of the XUL overlays that are defined by all the plug-ins. |
java.util.List<java.lang.String> |
getRegisteredPlugins()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.pentaho.platform.api.engine.IPluginManager |
---|
getBean, getClassLoader, getClassLoader, getFileInfo, getPluginSetting, getPluginSetting, getServicePlugin, getStaticResource, isBeanRegistered, isResourceLoadable, isStaticResource, loadClass, reload, unloadAllPlugins |
Constructor Detail |
---|
public AbstractPluginManager()
Method Detail |
---|
public java.util.Set<java.lang.String> getContentTypes()
IPluginManager
getContentTypes
in interface IPluginManager
public java.util.List<org.pentaho.ui.xul.XulOverlay> getOverlays()
IPluginManager
getOverlays
in interface IPluginManager
public IContentInfo getContentInfoFromExtension(java.lang.String extension, IPentahoSession session)
getContentInfoFromExtension
in interface IPluginManager
public java.util.List<IContentGeneratorInfo> getContentGeneratorInfoForType(java.lang.String type, IPentahoSession session)
IPluginManager
getContentGeneratorInfoForType
in interface IPluginManager
session
- A session used for storing objects from session-scoped factories
public IContentGenerator getContentGenerator(java.lang.String id, IPentahoSession session) throws ObjectFactoryException
getContentGenerator
in interface IPluginManager
ObjectFactoryException
public IContentGeneratorInfo getContentGeneratorInfo(java.lang.String id, IPentahoSession session)
getContentGeneratorInfo
in interface IPluginManager
public IContentGeneratorInfo getDefaultContentGeneratorInfoForType(java.lang.String type, IPentahoSession session)
getDefaultContentGeneratorInfoForType
in interface IPluginManager
public java.lang.String getContentGeneratorIdForType(java.lang.String type, IPentahoSession session)
getContentGeneratorIdForType
in interface IPluginManager
public java.lang.String getContentGeneratorTitleForType(java.lang.String type, IPentahoSession session)
getContentGeneratorTitleForType
in interface IPluginManager
public java.lang.String getContentGeneratorUrlForType(java.lang.String type, IPentahoSession session)
getContentGeneratorUrlForType
in interface IPluginManager
public IContentGenerator getContentGeneratorForType(java.lang.String type, IPentahoSession session) throws ObjectFactoryException
getContentGeneratorForType
in interface IPluginManager
ObjectFactoryException
public java.util.List<org.pentaho.ui.xul.IMenuCustomization> getMenuCustomizations()
IPluginManager
getMenuCustomizations
in interface IPluginManager
public java.util.List<java.lang.String> getRegisteredPlugins()
getRegisteredPlugins
in interface IPluginManager
public java.util.List<java.lang.String> getExternalResourcesForContext(java.lang.String context)
IPluginManager
getExternalResourcesForContext
in interface IPluginManager
context
- named area in the platform
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |