|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cxf.service.invoker.AbstractInvoker
it.imolinfo.jbi4corba.webservice.runtime.ProviderServiceInvoker
public final class ProviderServiceInvoker
This class handle invokation of web services and forward in to a legacy service invokation.
| Constructor Summary | |
|---|---|
ProviderServiceInvoker(ProviderServiceDescriptor serviceDescriptor)
Constructor. |
|
ProviderServiceInvoker(ProviderServiceDescriptor serviceDescriptor,
boolean isCorbaServant)
Constructor. |
|
| Method Summary | |
|---|---|
Method |
getMethodFromStub(Class stub,
MethodSignature signature)
The method saved in the MethodSignature is of the corba interface. |
ProviderServiceDescriptor |
getServiceDescriptor()
Get the provider service Descriptor object. |
Object |
getServiceObject(org.apache.cxf.message.Exchange context)
Creates and returns a service object depending on the scope. |
Object |
invoke(org.apache.cxf.message.Exchange exchange,
Object o)
Sets ths classloader to find the corba classes and invokes the superclass. |
void |
setServiceDescriptor(ProviderServiceDescriptor serviceDescriptor)
Set the provider service Descriptor object. |
void |
setServiceObject(Object obj)
Set the service object for testing pourpose |
| Methods inherited from class org.apache.cxf.service.invoker.AbstractInvoker |
|---|
checkSuspendedInvocation, createFault, getMostSpecificMethod, insertExchange, invoke, isJdkDynamicProxy, performInvocation, releaseServiceObject |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProviderServiceInvoker(ProviderServiceDescriptor serviceDescriptor)
serviceDescriptor - The service descriptor
public ProviderServiceInvoker(ProviderServiceDescriptor serviceDescriptor,
boolean isCorbaServant)
serviceDescriptor - The service descriptor| Method Detail |
|---|
public Object getServiceObject(org.apache.cxf.message.Exchange context)
getServiceObject in class org.apache.cxf.service.invoker.AbstractInvokerpublic void setServiceObject(Object obj)
public Object invoke(org.apache.cxf.message.Exchange exchange,
Object o)
invoke in interface org.apache.cxf.service.invoker.Invokerinvoke in class org.apache.cxf.service.invoker.AbstractInvokerpublic ProviderServiceDescriptor getServiceDescriptor()
public void setServiceDescriptor(ProviderServiceDescriptor serviceDescriptor)
serviceDescriptor - The ProviderServiceDescriptor
public Method getMethodFromStub(Class stub,
MethodSignature signature)
MethodSignature is of the corba interface. The object
used to invoke the method is the Stub reference. This method found the Stub method, comparing
the method name and the parameter types.
TODO: This operation is expensive, the correspondance between methods can be saved.
stub - signature -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||