Save This Page
Home » apache-cxf-2.1.1-src » org.apache » cxf » service » invoker » [javadoc | source]
org.apache.cxf.service.invoker
abstract public class: AbstractInvoker [javadoc | source]
java.lang.Object
   org.apache.cxf.service.invoker.AbstractInvoker

All Implemented Interfaces:
    Invoker

Direct Known Subclasses:
    JAXWSMethodInvoker, EJBInvoker, FactoryInvoker, BeanInvoker, JAXRSInvoker

Abstract implementation of Invoker.

Method from org.apache.cxf.service.invoker.AbstractInvoker Summary:
createFault,   getMostSpecificMethod,   getServiceObject,   insertExchange,   invoke,   invoke,   isJdkDynamicProxy,   performInvocation,   releaseServiceObject
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.cxf.service.invoker.AbstractInvoker Detail:
 protected Fault createFault(Throwable ex,
    Method m,
    List params,
    boolean checked) 
 public static Method getMostSpecificMethod(Method method,
    Class targetClass) 
    Given a method, which may come from an interface, and a targetClass used in the current AOP invocation, find the most specific method if there is one. E.g. the method may be IFoo.bar() and the target class may be DefaultFoo. In this case, the method may be DefaultFoo.bar(). This enables attributes on that method to be found.
 abstract public Object getServiceObject(Exchange context)
    Creates and returns a service object depending on the scope.
 public Object[] insertExchange(Method method,
    Object[] params,
    Exchange context) 
 public Object invoke(Exchange exchange,
    Object o) 
 protected Object invoke(Exchange exchange,
    Object serviceObject,
    Method m,
    List params) 
 public static boolean isJdkDynamicProxy(Object object) 
    Return whether the given object is a J2SE dynamic proxy.
 protected Object performInvocation(Exchange exchange,
    Object serviceObject,
    Method m,
    Object[] paramArray) throws Exception 
 public  void releaseServiceObject(Exchange context,
    Object obj) 
    Called when the invoker is done with the object. Default implementation does nothing.