|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cxf.jca.servant.AbstractServant
public abstract class AbstractServant
The base class for all Servant implementations.
A Servant defines the endpoint of an invocation
and is usually used to wrap an instance of a Java class.
| Constructor Summary | |
|---|---|
AbstractServant(java.lang.String wsdlLoc,
org.apache.cxf.Bus bus)
Constructs a new Servant with the specified WSDL and Bus. |
|
| Method Summary | |
|---|---|
org.apache.cxf.Bus |
getBus()
The Bus ultimately used to register the Servant. |
abstract java.lang.Object |
getTargetObject()
The method to obtain a reference to the instance that will be used for an invocation. |
java.lang.String |
getWSDLLocation()
Return the location of the WSDL file describing the service this servant implements. |
abstract java.lang.Object |
invoke(java.lang.Object target,
java.lang.reflect.Method method,
java.lang.Object[] args)
Defines the actual invocation methodology. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractServant(java.lang.String wsdlLoc,
org.apache.cxf.Bus bus)
Servant with the specified WSDL and Bus.
wsdlLoc - A string containing the location of the wsdl file.bus - The Bus used to register this servant.| Method Detail |
|---|
public abstract java.lang.Object getTargetObject()
throws org.apache.cxf.BusException
org.apache.cxf.BusException - If there is an error getting the target object.
public abstract java.lang.Object invoke(java.lang.Object target,
java.lang.reflect.Method method,
java.lang.Object[] args)
throws java.lang.Throwable
invoke in interface java.lang.reflect.InvocationHandlertarget - The Object that is the target object of the invocation.method - A Method representing the method being invoked.args - An Object[] representing the invocation parameters.
org.apache.cxf.BusException - If there is an error invoking the specified method.
java.lang.Throwablepublic java.lang.String getWSDLLocation()
Servant.public org.apache.cxf.Bus getBus()
Bus ultimately used to register the Servant.
Bus used to register this servant.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||