|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.blogentis.plugins.BlogPluginService
Field Summary | |
static java.lang.String |
PLUGIN_LIST
|
Constructor Summary | |
BlogPluginService()
|
Method Summary | |
static void |
deregisterExtensionPoint(Blog blog,
IBlogExtensionPoint point)
Remove a blog-specific extension point |
static void |
deregisterExtensionPoint(IExtensionPoint point)
Remove a global extension point. |
static java.util.Iterator |
getExtensionPoints(Blog blog)
Get the list of extension points supported by a blog. |
static IPluginService |
getInstance()
|
static java.util.Iterator |
getPlugins()
List the plugins in the order of their definition. |
static IBlogExtensionPoint |
locateExtensionPoint(Blog blog,
java.lang.Class name)
Locate an extension point that extends/implements the specified class. |
static IExtensionPoint |
locateExtensionPoint(java.lang.Class name)
Locate a global extension point that extends/implements the specified class. |
static void |
registerExtensionPoint(Blog blog,
IBlogExtensionPoint point)
Register a blog-specific extension point. |
static void |
registerExtensionPoint(IExtensionPoint point)
Register a global extension point. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String PLUGIN_LIST
Constructor Detail |
public BlogPluginService()
Method Detail |
public static IPluginService getInstance()
public static java.util.Iterator getPlugins()
public static void registerExtensionPoint(IExtensionPoint point)
point
- the global extension point to register.public static void deregisterExtensionPoint(IExtensionPoint point)
point
- the extension point to remove.public static void registerExtensionPoint(Blog blog, IBlogExtensionPoint point)
blog
- the blog that the extension point will apply.point
- the extension point that will be registered.public static void deregisterExtensionPoint(Blog blog, IBlogExtensionPoint point)
blog
- the blog that should contain the extension point.point
- the extension point to remove.public static IExtensionPoint locateExtensionPoint(java.lang.Class name)
name
-
public static IBlogExtensionPoint locateExtensionPoint(Blog blog, java.lang.Class name)
blog
- the blog to which the extension point will belong.name
-
public static java.util.Iterator getExtensionPoints(Blog blog)
blog
- the blog whose extension points to list.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |