org.oasis.wsrf.resource
Class WSResourceServiceLocator

java.lang.Object
  extended by org.apache.axis.client.Service
      extended by org.oasis.wsrf.resource.WSResourceServiceLocator
All Implemented Interfaces:
java.io.Serializable, javax.naming.Referenceable, javax.xml.rpc.Service, WSResourceService
Direct Known Subclasses:
WSResourceServiceAddressingLocator

public class WSResourceServiceLocator
extends org.apache.axis.client.Service
implements WSResourceService

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
private  java.util.HashSet ports
           
 
Fields inherited from class org.apache.axis.client.Service
_call
 
Constructor Summary
WSResourceServiceLocator()
           
WSResourceServiceLocator(org.apache.axis.EngineConfiguration config)
           
WSResourceServiceLocator(java.lang.String wsdlLoc, javax.xml.namespace.QName sName)
           
 
Method Summary
 java.rmi.Remote getPort(java.lang.Class serviceEndpointInterface)
          For the given interface, get the stub implementation.
 java.rmi.Remote getPort(javax.xml.namespace.QName portName, java.lang.Class serviceEndpointInterface)
          For the given interface, get the stub implementation.
 java.util.Iterator getPorts()
           
 javax.xml.namespace.QName getServiceName()
           
 
Methods inherited from class org.apache.axis.client.Service
createCall, createCall, createCall, createCall, getAxisClient, getCacheWSDL, getCall, getCalls, getEngine, getEngineConfiguration, getHandlerRegistry, getMaintainSession, getPort, getReference, getTypeMappingRegistry, getWSDLDocumentLocation, 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
createCall, createCall, createCall, createCall, getCalls, getHandlerRegistry, getTypeMappingRegistry, getWSDLDocumentLocation
 

Field Detail

ports

private java.util.HashSet ports
Constructor Detail

WSResourceServiceLocator

public WSResourceServiceLocator()

WSResourceServiceLocator

public WSResourceServiceLocator(org.apache.axis.EngineConfiguration config)

WSResourceServiceLocator

public WSResourceServiceLocator(java.lang.String wsdlLoc,
                                javax.xml.namespace.QName sName)
                         throws javax.xml.rpc.ServiceException
Throws:
javax.xml.rpc.ServiceException
Method Detail

getPort

public java.rmi.Remote getPort(java.lang.Class serviceEndpointInterface)
                        throws javax.xml.rpc.ServiceException
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 org.apache.axis.client.Service
Throws:
javax.xml.rpc.ServiceException

getPort

public java.rmi.Remote getPort(javax.xml.namespace.QName portName,
                               java.lang.Class serviceEndpointInterface)
                        throws javax.xml.rpc.ServiceException
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 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 org.apache.axis.client.Service

getPorts

public java.util.Iterator getPorts()
Specified by:
getPorts in interface javax.xml.rpc.Service
Overrides:
getPorts in class org.apache.axis.client.Service