Package org.oddjob.arooa.registry
Interface BeanRegistry
- All Superinterfaces:
BeanDirectory
- All Known Implementing Classes:
LinkedBeanRegistry,SimpleBeanRegistry
Register components by id and look them up.
- Author:
- Rob Gordon.
-
Method Summary
Methods inherited from interface org.oddjob.arooa.registry.BeanDirectory
getAllByType, getAllIds, getIdFor, lookup, lookup
-
Method Details
-
register
Register an object. The id should not contain reserved characters.- Parameters:
id- The id of the object.component- The object.- Throws:
InvalidIdException
-
remove
Remove a component from the registry if it exists.- Parameters:
component- The component.
-