org.exist.soap
Class AdminServiceLocator

java.lang.Object
  extended by org.apache.axis.client.Service
      extended by org.exist.soap.AdminServiceLocator
All Implemented Interfaces:
Serializable, Referenceable, Service, AdminService

public class AdminServiceLocator
extends Service
implements AdminService

See Also:
Serialized Form

Constructor Summary
AdminServiceLocator()
           
AdminServiceLocator(EngineConfiguration config)
           
AdminServiceLocator(String wsdlLoc, QName sName)
           
 
Method Summary
 Admin getAdmin()
           
 Admin getAdmin(URL portAddress)
           
 String getAdminAddress()
           
 String getAdminWSDDServiceName()
           
 Remote getPort(Class serviceEndpointInterface)
          For the given interface, get the stub implementation.
 Remote getPort(QName portName, Class serviceEndpointInterface)
          For the given interface, get the stub implementation.
 Iterator getPorts()
           
 QName getServiceName()
           
 void setAdminEndpointAddress(String address)
           
 void setAdminWSDDServiceName(String name)
           
 void setEndpointAddress(QName portName, String address)
          Set the endpoint address for the specified port name.
 void setEndpointAddress(String portName, String address)
          Set the endpoint address for the specified port 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, setTypeMappingVersion
 
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

AdminServiceLocator

public AdminServiceLocator()

AdminServiceLocator

public AdminServiceLocator(EngineConfiguration config)

AdminServiceLocator

public AdminServiceLocator(String wsdlLoc,
                           QName sName)
                    throws ServiceException
Throws:
ServiceException
Method Detail

getAdminAddress

public String getAdminAddress()
Specified by:
getAdminAddress in interface AdminService

getAdminWSDDServiceName

public String getAdminWSDDServiceName()

setAdminWSDDServiceName

public void setAdminWSDDServiceName(String name)

getAdmin

public Admin getAdmin()
               throws ServiceException
Specified by:
getAdmin in interface AdminService
Throws:
ServiceException

getAdmin

public Admin getAdmin(URL portAddress)
               throws ServiceException
Specified by:
getAdmin in interface AdminService
Throws:
ServiceException

setAdminEndpointAddress

public void setAdminEndpointAddress(String address)

getPort

public Remote getPort(Class serviceEndpointInterface)
               throws 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 Service
Overrides:
getPort in class Service
Throws:
ServiceException

getPort

public Remote getPort(QName portName,
                      Class serviceEndpointInterface)
               throws 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 Service
Overrides:
getPort in class Service
Throws:
ServiceException

getServiceName

public QName getServiceName()
Specified by:
getServiceName in interface Service
Overrides:
getServiceName in class Service

getPorts

public Iterator getPorts()
Specified by:
getPorts in interface Service
Overrides:
getPorts in class Service

setEndpointAddress

public void setEndpointAddress(String portName,
                               String address)
                        throws ServiceException
Set the endpoint address for the specified port name.

Throws:
ServiceException

setEndpointAddress

public void setEndpointAddress(QName portName,
                               String address)
                        throws ServiceException
Set the endpoint address for the specified port name.

Throws:
ServiceException


Copyright (C) Wolfgang Meier. All rights reserved.