de.thorstenberger.uebman.ws.regclient
Class RegistryServiceLocator

java.lang.Object
  extended by org.apache.axis.client.Service
      extended by de.thorstenberger.uebman.ws.regclient.RegistryServiceLocator
All Implemented Interfaces:
RegistryService, java.io.Serializable, javax.naming.Referenceable, javax.xml.rpc.Service

public class RegistryServiceLocator
extends org.apache.axis.client.Service
implements RegistryService

See Also:
Serialized Form

Constructor Summary
RegistryServiceLocator()
           
 
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()
           
 Registry getRegistry()
           
 Registry getRegistry(java.net.URL portAddress)
           
 java.lang.String getRegistryAddress()
           
 java.lang.String getRegistryWSDDServiceName()
           
 javax.xml.namespace.QName getServiceName()
           
 void setEndpointAddress(javax.xml.namespace.QName portName, java.lang.String address)
          Set the endpoint address for the specified port name.
 void setEndpointAddress(java.lang.String portName, java.lang.String address)
          Set the endpoint address for the specified port name.
 void setRegistryEndpointAddress(java.lang.String address)
           
 void setRegistryWSDDServiceName(java.lang.String name)
           
 
Methods inherited from class org.apache.axis.client.Service
createCall, createCall, createCall, createCall, getCacheWSDL, getCall, getCalls, getEngine, getHandlerRegistry, getMaintainSession, getPort, getReference, getTypeMappingRegistry, getWSDLDocumentLocation, getWSDLParser, setCacheWSDL, setEngine, setEngineConfiguration, setMaintainSession, setTypeMappingRegistry
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.xml.rpc.Service
createCall, createCall, createCall, createCall, getCalls, getHandlerRegistry, getTypeMappingRegistry, getWSDLDocumentLocation
 

Constructor Detail

RegistryServiceLocator

public RegistryServiceLocator()
Method Detail

getRegistryAddress

public java.lang.String getRegistryAddress()
Specified by:
getRegistryAddress in interface RegistryService

getRegistryWSDDServiceName

public java.lang.String getRegistryWSDDServiceName()

setRegistryWSDDServiceName

public void setRegistryWSDDServiceName(java.lang.String name)

getRegistry

public Registry getRegistry()
                     throws javax.xml.rpc.ServiceException
Specified by:
getRegistry in interface RegistryService
Throws:
javax.xml.rpc.ServiceException

getRegistry

public Registry getRegistry(java.net.URL portAddress)
                     throws javax.xml.rpc.ServiceException
Specified by:
getRegistry in interface RegistryService
Throws:
javax.xml.rpc.ServiceException

setRegistryEndpointAddress

public void setRegistryEndpointAddress(java.lang.String address)

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

setEndpointAddress

public void setEndpointAddress(java.lang.String portName,
                               java.lang.String address)
                        throws javax.xml.rpc.ServiceException
Set the endpoint address for the specified port name.

Throws:
javax.xml.rpc.ServiceException

setEndpointAddress

public void setEndpointAddress(javax.xml.namespace.QName portName,
                               java.lang.String address)
                        throws javax.xml.rpc.ServiceException
Set the endpoint address for the specified port name.

Throws:
javax.xml.rpc.ServiceException