| java.lang.Object org.apache.cxf.service.invoker.AbstractInvoker
All known Subclasses: org.apache.cxf.service.invoker.BeanInvoker, org.apache.cxf.service.invoker.FactoryInvoker,
AbstractInvoker | abstract public class AbstractInvoker implements Invoker(Code) | | Abstract implementation of Invoker.
author: Ben Yu Feb 10, 2006 10:57:23 PM |
Method Summary | |
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. | 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<Object> 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) |
getMostSpecificMethod | public static Method getMostSpecificMethod(Method method, Class> targetClass)(Code) | | 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.
Parameters: method - method to be invoked, which may come from an interface Parameters: targetClass - target class for the curren invocation. May benull or may not even implement the method. the more specific method, or the original method if thetargetClass doesn't specialize it or implement it or is null |
getServiceObject | abstract public Object getServiceObject(Exchange context)(Code) | | Creates and returns a service object depending on the scope.
|
|
|