org.exoplatform.services.wsrp.mocks
Class MockWSRPService

java.lang.Object
  extended by org.apache.axis.client.Service
      extended by org.exoplatform.services.wsrp.wsdl.WSRPServiceLocator
          extended by org.exoplatform.services.wsrp.mocks.MockWSRPService
All Implemented Interfaces:
java.io.Serializable, javax.naming.Referenceable, javax.xml.rpc.Service, WSRPService

public class MockWSRPService
extends WSRPServiceLocator
implements WSRPService

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.axis.client.Service
org.apache.axis.client.Service.HandlerRegistryImpl
 
Field Summary
 
Fields inherited from class org.apache.axis.client.Service
_call
 
Constructor Summary
MockWSRPService()
           
 
Method Summary
 javax.xml.rpc.Call createCall()
           
 javax.xml.rpc.Call createCall(javax.xml.namespace.QName qName)
           
 javax.xml.rpc.Call createCall(javax.xml.namespace.QName qName, javax.xml.namespace.QName qName1)
           
 javax.xml.rpc.Call createCall(javax.xml.namespace.QName qName, java.lang.String string)
           
 javax.xml.rpc.Call[] getCalls(javax.xml.namespace.QName qName)
           
 javax.xml.rpc.handler.HandlerRegistry getHandlerRegistry()
           
 java.rmi.Remote getPort(java.lang.Class aClass)
          For the given interface, get the stub implementation.
 java.rmi.Remote getPort(javax.xml.namespace.QName qName, java.lang.Class aClass)
          For the given interface, get the stub implementation.
 javax.xml.namespace.QName getServiceName()
           
 javax.xml.rpc.encoding.TypeMappingRegistry getTypeMappingRegistry()
           
 java.net.URL getWSDLDocumentLocation()
           
 WSRP_v1_Markup_PortType getWSRPMarkupService()
           
 WSRP_v1_Markup_PortType getWSRPMarkupService(java.net.URL portAddress)
           
 java.lang.String getWSRPMarkupServiceAddress()
           
 WSRP_v1_PortletManagement_PortType getWSRPPortletManagementService()
           
 WSRP_v1_PortletManagement_PortType getWSRPPortletManagementService(java.net.URL portAddress)
           
 java.lang.String getWSRPPortletManagementServiceAddress()
           
 WSRP_v1_Registration_PortType getWSRPRegistrationService()
           
 WSRP_v1_Registration_PortType getWSRPRegistrationService(java.net.URL portAddress)
           
 java.lang.String getWSRPRegistrationServiceAddress()
           
 WSRP_v1_ServiceDescription_PortType getWSRPServiceDescriptionService()
           
 WSRP_v1_ServiceDescription_PortType getWSRPServiceDescriptionService(java.net.URL portAddress)
           
 java.lang.String getWSRPServiceDescriptionServiceAddress()
           
 
Methods inherited from class org.exoplatform.services.wsrp.wsdl.WSRPServiceLocator
getPorts, getWSRPMarkupServiceWSDDServiceName, getWSRPPortletManagementServiceWSDDServiceName, getWSRPRegistrationServiceWSDDServiceName, getWSRPServiceDescriptionServiceWSDDServiceName, setEndpointAddress, setEndpointAddress, setWSRPMarkupServiceEndpointAddress, setWSRPMarkupServiceWSDDServiceName, setWSRPPortletManagementServiceEndpointAddress, setWSRPPortletManagementServiceWSDDServiceName, setWSRPRegistrationServiceEndpointAddress, setWSRPRegistrationServiceWSDDServiceName, setWSRPServiceDescriptionServiceEndpointAddress, setWSRPServiceDescriptionServiceWSDDServiceName
 
Methods inherited from class org.apache.axis.client.Service
getAxisClient, getCacheWSDL, getCall, getEngine, getEngineConfiguration, getMaintainSession, getPort, getReference, getWSDLParser, getWSDLService, setCacheWSDL, setClientConfig, setEngine, setEngineConfiguration, setMaintainSession, setTypeMappingRegistry, setTypeMappingVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.xml.rpc.Service
getPorts
 

