|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Registrar
Registrar is a mutable ComponentMap. It handles registration and unregistration of components.
Codehaus.org.
| Method Summary | |
|---|---|
void |
registerComponent(java.lang.Object key,
Component cc)
Register a Component identified by a key. |
void |
unregisterComponent(java.lang.Object key)
Unregister a component identified by a key. |
void |
unregisterComponentsOfType(java.lang.Class type)
Unregister components of a certain type. |
void |
verify(ComponentMap cmap)
Verifies that all the registered components can be satisfied. |
| Methods inherited from interface jfun.yan.ComponentMap |
|---|
containsKey, containsType, getComponent, getComponentOfType, getComponents, getComponentsOfType, getDependency, getDependencyOfType, keys |
| Method Detail |
|---|
void registerComponent(java.lang.Object key,
Component cc)
key - the component key.cc - the component.void unregisterComponent(java.lang.Object key)
key - the component key.void unregisterComponentsOfType(java.lang.Class type)
type - the component instance type.void verify(ComponentMap cmap)
cmap - the ComponentMap from which
the parts of the registered components are obtained.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||