public class DefaultDispatchTarget extends Object implements DispatchTarget
| Constructor and Description |
|---|
DefaultDispatchTarget() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object pObject) |
Method |
getTargetMethod()
Returns the method for the target object.
|
Object |
getTargetObject()
Returns the target object.
|
int |
hashCode() |
void |
setTarget(Object pTargetObject,
String pMethodName)
Set the target and the target method.
|
String |
toString() |
public void setTarget(Object pTargetObject, String pMethodName) throws IllegalArgumentException
DispatchTargetsetTarget in interface DispatchTargetpTargetObject - the object we targetpMethodName - the method to call in that objectIllegalArgumentExceptionpublic Object getTargetObject()
DispatchTargetgetTargetObject in interface DispatchTargetpublic Method getTargetMethod()
DispatchTargetgetTargetMethod in interface DispatchTargetCopyright © 2014 Jürgen Zeller (privat). All rights reserved.