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