|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This service allows access to avalon components.
Field Summary | |
static java.lang.String |
AVALON_LOG_CATEGORY
Where we write the Avalon Logger messages |
static java.lang.String |
COMPONENT_APP_ROOT
Key used in the context for defining the application root |
static java.lang.String |
COMPONENT_CONFIG_KEY
property specifing file name of the component config file |
static java.lang.String |
COMPONENT_CONFIG_VALUE
property specifing file name of the component config file |
static java.lang.String |
COMPONENT_LOOKUP_KEY
property for the Components to look up |
static java.lang.String |
COMPONENT_ROLE_KEY
property specifing file name of the component role file |
static java.lang.String |
COMPONENT_ROLE_VALUE
property specifing file name of the component role file |
static java.lang.String |
SERVICE_NAME
The publically visible name of the service |
Method Summary | |
org.apache.avalon.framework.component.Component |
lookup(java.lang.String roleName)
Returns an instance of the named component |
void |
release(org.apache.avalon.framework.component.Component component)
Releases the component |
Methods inherited from interface org.apache.turbine.services.Service |
getConfiguration, getName, getProperties, setName, setServiceBroker |
Methods inherited from interface org.apache.turbine.services.Initable |
getInit, init, init, setInitableBroker, shutdown |
Field Detail |
public static final java.lang.String SERVICE_NAME
public static final java.lang.String AVALON_LOG_CATEGORY
public static final java.lang.String COMPONENT_CONFIG_KEY
public static final java.lang.String COMPONENT_CONFIG_VALUE
public static final java.lang.String COMPONENT_ROLE_KEY
public static final java.lang.String COMPONENT_ROLE_VALUE
public static final java.lang.String COMPONENT_LOOKUP_KEY
public static final java.lang.String COMPONENT_APP_ROOT
Method Detail |
public org.apache.avalon.framework.component.Component lookup(java.lang.String roleName) throws org.apache.avalon.framework.component.ComponentException
roleName
- 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
- the component to release
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |