org.apache.fulcrum.testcontainer
Interface Container

All Superinterfaces:
org.apache.avalon.framework.activity.Disposable, org.apache.avalon.framework.activity.Initializable
All Known Implementing Classes:
ECMContainer, YAAFIContainer

public interface Container
extends org.apache.avalon.framework.activity.Initializable, org.apache.avalon.framework.activity.Disposable

This is a simple interface around the ECM and Yaafi containers

Author:
Eric Pugh

Field Summary
static java.lang.String COMPONENT_APP_ROOT
          Key used in the context for defining the application root
static java.lang.String URN_AVALON_HOME
          Alternate Merlin Friendly Key used in the context for defining the application root
static java.lang.String URN_AVALON_TEMP
          Alternate Merlin Friendly Key used in the context for defining the application root
 
Method Summary
 java.lang.Object lookup(java.lang.String roleName)
           
 void release(java.lang.Object component)
           
 void startup(java.lang.String configFileName, java.lang.String roleFileName, java.lang.String parametersFileName)
           
 
Methods inherited from interface org.apache.avalon.framework.activity.Initializable
initialize
 
Methods inherited from interface org.apache.avalon.framework.activity.Disposable
dispose
 

Field Detail

COMPONENT_APP_ROOT

static final java.lang.String COMPONENT_APP_ROOT
Key used in the context for defining the application root

See Also:
Constant Field Values

URN_AVALON_HOME

static final java.lang.String URN_AVALON_HOME
Alternate Merlin Friendly Key used in the context for defining the application root

See Also:
Constant Field Values

URN_AVALON_TEMP

static final java.lang.String URN_AVALON_TEMP
Alternate Merlin Friendly Key used in the context for defining the application root

See Also:
Constant Field Values
Method Detail

startup

void startup(java.lang.String configFileName,
             java.lang.String roleFileName,
             java.lang.String parametersFileName)

lookup

java.lang.Object lookup(java.lang.String roleName)
                        throws org.apache.avalon.framework.component.ComponentException
Throws:
org.apache.avalon.framework.component.ComponentException

release

void release(java.lang.Object component)


Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.