|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.geronimo.messaging.Request
Encapsulates a method invocation.
| Constructor Summary | |
Request()
Required for Externalization. |
|
Request(String aMethodName,
Class[] anArrOfParamTypes,
Object[] anArrOfParams)
Wraps a method having the specified name and parameters. |
|
| Method Summary | |
Result |
execute()
Executes the command against the specified target. |
String |
getMethodName()
Gets the method name to be executed. |
Object[] |
getParameters()
Gets the parameters of the method to be executed. |
Class[] |
getParameterTypes()
Gets the formal parameter of the method wrapped by this instance. |
void |
readExternal(ObjectInput in)
|
void |
setTarget(Object aTarget)
Sets the target against which the method is to be executed. |
void |
writeExternal(ObjectOutput out)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Request()
public Request(String aMethodName,
Class[] anArrOfParamTypes,
Object[] anArrOfParams)
aMethodName - Method name.anArrOfParamTypes - Method formal parameters.anArrOfParams - Parameters.| Method Detail |
public void setTarget(Object aTarget)
aTarget - public String getMethodName()
public Class[] getParameterTypes()
public Object[] getParameters()
public Result execute()
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface ExternalizableIOException
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizableIOException
ClassNotFoundException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||