|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.turbine.services.BaseInitable
org.apache.turbine.services.BaseService
org.apache.turbine.services.TurbineBaseService
net.sourceforge.blogentis.plugins.impl.BlogPluginServiceImpl
| Field Summary |
| Fields inherited from class org.apache.turbine.services.BaseService |
configuration, name, serviceBroker |
| Fields inherited from class org.apache.turbine.services.BaseInitable |
initableBroker, isInitialized |
| Fields inherited from interface net.sourceforge.blogentis.plugins.IPluginService |
SERVICE_NAME |
| Fields inherited from interface org.apache.turbine.services.Service |
SERVICE_NAME |
| Constructor Summary | |
BlogPluginServiceImpl()
|
|
| 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. |
void |
init()
|
IBlogExtensionPoint |
locateExtensionPoint(Blog blog,
java.lang.Class className)
Locate the first extension point that has the specified class in the extension point list of the blog. |
IExtensionPoint |
locateExtensionPoint(java.lang.Class className)
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. |
void |
shutdown()
|
| Methods inherited from class org.apache.turbine.services.TurbineBaseService |
init, init, init |
| Methods inherited from class org.apache.turbine.services.BaseService |
getConfiguration, getName, getProperties, getServiceBroker, setName, setServiceBroker |
| Methods inherited from class org.apache.turbine.services.BaseInitable |
getInit, getInitableBroker, setInit, setInitableBroker |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.turbine.services.Initable |
getInit, setInitableBroker |
| Constructor Detail |
public BlogPluginServiceImpl()
| Method Detail |
public void init()
init in interface org.apache.turbine.services.Initablepublic void shutdown()
shutdown in interface org.apache.turbine.services.Initablepublic java.util.Iterator getPlugins()
getPlugins in interface IPluginServicepublic void registerExtensionPoint(IExtensionPoint point)
registerExtensionPoint in interface IPluginServicepoint - the global extension point to register.public void deregisterExtensionPoint(IExtensionPoint point)
deregisterExtensionPoint in interface IPluginServicepoint - the extension point to remove.
public void registerExtensionPoint(Blog blog,
IBlogExtensionPoint point)
registerExtensionPoint in interface IPluginServiceblog - the blog that the extension point will apply.point - the extension point that will be registered.
public void deregisterExtensionPoint(Blog blog,
IBlogExtensionPoint point)
deregisterExtensionPoint in interface IPluginServiceblog - the blog that should contain the extension point.point - the extension point to remove.public IExtensionPoint locateExtensionPoint(java.lang.Class className)
IPluginService
locateExtensionPoint in interface IPluginServiceclassName - the class of the extension point
public IBlogExtensionPoint locateExtensionPoint(Blog blog,
java.lang.Class className)
IPluginService
locateExtensionPoint in interface IPluginServiceblog - the blog that will be searched for the extension point.className - the class of the extension point.
public void reloadExtensionPointsForBlog(Blog blog)
IPluginService
reloadExtensionPointsForBlog in interface IPluginServiceblog - the blog to reload the plugins.public java.util.Iterator getExtensionPoints(Blog blog)
IPluginService
getExtensionPoints in interface IPluginServiceblog -
public IPrefs getPreferencesFor(Blog blog,
java.lang.Class extensionClass)
IPluginService
getPreferencesFor in interface IPluginServiceblog - 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 | ||||||||||