Package org.apache.fulcrum.testcontainer
Klasse ECMContainer
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.fulcrum.testcontainer.ECMContainer
- Alle implementierten Schnittstellen:
org.apache.avalon.framework.activity.Disposable
,org.apache.avalon.framework.activity.Initializable
,org.apache.avalon.framework.logger.LogEnabled
,Container
public class ECMContainer
extends org.apache.avalon.framework.logger.AbstractLogEnabled
implements Container
This is a simple ECM based container that can be used in unit test
of the fulcrum components.
- Version:
- $Id$
- Autor:
- Quinton McCombs
-
Feldübersicht
Von Schnittstelle geerbte Felder org.apache.fulcrum.testcontainer.Container
COMPONENT_APP_ROOT, URN_AVALON_HOME, URN_AVALON_TEMP
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
dispose()
Disposes of the container and releases resourcesvoid
Initializes the containerReturns an instance of the named componentvoid
void
release
(org.apache.avalon.framework.component.Component component) Releases the componentvoid
Starts up the container and initializes it.Von Klasse geerbte Methoden org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
Konstruktordetails
-
ECMContainer
public ECMContainer()Constructor
-
-
Methodendetails
-
startup
Starts up the container and initializes it. -
initialize
Initializes the container- Angegeben von:
initialize
in Schnittstelleorg.apache.avalon.framework.activity.Initializable
- Löst aus:
Exception
- generic exception
-
dispose
public void dispose()Disposes of the container and releases resources- Angegeben von:
dispose
in Schnittstelleorg.apache.avalon.framework.activity.Disposable
-
lookup
public Object lookup(String roleName) throws org.apache.avalon.framework.component.ComponentException Returns an instance of the named component -
release
public void release(org.apache.avalon.framework.component.Component component) Releases the component- Parameter:
component
- instance of the component to release
-
release
-