org.xwiki.component.wiki.internal
Class DefaultWikiComponentManager
java.lang.Object
org.xwiki.component.wiki.internal.DefaultWikiComponentManager
- All Implemented Interfaces:
- WikiComponentManager
@Component
@Singleton
public class DefaultWikiComponentManager
- extends Object
- implements WikiComponentManager
Default implementation of WikiComponentManager
. Creates proxy objects which method invocation handler keeps a
reference on a set of declared method and associated wiki content to "execute".
- Since:
- 4.2M3
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultWikiComponentManager
public DefaultWikiComponentManager()
registerWikiComponent
public void registerWikiComponent(WikiComponent component)
throws WikiComponentException
- Description copied from interface:
WikiComponentManager
- Registers the passed component against the underlying component repository.
- Specified by:
registerWikiComponent
in interface WikiComponentManager
- Parameters:
component
- the component to register
- Throws:
WikiComponentException
- when failed to register the component against the CM
unregisterWikiComponents
public void unregisterWikiComponents(DocumentReference reference)
throws WikiComponentException
- Description copied from interface:
WikiComponentManager
- Unregisters the wiki component(s) associated with the passed reference.
- Specified by:
unregisterWikiComponents
in interface WikiComponentManager
- Parameters:
reference
- the reference to the document holding the component to unregister
- Throws:
WikiComponentException
- when failed to unregister the component from the CM.