001 package org.apache.camel.pojo; 002 003 import java.lang.reflect.Method; 004 005 public class PojoInvocation { 006 007 private final Object proxy; 008 private final Method method; 009 private final Object[] args; 010 011 public PojoInvocation(Object proxy, Method method, Object[] args) { 012 this.proxy = proxy; 013 this.method = method; 014 this.args = args; 015 } 016 017 public Object[] getArgs() { 018 return args; 019 } 020 021 public Method getMethod() { 022 return method; 023 } 024 025 public Object getProxy() { 026 return proxy; 027 } 028 029 030 }