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 BeanInvocation()
public BeanInvocation(Method method, 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
Apache Camel