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
|
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Disposes of the container and releases resources
|
void |
initialize()
Initializes the container
|
java.lang.Object |
lookup(java.lang.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(java.lang.Object component)
Releases the component
|
void |
startup(java.lang.String configFileName,
java.lang.String roleFileName,
java.lang.String parametersFileName)
Starts up the container and initializes it.
|
public void startup(java.lang.String configFileName, java.lang.String roleFileName, java.lang.String parametersFileName)
public void initialize() throws java.lang.Exception
initialize
in interface org.apache.avalon.framework.activity.Initializable
java.lang.Exception
- generic exceptionpublic void dispose()
dispose
in interface org.apache.avalon.framework.activity.Disposable
public java.lang.Object lookup(java.lang.String roleName) throws org.apache.avalon.framework.component.ComponentException
public void release(org.apache.avalon.framework.component.Component component)
component
- Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.