public class BeanInvocation extends Object implements Externalizable
Constructor and Description |
---|
BeanInvocation() |
BeanInvocation(Method method,
Object[] args) |
Modifier and Type | Method and Description |
---|---|
Object[] |
getArgs() |
Method |
getMethod() |
void |
invoke(Object pojo,
Exchange exchange)
This causes us to invoke the endpoint Pojo using reflection.
|
void |
readExternal(ObjectInput objectInput) |
void |
setArgs(Object[] args) |
void |
setMethod(Method method) |
String |
toString() |
void |
writeExternal(ObjectOutput objectOutput) |
public Object[] getArgs()
public Method getMethod()
public void setMethod(Method method)
public void setArgs(Object[] args)
public void invoke(Object pojo, Exchange exchange)
pojo
- the bean on which to perform this invocationexchange
- the exchange carrying the method invocationpublic void readExternal(ObjectInput objectInput) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput objectOutput) throws IOException
writeExternal
in interface Externalizable
IOException
Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.