public interface BeanRegistry extends BeanDirectory
| Modifier and Type | Method and Description |
|---|---|
void |
register(String id,
Object component)
Register an object.
|
void |
remove(Object component)
Remove a component from the registry if it exists.
|
getAllByType, getIdFor, lookup, lookupvoid register(String id, Object component) throws InvalidIdException
id - The id of the object.object - The object.InvalidIdExceptionvoid remove(Object component)
component - The component.