|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The ComponentHandler interface marks the ComponentHandler implementations. The desire for a ComponentHandler is to manage the instances of a Component.
Method Summary | |
java.lang.Object |
get()
Gets the current reference to a Component according to the policy of the implementation. |
java.lang.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(java.lang.Object component)
Puts the reference back in the ComponentHandler according to the policy of the implementation. |
Method Detail |
public java.lang.Class getComponentClass()
Class
object for the componentpublic void prepareHandler() throws java.lang.Exception
java.lang.Exception
- if unable to prepare handlerpublic java.lang.Object get() throws java.lang.Exception
java.lang.Exception
- if unable to ge tthe compoennt referencepublic void put(java.lang.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 |