|
Apache CXF API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cxf.service.invoker.AbstractInvoker
public abstract class AbstractInvoker
Abstract implementation of Invoker.
| Constructor Summary | |
|---|---|
AbstractInvoker()
|
|
| Method Summary | |
|---|---|
protected Fault |
createFault(java.lang.Throwable ex)
|
static java.lang.reflect.Method |
getMostSpecificMethod(java.lang.reflect.Method method,
java.lang.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 java.lang.Object |
getServiceObject(Exchange context)
Creates and returns a service object depending on the scope. |
java.lang.Object[] |
insertExchange(java.lang.reflect.Method method,
java.lang.Object[] params,
Exchange context)
|
java.lang.Object |
invoke(Exchange exchange,
java.lang.Object o)
|
protected java.lang.Object |
invoke(Exchange exchange,
java.lang.Object serviceObject,
java.lang.reflect.Method m,
java.util.List<java.lang.Object> params)
|
static boolean |
isJdkDynamicProxy(java.lang.Object object)
Return whether the given object is a J2SE dynamic proxy. |
protected java.lang.Object |
performInvocation(Exchange exchange,
java.lang.Object serviceObject,
java.lang.reflect.Method m,
java.lang.Object[] paramArray)
|
void |
releaseServiceObject(Exchange context,
java.lang.Object obj)
Called when the invoker is done with the object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractInvoker()
| Method Detail |
|---|
public java.lang.Object invoke(Exchange exchange,
java.lang.Object o)
invoke in interface Invoker
protected java.lang.Object invoke(Exchange exchange,
java.lang.Object serviceObject,
java.lang.reflect.Method m,
java.util.List<java.lang.Object> params)
protected Fault createFault(java.lang.Throwable ex)
protected java.lang.Object performInvocation(Exchange exchange,
java.lang.Object serviceObject,
java.lang.reflect.Method m,
java.lang.Object[] paramArray)
throws java.lang.Exception
java.lang.Exception
public java.lang.Object[] insertExchange(java.lang.reflect.Method method,
java.lang.Object[] params,
Exchange context)
public abstract java.lang.Object getServiceObject(Exchange context)
public void releaseServiceObject(Exchange context,
java.lang.Object obj)
context - obj - public static boolean isJdkDynamicProxy(java.lang.Object object)
object - the object to checkProxy.isProxyClass(java.lang.Class>)
public static java.lang.reflect.Method getMostSpecificMethod(java.lang.reflect.Method method,
java.lang.Class<?> targetClass)
method - method to be invoked, which may come from an interfacetargetClass - target class for the curren invocation. May be
null or may not even implement the method.
|
Apache CXF API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||