|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.fulcrum.testcontainer.ECMContainer
public class ECMContainer
This is a simple ECM based container that can be used in unit test of the fulcrum components.
| Field Summary |
|---|
| Fields inherited from interface org.apache.fulcrum.testcontainer.Container |
|---|
COMPONENT_APP_ROOT, URN_AVALON_HOME, URN_AVALON_TEMP |
| Constructor Summary | |
|---|---|
ECMContainer()
Constructor |
|
| Method Summary | |
|---|---|
void |
dispose()
Disposes of the container and releases resources |
void |
initialize()
Initializes the container |
Object |
lookup(String roleName)
Returns an instance of the named component |
void |
release(org.apache.avalon.framework.component.Component component)
Releases the component |
void |
release(Object component)
|
void |
startup(String configFileName,
String roleFileName,
String parametersFileName)
Starts up the container and initializes it. |
| Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled |
|---|
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ECMContainer()
| Method Detail |
|---|
public void startup(String configFileName,
String roleFileName,
String parametersFileName)
startup in interface ContainerconfigFileName - Name of the component configuration fileroleFileName - Name of the role configuration file
public void initialize()
throws Exception
initialize in interface org.apache.avalon.framework.activity.InitializableException - generic exceptionpublic void dispose()
dispose in interface org.apache.avalon.framework.activity.Disposable
public Object lookup(String roleName)
throws org.apache.avalon.framework.component.ComponentException
lookup in interface ContainerroleName - Name of the role the component fills.
org.apache.avalon.framework.component.ComponentException - generic exceptionpublic void release(org.apache.avalon.framework.component.Component component)
component - public void release(Object component)
release in interface Container
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||