org.jboss.portal.wsrp.services
Class PerEndpointSOAPInvokerServiceFactory

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.PerEndpointSOAPInvokerServiceFactory
All Implemented Interfaces:
javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, ServiceFactory, org.jboss.system.Service, org.jboss.system.ServiceMBean
Direct Known Subclasses:
RemoteSOAPInvokerServiceFactory

public class PerEndpointSOAPInvokerServiceFactory
extends AbstractSOAPServiceFactory

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

Field Summary
protected  java.lang.String markupURL
          .
protected  java.lang.String portletManagementURL
          .
protected  java.lang.String registrationURL
          .
protected  java.lang.String serviceDescriptionURL
          .
 
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
PerEndpointSOAPInvokerServiceFactory()
           
 
Method Summary
 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 retrieve object is of javax.xml.rpc.Service class, we're using the WS stack and we need to get the port.
 boolean isAvailable()
           
 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
 

Field Detail

serviceDescriptionURL

protected java.lang.String serviceDescriptionURL
.


markupURL

protected java.lang.String markupURL
.


registrationURL

protected java.lang.String registrationURL
.


portletManagementURL

protected java.lang.String portletManagementURL
.

Constructor Detail

PerEndpointSOAPInvokerServiceFactory

public PerEndpointSOAPInvokerServiceFactory()
Method Detail

getServiceDescriptionURL

public java.lang.String getServiceDescriptionURL()

setServiceDescriptionURL

public void setServiceDescriptionURL(java.lang.String serviceDescriptionURL)

getMarkupURL

public java.lang.String getMarkupURL()

setMarkupURL

public void setMarkupURL(java.lang.String markupURL)

getRegistrationURL

public java.lang.String getRegistrationURL()

setRegistrationURL

public void setRegistrationURL(java.lang.String registrationURL)

getPortletManagementURL

public java.lang.String getPortletManagementURL()

setPortletManagementURL

public void setPortletManagementURL(java.lang.String portletManagementURL)

getStubFromService

protected java.lang.Object getStubFromService(java.lang.Class serviceClass,
                                              javax.xml.rpc.Service service)
                                       throws java.lang.Exception
If retrieve 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()