public class RequestOperatorRepository extends AbstractConfiguringServiceLoaderRepository<RequestOperator>
Modifier and Type | Class and Description |
---|---|
private static class |
RequestOperatorRepository.LazyHolder |
Modifier and Type | Field and Description |
---|---|
private static org.slf4j.Logger |
LOG |
private Map<RequestOperatorKey,Activatable<RequestOperator>> |
requestOperators |
Modifier | Constructor and Description |
---|---|
private |
RequestOperatorRepository()
private constructor for singleton
|
Modifier and Type | Method and Description |
---|---|
Set<RequestOperatorKey> |
getActiveRequestOperatorKeys() |
Set<RequestOperatorKey> |
getAllRequestOperatorKeys() |
static RequestOperatorRepository |
getInstance() |
RequestOperator |
getRequestOperator(RequestOperatorKey key) |
RequestOperator |
getRequestOperator(ServiceOperatorKey sok,
String operationName) |
protected void |
processConfiguredImplementations(Set<RequestOperator> requestOperators) |
void |
setActive(RequestOperatorKey rokt,
boolean active) |
void |
update() |
processImplementations
checkConnectionProviderIdentifications, load
private static final org.slf4j.Logger LOG
private final Map<RequestOperatorKey,Activatable<RequestOperator>> requestOperators
private RequestOperatorRepository() throws ConfigurationException
ConfigurationException
public static RequestOperatorRepository getInstance()
protected void processConfiguredImplementations(Set<RequestOperator> requestOperators) throws ConfigurationException
processConfiguredImplementations
in class AbstractConfiguringServiceLoaderRepository<RequestOperator>
ConfigurationException
public void update() throws ConfigurationException
update
in class AbstractServiceLoaderRepository<RequestOperator>
ConfigurationException
public RequestOperator getRequestOperator(RequestOperatorKey key)
public RequestOperator getRequestOperator(ServiceOperatorKey sok, String operationName)
public void setActive(RequestOperatorKey rokt, boolean active)
public Set<RequestOperatorKey> getActiveRequestOperatorKeys()
public Set<RequestOperatorKey> getAllRequestOperatorKeys()
Copyright © 2012-2015 52north.org. All Rights Reserved.