UNICORE Resource Broker NJS Plugin
1.5α1

org.eurogrid.broker.server.ws
Class BrokerWS

java.lang.Object
  |
  +--org.eurogrid.broker.server.ws.BrokerSoapBindingImpl
        |
        +--org.eurogrid.broker.server.ws.BrokerWS
All Implemented Interfaces:
Broker, BrokerCore, Remote

public class BrokerWS
extends BrokerSoapBindingImpl

The part of the Broker webservice that is shareable between NJSes.

Author:
Donal K. Fellows
See Also:
BrokerCore

Nested Class Summary
static class BrokerWS.BrokerConfigException
          Exceptions that occur when configuring the broker
 
Field Summary
static String DEFAULT_CONFIG_FILE
          The filename that we look for by default when configuring.
 
Constructor Summary
BrokerWS()
           
BrokerWS(Element doc)
           
BrokerWS(String file)
           
 
Method Summary
 VsiteEstimateMap checkQoS(String host, String resourceDB, TaskResourceDAG resourceDAG, User user, byte[] context)
          Produce a set of quality-of-service estimates based on a UNICORE job description.
 VsiteTaskIDStatusMap checkResources(String host, String resourceDB, TaskResourceDAG resourceDAG, User user, byte[] context)
          Discover where a UNICORE job (and its components) may be run.
 
Methods inherited from class org.eurogrid.broker.server.ws.BrokerSoapBindingImpl
checkQoS, checkResources
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_CONFIG_FILE

public static final String DEFAULT_CONFIG_FILE
The filename that we look for by default when configuring.

See Also:
Constant Field Values
Constructor Detail

BrokerWS

public BrokerWS()
         throws BrokerWS.BrokerConfigException

BrokerWS

public BrokerWS(Element doc)
         throws BrokerWS.BrokerConfigException

BrokerWS

public BrokerWS(String file)
         throws BrokerWS.BrokerConfigException
Method Detail

checkQoS

public VsiteEstimateMap checkQoS(String host,
                                 String resourceDB,
                                 TaskResourceDAG resourceDAG,
                                 User user,
                                 byte[] context)
                          throws ResourceCheckerException
Produce a set of quality-of-service estimates based on a UNICORE job description.

ResourceCheckerException

checkResources

public VsiteTaskIDStatusMap checkResources(String host,
                                           String resourceDB,
                                           TaskResourceDAG resourceDAG,
                                           User user,
                                           byte[] context)
                                    throws ResourceCheckerException
Discover where a UNICORE job (and its components) may be run.

ResourceCheckerException

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.