public class ECMContainer extends org.apache.avalon.framework.logger.AbstractLogEnabled implements Container
COMPONENT_APP_ROOT, URN_AVALON_HOME, URN_AVALON_TEMP| Constructor and Description |
|---|
ECMContainer()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public void startup(String configFileName, String roleFileName, String parametersFileName)
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.Disposablepublic Object lookup(String roleName) throws org.apache.avalon.framework.component.ComponentException
public void release(org.apache.avalon.framework.component.Component component)
component - instance of the component to releaseCopyright © 2004–2019 The Apache Software Foundation. All rights reserved.