org.jboss.portal.wsrp.services
Class AbstractSOAPServiceFactory
java.lang.Object
ServiceMBeanSupport
org.jboss.portal.jems.as.system.AbstractJBossService
org.jboss.portal.wsrp.services.AbstractJNDIServiceFactory
org.jboss.portal.wsrp.services.AbstractSOAPServiceFactory
- All Implemented Interfaces:
- ServiceFactory
- Direct Known Subclasses:
- PerEndpointSOAPInvokerServiceFactory, SOAPInvokerServiceFactory
public abstract class AbstractSOAPServiceFactory
- extends AbstractJNDIServiceFactory
Perform common logic to soap based service factories. This one cache the service retrieved from the JNDI lookup.
- Version:
- $Revision: 7194 $
- Author:
- Julien Viet
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractSOAPServiceFactory
public AbstractSOAPServiceFactory()
createService
protected void createService()
throws java.lang.Exception
- Overrides:
createService
in class AbstractJNDIServiceFactory
- Throws:
java.lang.Exception
destroyService
protected void destroyService()
throws java.lang.Exception
- Throws:
java.lang.Exception
getStubFromService
protected abstract java.lang.Object getStubFromService(java.lang.Class serviceClass,
Service service)
throws java.lang.Exception
- Retrieve the stub from the service. The stub is not thread safe and must be customized for each thead.
- Parameters:
serviceClass
- the requested service classservice
- the service implementation obtained from the JNDI lookup
- Returns:
- an implementation based on the provided service
- Throws:
java.lang.Exception
getService
public java.lang.Object getService(java.lang.Class serviceClass)
throws java.lang.Exception
- Specified by:
getService
in interface ServiceFactory
- Overrides:
getService
in class AbstractJNDIServiceFactory
- Throws:
java.lang.Exception