UNICORE Resource Broker NJS Plugin
1.5α1

org.eurogrid.broker.server.ws
Class BrokerServiceLocator

java.lang.Object
  |
  +--org.apache.axis.client.Service
        |
        +--org.eurogrid.broker.server.ws.BrokerServiceLocator
All Implemented Interfaces:
BrokerService, Referenceable, Serializable, Service

public class BrokerServiceLocator
extends Service
implements BrokerService

A factory for broker web-services.

See Also:
Serialized Form

Constructor Summary
BrokerServiceLocator()
           
 
Method Summary
 Broker getBroker()
           
 Broker getBroker(URL portAddress)
           
 String getBrokerAddress()
           
 String getBrokerWSDDServiceName()
           
 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 setBrokerWSDDServiceName(String name)
           
 
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, setEngine, setEngineConfiguration, setMaintainSession, setTypeMappingRegistry
 
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
 

Constructor Detail

BrokerServiceLocator

public BrokerServiceLocator()
Method Detail

getBroker

public Broker getBroker()
                 throws ServiceException
Specified by:
getBroker in interface BrokerService
ServiceException

getBroker

public Broker getBroker(URL portAddress)
                 throws ServiceException
Specified by:
getBroker in interface BrokerService
ServiceException

getBrokerAddress

public String getBrokerAddress()
Specified by:
getBrokerAddress in interface BrokerService

getBrokerWSDDServiceName

public String getBrokerWSDDServiceName()

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
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
ServiceException

getPorts

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

getServiceName

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

setBrokerWSDDServiceName

public void setBrokerWSDDServiceName(String name)

UNICORE Resource Broker NJS Plugin
1.5α1

Submit a bug or feature
Copyright © 2002-2004 University of Manchester, U.K. See license.terms for details.