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
DispatchTarget
setTarget
in interface DispatchTarget
pTargetObject
- the object we targetpMethodName
- the method to call in that objectIllegalArgumentException
public Object getTargetObject()
DispatchTarget
getTargetObject
in interface DispatchTarget
public Method getTargetMethod()
DispatchTarget
getTargetMethod
in interface DispatchTarget
Copyright © 2017 Jürgen Zeller (privat). All rights reserved.