org.gcube.vremanagement.resourcemanager.impl.brokerage
Class BrokerConnector

java.lang.Object
  extended by org.gcube.vremanagement.resourcemanager.impl.brokerage.BrokerConnector

public class BrokerConnector
extends java.lang.Object

Locates and initializes the Broker to use for services' deployment. A Broker is a component capable to create a plan for allocating gCube packages to gHNs

Author:
Manuele Simi (ISTI-CNR)

Constructor Summary
BrokerConnector()
           
 
Method Summary
static Broker getBroker(GCUBEScope scope)
          Returns the broker to use in the given scope
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BrokerConnector

public BrokerConnector()
Method Detail

getBroker

public static Broker getBroker(GCUBEScope scope)
                        throws java.lang.Exception
Returns the broker to use in the given scope

Parameters:
scope -
Returns:
Throws:
java.lang.Exception