public class ConnectionsManager extends Object
Constructor and Description |
---|
ConnectionsManager() |
Modifier and Type | Method and Description |
---|---|
static void |
addScope(org.gcube.common.core.scope.GCUBEScope scope)
Add the Scope to the monitoredMap
|
static boolean |
checkStartScope(org.gcube.common.core.scope.GCUBEScope scope)
Check if the given scope belongs to start scopes
|
static org.gcube.common.messaging.endpoints.ScheduledRetriever |
getBrokerRetriever(org.gcube.common.core.scope.GCUBEScope scope) |
static javax.jms.QueueConnection |
getQueueConnection(org.gcube.common.core.scope.GCUBEScope scope)
Get the QueueConnection list for the given scope
|
void |
init(long waitingTime,
long refreshTime) |
static void |
reloadConnection(org.gcube.common.core.scope.GCUBEScope scope)
Reload the scope connection
|
public void init(long waitingTime, long refreshTime)
public static javax.jms.QueueConnection getQueueConnection(org.gcube.common.core.scope.GCUBEScope scope)
public static void addScope(org.gcube.common.core.scope.GCUBEScope scope) throws org.gcube.common.messaging.endpoints.BrokerNotConfiguredInScopeException, Exception
org.gcube.common.messaging.endpoints.BrokerNotConfiguredInScopeException
Exception
public static org.gcube.common.messaging.endpoints.ScheduledRetriever getBrokerRetriever(org.gcube.common.core.scope.GCUBEScope scope) throws org.gcube.common.messaging.endpoints.BrokerNotConfiguredInScopeException, Exception
Exception
org.gcube.common.messaging.endpoints.BrokerNotConfiguredInScopeException
public static void reloadConnection(org.gcube.common.core.scope.GCUBEScope scope)
scope
- the scope to reloadpublic static boolean checkStartScope(org.gcube.common.core.scope.GCUBEScope scope)
scope
- the scope to checkCopyright © 2014. All Rights Reserved.