|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ComponentManager
Component managers are capable of finding and dealing with business components/logics.
| Method Summary | |
|---|---|
ComponentType |
getComponent(String name,
String logic)
Returns the business component |
Set<ComponentType> |
getComponents()
Returns a list with all component classes. |
ComponentType |
getComponentType(Class<?> type)
|
void |
register(ComponentType type)
Directly registers a component type. |
boolean |
register(String type)
Registers a new component |
| Method Detail |
|---|
boolean register(String type)
throws InvalidComponentException
type - component class
InvalidComponentException - invalid component
ComponentType getComponent(String name,
String logic)
throws ComponentNotFoundException,
LogicNotFoundException
LogicNotFoundException
ComponentNotFoundExceptionSet<ComponentType> getComponents()
void register(ComponentType type)
throws LogicNotFoundException
type - the component type
LogicNotFoundException
ComponentType getComponentType(Class<?> type)
throws InvalidComponentException
InvalidComponentException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||