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, lookup
void register(String id, Object component) throws InvalidIdException
id
- The id of the object.object
- The object.InvalidIdException
void remove(Object component)
component
- The component.