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

RemoteSOAPInvokerServiceFactory - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.wsrp.services
Class RemoteSOAPInvokerServiceFactory

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

public class RemoteSOAPInvokerServiceFactory
extends PerEndpointSOAPInvokerServiceFactory

Since:
2.4 (May 3, 2006)
Version:
$Revision: 5440 $
Author:
Chris Laprun

Nested Class Summary
static class RemoteSOAPInvokerServiceFactory.WSDLLocatorImpl
          A WSDLLocator that can handle wsdl imports
 
Field Summary
private static java.lang.String BASE
           
private static java.lang.String DEFAULT_SERVICE_NAME
           
private static java.lang.String DESCRIPTION
           
private  org.jboss.logging.Logger log
           
private static java.lang.String MANAGEMENT
           
private static java.lang.String MARKUP
           
private static java.lang.String REGISTRATION
           
private  java.lang.String wsdlDefinitionURL
           
private static java.lang.String WSRP_URN
           
 
Fields inherited from class org.jboss.portal.wsrp.services.PerEndpointSOAPInvokerServiceFactory
markupURL, portletManagementURL, registrationURL, serviceDescriptionURL
 
Fields inherited from class org.jboss.portal.wsrp.services.AbstractSOAPServiceFactory
 
Fields inherited from class org.jboss.portal.wsrp.services.AbstractJNDIServiceFactory
portJNDIMapping
 
Fields inherited from class org.jboss.system.ServiceMBeanSupport
server, SERVICE_CONTROLLER_SIG, serviceName
 
Fields inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport
 
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
RemoteSOAPInvokerServiceFactory()
           
 
Method Summary
private  boolean doesString1ContainString2(java.lang.String string1, java.lang.String string2)
           
private  java.lang.String getLocation(javax.wsdl.Port port)
           
private  javax.wsdl.Definition getWSDLDefinition(java.net.URL url)
           
 java.lang.String getWsdlDefinitionURL()
           
private  void initServices()
           
private  void initServiceURL(java.lang.String portName, java.lang.String serviceURL)
          Heuristically try to determine which service we're trying to configure.
 void setWsdlDefinitionURL(java.lang.String wsdlDefinitionURL)
           
 
Methods inherited from class org.jboss.portal.wsrp.services.PerEndpointSOAPInvokerServiceFactory
getMarkupURL, getPortletManagementURL, getRegistrationURL, getServiceDescriptionURL, getStubFromService, setMarkupURL, setPortletManagementURL, setRegistrationURL, setServiceDescriptionURL
 
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 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

log

private final org.jboss.logging.Logger log

wsdlDefinitionURL

private java.lang.String wsdlDefinitionURL

WSRP_URN

private static final java.lang.String WSRP_URN
See Also:
Constant Field Values

DEFAULT_SERVICE_NAME

private static final java.lang.String DEFAULT_SERVICE_NAME
See Also:
Constant Field Values

DESCRIPTION

private static final java.lang.String DESCRIPTION
See Also:
Constant Field Values

MARKUP

private static final java.lang.String MARKUP
See Also:
Constant Field Values

BASE

private static final java.lang.String BASE
See Also:
Constant Field Values

MANAGEMENT

private static final java.lang.String MANAGEMENT
See Also:
Constant Field Values

REGISTRATION

private static final java.lang.String REGISTRATION
See Also:
Constant Field Values
Constructor Detail

RemoteSOAPInvokerServiceFactory

public RemoteSOAPInvokerServiceFactory()
Method Detail

getWsdlDefinitionURL

public java.lang.String getWsdlDefinitionURL()

setWsdlDefinitionURL

public void setWsdlDefinitionURL(java.lang.String wsdlDefinitionURL)

initServices

private void initServices()

initServiceURL

private void initServiceURL(java.lang.String portName,
                            java.lang.String serviceURL)
Heuristically try to determine which service we're trying to configure.

Parameters:
serviceURL - the port location as defined in the given WSDL file
portName - the port name as defined in the given WSDL file

doesString1ContainString2

private boolean doesString1ContainString2(java.lang.String string1,
                                          java.lang.String string2)

getWSDLDefinition

private javax.wsdl.Definition getWSDLDefinition(java.net.URL url)
                                         throws javax.wsdl.WSDLException
Throws:
javax.wsdl.WSDLException

getLocation

private java.lang.String getLocation(javax.wsdl.Port port)