org.jboss.portal.wsrp.services
Class SOAPInvokerServiceFactory

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

public class SOAPInvokerServiceFactory
extends AbstractSOAPServiceFactory

Since:
2.4
Version:
$Revision: 6366 $
Author:
Chris Laprun, Julien Viet

Field Summary
 
Fields inherited from class org.jboss.portal.wsrp.services.AbstractJNDIServiceFactory
failed, 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()
           
 java.lang.String getMarkupURL()
           
 java.lang.String getPortletManagementURL()
           
 java.lang.String getRegistrationURL()
           
 java.lang.String getServiceDescriptionURL()
           
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.
 boolean isAvailable()
           
 void setEndpointURL(java.lang.String endpointURL)
           
 void setMarkupURL(java.lang.String markupURL)
           
 void setPortletManagementURL(java.lang.String portletManagementURL)
           
 void setRegistrationURL(java.lang.String registrationURL)
           
 void setServiceDescriptionURL(java.lang.String serviceDescriptionURL)
           
 
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, isFailed, setEnv, setPortJNDIMapping
 
Methods inherited from class org.jboss.portal.jems.as.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

isAvailable

public boolean isAvailable()

getServiceDescriptionURL

public java.lang.String getServiceDescriptionURL()

getMarkupURL

public java.lang.String getMarkupURL()

getRegistrationURL

public java.lang.String getRegistrationURL()

getPortletManagementURL

public java.lang.String getPortletManagementURL()

setServiceDescriptionURL

public void setServiceDescriptionURL(java.lang.String serviceDescriptionURL)

setMarkupURL

public void setMarkupURL(java.lang.String markupURL)

setRegistrationURL

public void setRegistrationURL(java.lang.String registrationURL)

setPortletManagementURL

public void setPortletManagementURL(java.lang.String portletManagementURL)