|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This interface will be implemented by objects wishing to be
InvocationHandlers for a component's proxy object. The
ComponentProxy is the object that aggregates all of a component's parts.
| Method Summary | |
void |
addDecorator(Decorator decorator)
Method used during creation of the proxy object to add Assistants to the component. |
String |
getComponentName()
Returns the name of the wrapped component. |
Object |
getDelegate(Class delegateInterface)
Retrieves the delegate class that will be invoked for calls to the provide interface class. |
ReadWriteLock |
getMonitor()
Retrieves the monitor object for the component represented by the proxy object implemented through this invocation handler. |
void |
setComponentName(String name)
Sets the name of wrapped component. |
void |
setFunctionalImplementation(Class[] implementedInterfaces,
FunctionalInterface functionalImplementation)
Method used during creation of the proxy object to add the functional implementation to the component. |
| Methods inherited from interface java.lang.reflect.InvocationHandler |
invoke |
| Method Detail |
public void addDecorator(Decorator decorator)
ComponentFactory
public void setFunctionalImplementation(Class[] implementedInterfaces,
FunctionalInterface functionalImplementation)
implementedInterfaces - all the interfaces (including
super interfaces) implemented by functionalImplementation's
FunctionalInterfacefunctionalImplementation - the object that implements the
components FunctionalInterfaceComponentFactorypublic Object getDelegate(Class delegateInterface)
delegateInterface - the interface to look for the delegate of
public ReadWriteLock getMonitor()
public String getComponentName()
public void setComponentName(String name)
name - the name of the component
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||