Constructor Detail

MockWSRPService

public MockWSRPService()
Method Detail

getWSRPPortletManagementServiceAddress

public java.lang.String getWSRPPortletManagementServiceAddress()
Specified by:
getWSRPPortletManagementServiceAddress in interface WSRPService
Overrides:
getWSRPPortletManagementServiceAddress in class WSRPServiceLocator

getWSRPPortletManagementService

public WSRP_v1_PortletManagement_PortType getWSRPPortletManagementService()
                                                                   throws javax.xml.rpc.ServiceException
Specified by:
getWSRPPortletManagementService in interface WSRPService
Overrides:
getWSRPPortletManagementService in class WSRPServiceLocator
Throws:
javax.xml.rpc.ServiceException

getWSRPPortletManagementService

public WSRP_v1_PortletManagement_PortType getWSRPPortletManagementService(java.net.URL portAddress)
                                                                   throws javax.xml.rpc.ServiceException
Specified by:
getWSRPPortletManagementService in interface WSRPService
Overrides:
getWSRPPortletManagementService in class WSRPServiceLocator
Throws:
javax.xml.rpc.ServiceException

getWSRPRegistrationServiceAddress

public java.lang.String getWSRPRegistrationServiceAddress()
Specified by:
getWSRPRegistrationServiceAddress in interface WSRPService
Overrides:
getWSRPRegistrationServiceAddress in class WSRPServiceLocator

getWSRPRegistrationService

public WSRP_v1_Registration_PortType getWSRPRegistrationService()
                                                         throws javax.xml.rpc.ServiceException
Specified by:
getWSRPRegistrationService in interface WSRPService
Overrides:
getWSRPRegistrationService in class WSRPServiceLocator
Throws:
javax.xml.rpc.ServiceException

getWSRPRegistrationService

public WSRP_v1_Registration_PortType getWSRPRegistrationService(java.net.URL portAddress)
                                                         throws javax.xml.rpc.ServiceException
Specified by:
getWSRPRegistrationService in interface WSRPService
Overrides:
getWSRPRegistrationService in class WSRPServiceLocator
Throws:
javax.xml.rpc.ServiceException

getWSRPMarkupServiceAddress

public java.lang.String getWSRPMarkupServiceAddress()
Specified by:
getWSRPMarkupServiceAddress in interface WSRPService
Overrides:
getWSRPMarkupServiceAddress in class WSRPServiceLocator

getWSRPMarkupService

public WSRP_v1_Markup_PortType getWSRPMarkupService()
                                             throws javax.xml.rpc.ServiceException
Specified by:
getWSRPMarkupService in interface WSRPService
Overrides:
getWSRPMarkupService in class WSRPServiceLocator
Throws:
javax.xml.rpc.ServiceException

getWSRPMarkupService

public WSRP_v1_Markup_PortType getWSRPMarkupService(java.net.URL portAddress)
                                             throws javax.xml.rpc.ServiceException
Specified by:
getWSRPMarkupService in interface WSRPService
Overrides:
getWSRPMarkupService in class WSRPServiceLocator
Throws:
javax.xml.rpc.ServiceException

getWSRPServiceDescriptionServiceAddress

public java.lang.String getWSRPServiceDescriptionServiceAddress()
Specified by:
getWSRPServiceDescriptionServiceAddress in interface WSRPService
Overrides:
getWSRPServiceDescriptionServiceAddress in class WSRPServiceLocator

getWSRPServiceDescriptionService

public WSRP_v1_ServiceDescription_PortType getWSRPServiceDescriptionService()
                                                                     throws javax.xml.rpc.ServiceException
Specified by:
getWSRPServiceDescriptionService in interface WSRPService
Overrides:
getWSRPServiceDescriptionService in class WSRPServiceLocator
Throws:
javax.xml.rpc.ServiceException

getWSRPServiceDescriptionService

