org.jboss.portal.wsrp.services
Class SOAPInvokerServiceFactory

java.lang.Object
  extended by 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:
ServiceFactory

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
log, portJNDIMapping
 
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, 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, setEnv, setPortJNDIMapping
 
Methods inherited from class org.jboss.portal.jems.as.system.AbstractJBossService
create, destroy, getState, getStateString, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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,
                                              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)