|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.xfire.service.invoker.AbstractInvoker
public abstract class AbstractInvoker
Abstract implementation of Invoker.
Constructor Summary | |
---|---|
AbstractInvoker()
|
Method Summary | |
---|---|
static MessageContext |
getContext()
|
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 Object |
getServiceObject(MessageContext context)
Creates and returns a service object depending on the scope. |
Object |
invoke(Method method,
Object[] params,
MessageContext context)
|
static boolean |
isJdkDynamicProxy(Object object)
Return whether the given object is a J2SE dynamic proxy. |
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 Object invoke(Method method, Object[] params, MessageContext context) throws XFireFault
invoke
in interface Invoker
XFireFault
public abstract Object getServiceObject(MessageContext context) throws XFireFault
XFireFault
public static boolean isJdkDynamicProxy(Object object)
object
- the object to checkProxy.isProxyClass(java.lang.Class>)
public static Method getMostSpecificMethod(Method method, 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.
public static MessageContext getContext()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |