|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IComponentRegistry
This interface is the registry of the Components.
| Method Summary | ||
|---|---|---|
Component |
getComponent(java.lang.String componentName)
Allow to get a reference on another component. |
|
java.lang.String |
getComponentName(Component component)
|
|
|
getComponents(java.lang.Class<T> itf)
Get the components that implements the given interface. |
|
void |
register(java.lang.String componentName,
Component component)
Register a component. |
|
void |
unregister(Component component)
Unregister a component. |
|
void |
unregister(java.lang.String componentName)
Unregister a component. |
|
| Method Detail |
|---|
Component getComponent(java.lang.String componentName)
componentName - the name of the component
java.lang.String getComponentName(Component component)
component - EZBComponent instance.
<T extends Component> java.util.List<T> getComponents(java.lang.Class<T> itf)
T - an interface extending EZBComponent.itf - the given interface
void register(java.lang.String componentName,
Component component)
throws ComponentException
componentName - the name of the component to registercomponent - the component to register.
ComponentException - if registering fails.
void unregister(java.lang.String componentName)
throws ComponentException
componentName - the component name to unregister.
ComponentException - if unregistering fails.
void unregister(Component component)
throws ComponentException
component - the instance of the component to unregister.
ComponentException - if unregistering fails.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||