public WSRP_v1_ServiceDescription_PortType getWSRPServiceDescriptionService(java.net.URL portAddress)
                                                                     throws javax.xml.rpc.ServiceException
Specified by:
getWSRPServiceDescriptionService in interface WSRPService
Overrides:
getWSRPServiceDescriptionService in class WSRPServiceLocator
Throws:
javax.xml.rpc.ServiceException

getPort

public java.rmi.Remote getPort(javax.xml.namespace.QName qName,
                               java.lang.Class aClass)
                        throws javax.xml.rpc.ServiceException
Description copied from class: WSRPServiceLocator
For the given interface, get the stub implementation. If this service has no port for the given interface, then ServiceException is thrown.

Specified by:
getPort in interface javax.xml.rpc.Service
Overrides:
getPort in class WSRPServiceLocator
Throws:
javax.xml.rpc.ServiceException

getPort

public java.rmi.Remote getPort(java.lang.Class aClass)
                        throws javax.xml.rpc.ServiceException
Description copied from class: WSRPServiceLocator
For the given interface, get the stub implementation. If this service has no port for the given interface, then ServiceException is thrown.

Specified by:
getPort in interface javax.xml.rpc.Service
Overrides:
getPort in class WSRPServiceLocator
Throws:
javax.xml.rpc.ServiceException

getCalls

public javax.xml.rpc.Call[] getCalls(javax.xml.namespace.QName qName)
                              throws javax.xml.rpc.ServiceException
Specified by:
getCalls in interface javax.xml.rpc.Service
Overrides:
getCalls in class org.apache.axis.client.Service
Throws:
javax.xml.rpc.ServiceException

createCall

public javax.xml.rpc.Call createCall(javax.xml.namespace.QName qName)
                              throws javax.xml.rpc.ServiceException
Specified by:
createCall in interface javax.xml.rpc.Service
Overrides:
createCall in class org.apache.axis.client.Service
Throws:
javax.xml.rpc.ServiceException

createCall

public javax.xml.rpc.Call createCall(javax.xml.namespace.QName qName,
                                     javax.xml.namespace.QName qName1)
                              throws javax.xml.rpc.ServiceException
Specified by:
createCall in interface javax.xml.rpc.Service
Overrides:
createCall in class org.apache.axis.client.Service
Throws:
javax.xml.rpc.ServiceException

createCall

public javax.xml.rpc.Call createCall(javax.xml.namespace.QName qName,
                                     java.lang.String string)
                              throws javax.xml.rpc.ServiceException
Specified by:
createCall in interface javax.xml.rpc.Service
Overrides:
createCall in class org.apache.axis.client.Service
Throws:
javax.xml.rpc.ServiceException

createCall

public javax.xml.rpc.Call createCall()
                              throws javax.xml.rpc.ServiceException
Specified by:
createCall in interface javax.xml.rpc.Service
Overrides:
createCall in class org.apache.axis.client.Service
Throws:
javax.xml.rpc.ServiceException

getServiceName

public javax.xml.namespace.QName getServiceName()
Specified by:
getServiceName in interface javax.xml.rpc.Service
Overrides:
getServiceName in class WSRPServiceLocator

getWSDLDocumentLocation

public java.net.URL getWSDLDocumentLocation()
Specified by:
getWSDLDocumentLocation in interface javax.xml.rpc.Service
Overrides:
getWSDLDocumentLocation in class org.apache.axis.client.Service

getTypeMappingRegistry

public javax.xml.rpc.encoding.TypeMappingRegistry getTypeMappingRegistry()
Specified by:
getTypeMappingRegistry in interface javax.xml.rpc.Service
Overrides:
getTypeMappingRegistry in class org.apache.axis.client.Service

getHandlerRegistry

public javax.xml.rpc.handler.HandlerRegistry getHandlerRegistry()
Specified by:
getHandlerRegistry in interface javax.xml.rpc.Service
Overrides:
getHandlerRegistry in class org.apache.axis.client.Service


Copyright © 2010 eXo Platform SAS. All Rights Reserved.