|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
@Role public interface WikiComponentManager
A WikiComponentManager is responsible for registering and unregistering components that are defined as wiki pages.
Each WikiComponent managed by such manager is associated to a DocumentReference. The
referred document contains XObjects that define the role, hint and behavior (method bodies) of the component. This
document may also define requirements (other components to be binded in the method bodies execution context) and
possible extra interfaces (for example to implement org.xwiki.component.phase.Initializable).
| Method Summary | |
|---|---|
void |
registerWikiComponent(WikiComponent component)
Registers the passed component against the underlying component repository. |
void |
unregisterWikiComponents(DocumentReference reference)
Unregisters the wiki component(s) associated with the passed reference. |
| Method Detail |
|---|
void registerWikiComponent(WikiComponent component)
throws WikiComponentException
component - the component to register
WikiComponentException - when failed to register the component against the CM
void unregisterWikiComponents(DocumentReference reference)
throws WikiComponentException
reference - the reference to the document holding the component to unregister
WikiComponentException - when failed to unregister the component from the CM.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||