org.ow2.jonas.ws.cxf.easybeans
Class EasyBeansMethodInvoker
java.lang.Object
org.apache.cxf.service.invoker.AbstractInvoker
org.apache.cxf.service.invoker.FactoryInvoker
org.apache.cxf.jaxws.JAXWSMethodInvoker
org.ow2.jonas.ws.cxf.easybeans.EasyBeansMethodInvoker
- All Implemented Interfaces:
- org.apache.cxf.service.invoker.Invoker
public class EasyBeansMethodInvoker
- extends org.apache.cxf.jaxws.JAXWSMethodInvoker
Invoker that will allow to call release() method on the pool after each call.
- Author:
- Florent Benoit
Methods inherited from class org.apache.cxf.jaxws.JAXWSMethodInvoker |
createFault, findSoapFaultException, invoke |
Methods inherited from class org.apache.cxf.service.invoker.AbstractInvoker |
checkSuspendedInvocation, getMostSpecificMethod, insertExchange, invoke, isJdkDynamicProxy, performInvocation |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EasyBeansMethodInvoker
public EasyBeansMethodInvoker(EasyBeansInvokerFactory easyBeansInvokerFactory)
- Delegate to the super constructor.
- Parameters:
easyBeansInvokerFactory
- the given factory.
releaseServiceObject
public void releaseServiceObject(org.apache.cxf.message.Exchange exchange,
Object o)
- Call after each message call. We need to release the bean instance in the pool.
- Overrides:
releaseServiceObject
in class org.apache.cxf.service.invoker.AbstractInvoker
- Parameters:
exchange
- the given message exchangeo
- the object to release in the pool
getServiceObject
public Object getServiceObject(org.apache.cxf.message.Exchange ex)
- Create an instance of bean at each call.
- Overrides:
getServiceObject
in class org.apache.cxf.service.invoker.FactoryInvoker
- Parameters:
ex
- exchange object
- Returns:
- a stateless session bean instance
Copyright © 2010 OW2 Consortium. All Rights Reserved.