org.apache.avalon.excalibur.container
Interface Container
- All Superinterfaces:
- org.apache.avalon.framework.component.Component
- All Known Implementing Classes:
- AbstractContainer
- public interface Container
- extends org.apache.avalon.framework.component.Component
This contains it during execution and may provide certain
facilities (like a thread per EJB etc).
- Author:
- Peter Donald
Field Summary |
static java.lang.String |
ROLE
|
Method Summary |
void |
add(java.lang.String name,
Entry entry)
Add a component instance to container. |
Entry |
getEntry(java.lang.String name)
Retrieve Entry from container |
java.lang.String[] |
list()
List all names of entries in container. |
void |
remove(java.lang.String name)
Remove a component instance from container. |
ROLE
public static final java.lang.String ROLE
add
public void add(java.lang.String name,
Entry entry)
throws ContainerException
- Add a component instance to container.
- Parameters:
entry
- the component entry
remove
public void remove(java.lang.String name)
throws ContainerException
- Remove a component instance from container.
- Parameters:
name
- the name of component
getEntry
public Entry getEntry(java.lang.String name)
throws ContainerException
- Retrieve Entry from container
- Parameters:
name
- the name of entry- Returns:
- the entry
list
public java.lang.String[] list()
- List all names of entries in container.
- Returns:
- the list of all entries
Copyright © 2001 Apache Jakarta Project. All Rights Reserved.