站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.4 API 英文版文档

SOAPInvokerServiceFactory - JBOSS Portal 2.4 API 英文版文档


org.jboss.portal.wsrp.services
Class SOAPInvokerServiceFactory

java.lang.Object
  extended byorg.jboss.mx.util.JBossNotificationBroadcasterSupport
      extended byorg.jboss.system.ServiceMBeanSupport
          extended byorg.jboss.portal.common.system.AbstractJBossService
              extended byorg.jboss.portal.wsrp.services.AbstractJNDIServiceFactory
                  extended byorg.jboss.portal.wsrp.services.AbstractSOAPServiceFactory
                      extended byorg.jboss.portal.wsrp.services.SOAPInvokerServiceFactory
All Implemented Interfaces:
javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, org.jboss.system.Service, ServiceFactory, org.jboss.system.ServiceMBean

public class SOAPInvokerServiceFactory
extends AbstractSOAPServiceFactory

Since:
2.4

Field Summary
 
Fields inherited from class org.jboss.portal.wsrp.services.AbstractJNDIServiceFactory
log, portJNDIMapping
 
Fields inherited from class org.jboss.system.ServiceMBeanSupport
server, SERVICE_CONTROLLER_SIG, serviceName
 
Fields inherited from interface org.jboss.system.ServiceMBean
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED
 
Constructor Summary
SOAPInvokerServiceFactory()
           
 
Method Summary
 java.lang.String getEndpointURL()
           
protected  java.lang.Object getStubFromService(java.lang.Class serviceClass, javax.xml.rpc.Service service)
          If retrieved object is of javax.xml.rpc.Service class, we're using the WS stack and we need to get the port.
 void setEndpointURL(java.lang.String endpointURL)
           
 
Methods inherited from class org.jboss.portal.wsrp.services.AbstractSOAPServiceFactory
createService, destroyService, getService
 
Methods inherited from class org.jboss.portal.wsrp.services.AbstractJNDIServiceFactory
getEnv, getPortJNDIMapping, setEnv, setPortJNDIMapping
 
Methods inherited from class org.jboss.portal.common.system.AbstractJBossService
create, destroy, getState, getStateString, start, stop
 
Methods inherited from class org.jboss.system.ServiceMBeanSupport
getDeploymentInfo, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister, startService, stopService
 
Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport
addNotificationListener, getNotificationInfo, handleNotification, nextNotificationSequenceNumber, removeNotificationListener, removeNotificationListener, sendNotification
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jboss.system.Service
create, destroy, start, stop
 

Constructor Detail

SOAPInvokerServiceFactory

public SOAPInvokerServiceFactory()
Method Detail

getEndpointURL

public java.lang.String getEndpointURL()

setEndpointURL

public void setEndpointURL(java.lang.String endpointURL)

getStubFromService

protected java.lang.Object getStubFromService(java.lang.Class serviceClass,
                                              javax.xml.rpc.Service service)
                                       throws java.lang.Exception
If retrieved object is of javax.xml.rpc.Service class, we're using the WS stack and we need to get the port.

Specified by:
getStubFromService in class AbstractSOAPServiceFactory
Parameters:
serviceClass - the requested service class
service - the service implementation obtained from the JNDI lookup
Returns:
an implementation based on the provided service
Throws:
java.lang.Exception