|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ComponentHandler
The ComponentHandler interface marks the ComponentHandler implementations. The desire for a ComponentHandler is to manage the instances of a Component.
Method Summary | |
---|---|
Object |
get()
Gets the current reference to a Component according to the policy of the implementation. |
Class |
getComponentClass()
Return the component's class that this handler is trying to create. |
void |
prepareHandler()
Actually prepare the handler and make it ready to handle component access. |
void |
put(Object component)
Puts the reference back in the ComponentHandler according to the policy of the implementation. |
Method Detail |
---|
Class getComponentClass()
Class
object for the componentvoid prepareHandler() throws Exception
Exception
- if unable to prepare handlerObject get() throws Exception
Exception
- if unable to ge tthe compoennt referencevoid put(Object component)
component
- the component to return to the handler
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |