public class ComputeProviderFactory extends Object
It holds a map of compute-provider-types and their class-names. The mapping between the id & classes is configured in the Spring config files. ComputeProvider instances ARE NOT cached after being created.
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
log |
| Constructor and Description |
|---|
ComputeProviderFactory() |
| Modifier and Type | Method and Description |
|---|---|
static ComputeProvider |
getComputeProvider(ComputeProviderType providerType) |
Map<String,String> |
getIdToClassMap() |
static void |
setIdToClassMap(Map<String,String> map) |
public static ComputeProvider getComputeProvider(ComputeProviderType providerType) throws Exception
ExceptionCopyright © 2009–2016 DuraSpace. All rights reserved.