org.xwiki.component.internal
Class WikiComponentManager

java.lang.Object
  extended by org.xwiki.component.internal.DelegateComponentManager
      extended by org.xwiki.component.internal.AbstractGenericComponentManager
          extended by org.xwiki.component.internal.WikiComponentManager
All Implemented Interfaces:
org.xwiki.component.manager.ComponentManager, org.xwiki.component.phase.Initializable

@Component(value="wiki")
public class WikiComponentManager
extends AbstractGenericComponentManager
implements org.xwiki.component.phase.Initializable

Proxy Component Manager that creates and queries individual Component Managers specific to the current wiki in the Execution Context. These Component Managers are created on the fly the first time a component is registered for the current wiki.

Since:
2.1RC1
Version:
$Id$

Constructor Summary
WikiComponentManager()
           
 
Method Summary
protected  java.lang.String getKey()
          
 void initialize()
          
 
Methods inherited from class org.xwiki.component.internal.AbstractGenericComponentManager
getComponentManager, getInternalParent, registerComponent, registerComponent, setInternalParent, unregisterComponent
 
Methods inherited from class org.xwiki.component.internal.DelegateComponentManager
getComponentDescriptor, getComponentDescriptorList, getComponentEventManager, getParent, hasComponent, hasComponent, lookup, lookup, lookupList, lookupMap, release, setComponentEventManager, setComponentManager, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WikiComponentManager

public WikiComponentManager()
Method Detail

initialize

public void initialize()
                throws org.xwiki.component.phase.InitializationException

Specified by:
initialize in interface org.xwiki.component.phase.Initializable
Throws:
org.xwiki.component.phase.InitializationException
See Also:
Initializable.initialize()

getKey

protected java.lang.String getKey()

Specified by:
getKey in class AbstractGenericComponentManager
Returns:
the key (any String) representing the current Component Manager. For example in the case of a User Component Manager the key can be the current user in the execution context so that we can register/lookup components only for that user
See Also:
AbstractGenericComponentManager.getKey()


Copyright © 2004-2011 XWiki. All Rights Reserved.