public class ContextImpl extends Object implements Context
| Modifier | Constructor and Description | 
|---|---|
protected  | 
ContextImpl(String name,
           ProviderMetadata providerMetadata,
           com.google.common.base.Supplier<Credentials> creds,
           Utils utils,
           Closer closer)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
close()
Closes all connections, including executor service 
 | 
boolean | 
equals(Object obj) | 
String | 
getDescription()
Description of the location 
 | 
String | 
getId()
Unique ID provided by the provider (us-standard, miami, etc) 
 | 
String | 
getIdentity() | 
Set<String> | 
getIso3166Codes() | 
Map<String,Object> | 
getMetadata() | 
String | 
getName()
Identifies the Context. 
 | 
Location | 
getParent()
The parent, or null, if top-level 
 | 
ProviderMetadata | 
getProviderMetadata() | 
LocationScope | 
getScope()
Scope of the location, ex. 
 | 
Utils | 
getUtils() | 
int | 
hashCode() | 
String | 
toString() | 
Utils | 
utils()  | 
@Inject protected ContextImpl(String name, ProviderMetadata providerMetadata, com.google.common.base.Supplier<Credentials> creds, Utils utils, Closer closer)
public void close()
public ProviderMetadata getProviderMetadata()
getProviderMetadata in interface ContextContextBuilder.newBuilder(org.jclouds.providers.ProviderMetadata)public String getName()
public String getIdentity()
getIdentity in interface ContextApiMetadata.getDefaultIdentity()public Utils utils()
utils in interface ContextContext.getUtils()public String getDescription()
getDescription in interface Locationpublic String getId()
public Set<String> getIso3166Codes()
getIso3166Codes in interface Locationpublic Map<String,Object> getMetadata()
getMetadata in interface Locationpublic Location getParent()
public LocationScope getScope()
Copyright © 2009-2013 jclouds. All Rights Reserved.