|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The PluginService instance will implement this interface.
Field Summary | |
static java.lang.String |
SERVICE_NAME
|
Method Summary | |
void |
deregisterExtensionPoint(Blog blog,
IBlogExtensionPoint point)
Remove a blog-specific extension point |
void |
deregisterExtensionPoint(IExtensionPoint point)
Remove a global extension point. |
java.util.Iterator |
getExtensionPoints(Blog blog)
Get an Iterator over the extension points active for a blog. |
java.util.Iterator |
getPlugins()
List the plugins in the order of their definition. |
IPrefs |
getPreferencesFor(Blog blog,
java.lang.Class extensionClass)
Get the preferences object. |
IBlogExtensionPoint |
locateExtensionPoint(Blog blog,
java.lang.Class name)
Locate the first extension point that has the specified class in the extension point list of the blog. |
IExtensionPoint |
locateExtensionPoint(java.lang.Class name)
Locate the specified extension point in the global extension point list |
void |
registerExtensionPoint(Blog blog,
IBlogExtensionPoint point)
Register a blog-specific extension point. |
void |
registerExtensionPoint(IExtensionPoint point)
Register a global extension point. |
void |
reloadExtensionPointsForBlog(Blog blog)
Causes the active plugins, extensions points and extensions for a blog to be recomputed. |
Field Detail |
public static final java.lang.String SERVICE_NAME
Method Detail |
public java.util.Iterator getPlugins()
public void registerExtensionPoint(IExtensionPoint point)
point
- the global extension point to register.public void deregisterExtensionPoint(IExtensionPoint point)
point
- the extension point to remove.public void registerExtensionPoint(Blog blog, IBlogExtensionPoint point)
blog
- the blog that the extension point will apply.point
- the extension point that will be registered.public void deregisterExtensionPoint(Blog blog, IBlogExtensionPoint point)
blog
- the blog that should contain the extension point.point
- the extension point to remove.public IExtensionPoint locateExtensionPoint(java.lang.Class name)
name
- the class of the extension point
public IBlogExtensionPoint locateExtensionPoint(Blog blog, java.lang.Class name)
blog
- the blog that will be searched for the extension point.name
- the class of the extension point.
public java.util.Iterator getExtensionPoints(Blog blog)
blog
-
public void reloadExtensionPointsForBlog(Blog blog)
blog
- the blog to reload the plugins.public IPrefs getPreferencesFor(Blog blog, java.lang.Class extensionClass)
blog
- the blog to search for.extensionClass
- the extension or extension point
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |