|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AvalonComponentService
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 |
|---|
static final java.lang.String SERVICE_NAME
static final java.lang.String AVALON_LOG_CATEGORY
static final java.lang.String COMPONENT_CONFIG_KEY
static final java.lang.String COMPONENT_CONFIG_VALUE
static final java.lang.String COMPONENT_ROLE_KEY
static final java.lang.String COMPONENT_ROLE_VALUE
static final java.lang.String COMPONENT_LOOKUP_KEY
static final java.lang.String COMPONENT_APP_ROOT
| Method Detail |
|---|
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 exceptionvoid 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 | |||||||||