org.jboss.portal.wsrp.services
Class PerEndpointSOAPInvokerServiceFactory
java.lang.Object
org.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.system.ServiceMBeanSupport
org.jboss.portal.jems.as.system.AbstractJBossService
org.jboss.portal.wsrp.services.AbstractJNDIServiceFactory
org.jboss.portal.wsrp.services.AbstractSOAPServiceFactory
org.jboss.portal.wsrp.services.PerEndpointSOAPInvokerServiceFactory
- All Implemented Interfaces:
- javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, ManageableServiceFactory, ServiceFactory, org.jboss.system.Service, org.jboss.system.ServiceMBean
- Direct Known Subclasses:
- RemoteSOAPInvokerServiceFactory
public class PerEndpointSOAPInvokerServiceFactory
- extends AbstractSOAPServiceFactory
- Since:
- 2.4
- Version:
- $Revision: 11483 $
- Author:
- Chris Laprun, Julien Viet
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 |
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 |
serviceDescriptionURL
protected java.lang.String serviceDescriptionURL
- .
markupURL
protected java.lang.String markupURL
- .
registrationURL
protected java.lang.String registrationURL
- .
portletManagementURL
protected java.lang.String portletManagementURL
- .
PerEndpointSOAPInvokerServiceFactory
public PerEndpointSOAPInvokerServiceFactory()
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 classservice
- the service implementation obtained from the JNDI lookup
- Returns:
- an implementation based on the provided service
- Throws:
java.lang.Exception
isAvailable
public boolean isAvailable()
- Description copied from interface:
ServiceFactory
- Determines whether or not this ServiceFactory is able to provide services. A non-available ServiceFactory might be
in a temporary state of non-availability (e.g. if the remote host is not currently reachable) or permanently
(because, e.g. its configuration is invalid). Permanent failure is indicated by
ServiceFactory.isFailed()
status.
- Specified by:
isAvailable
in interface ServiceFactory
- Overrides:
isAvailable
in class AbstractJNDIServiceFactory
- Returns:
true
if this ServiceFactory is ready to provide services, false
otherwise.