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