com.xpn.xwiki.test
Class XWikiComponentInitializer

java.lang.Object
  extended by com.xpn.xwiki.test.XWikiComponentInitializer

public class XWikiComponentInitializer
extends java.lang.Object


Constructor Summary
XWikiComponentInitializer()
           
 
Method Summary
 org.xwiki.component.manager.ComponentManager getComponentManager()
           
 void initialize()
           
 void shutdown()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XWikiComponentInitializer

public XWikiComponentInitializer()
Method Detail

initialize

public void initialize()
                throws java.lang.Exception
Throws:
java.lang.Exception

shutdown

public void shutdown()
              throws java.lang.Exception
Throws:
java.lang.Exception

getComponentManager

public org.xwiki.component.manager.ComponentManager getComponentManager()
                                                                 throws java.lang.Exception
Returns:
a configured Component Manager (which uses the plexus.xml file in the test resources directory) which can then be put in the XWiki Context for testing.
Throws:
java.lang.Exception


Copyright © 2004-2008 XWiki. All Rights Reserved.