public class YAAFIContainer extends org.apache.avalon.framework.logger.AbstractLogEnabled implements Container
COMPONENT_APP_ROOT, URN_AVALON_HOME, URN_AVALON_TEMP| Constructor and Description |
|---|
YAAFIContainer()
Constructor.
|
YAAFIContainer(int logLevel)
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 implementing the Component interface.
|
void |
release(Object component)
Releases the component.
|
void |
startup(String configFileName,
String roleFileName,
String parametersFileName)
Starts up the container and initializes it.
|
public YAAFIContainer()
public YAAFIContainer(int logLevel)
logLevel - the log level to be usedpublic 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.