org.dasein.cloud.atmos
Class AtmosGeography

java.lang.Object
  extended by org.dasein.cloud.atmos.AtmosGeography
All Implemented Interfaces:
org.dasein.cloud.dc.DataCenterServices

public class AtmosGeography
extends Object
implements org.dasein.cloud.dc.DataCenterServices

Fakes the concept of data center services for standalone Atmos implementations.

Created by George Reese: 10/8/12 10:42 AM

Since:
2012.09
Version:
2012.09 initial version
Author:
George Reese

Method Summary
 org.dasein.cloud.dc.DataCenter getDataCenter(String dataCenterId)
           
 String getProviderTermForDataCenter(Locale locale)
           
 String getProviderTermForRegion(Locale locale)
           
 org.dasein.cloud.dc.Region getRegion(String providerRegionId)
           
 Collection<org.dasein.cloud.dc.DataCenter> listDataCenters(String providerRegionId)
           
 Collection<org.dasein.cloud.dc.Region> listRegions()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getDataCenter

@Nullable
public org.dasein.cloud.dc.DataCenter getDataCenter(@Nonnull
                                                             String dataCenterId)
                                             throws org.dasein.cloud.InternalException,
                                                    org.dasein.cloud.CloudException
Specified by:
getDataCenter in interface org.dasein.cloud.dc.DataCenterServices
Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException

getProviderTermForDataCenter

@Nonnull
public String getProviderTermForDataCenter(@Nonnull
                                                   Locale locale)
Specified by:
getProviderTermForDataCenter in interface org.dasein.cloud.dc.DataCenterServices

getProviderTermForRegion

@Nonnull
public String getProviderTermForRegion(@Nonnull
                                               Locale locale)
Specified by:
getProviderTermForRegion in interface org.dasein.cloud.dc.DataCenterServices

getRegion

@Nullable
public org.dasein.cloud.dc.Region getRegion(@Nonnull
                                                     String providerRegionId)
                                     throws org.dasein.cloud.InternalException,
                                            org.dasein.cloud.CloudException
Specified by:
getRegion in interface org.dasein.cloud.dc.DataCenterServices
Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException

listDataCenters

@Nonnull
public Collection<org.dasein.cloud.dc.DataCenter> listDataCenters(@Nonnull
                                                                          String providerRegionId)
                                                           throws org.dasein.cloud.InternalException,
                                                                  org.dasein.cloud.CloudException
Specified by:
listDataCenters in interface org.dasein.cloud.dc.DataCenterServices
Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException

listRegions

public Collection<org.dasein.cloud.dc.Region> listRegions()
                                                   throws org.dasein.cloud.InternalException,
                                                          org.dasein.cloud.CloudException
Specified by:
listRegions in interface org.dasein.cloud.dc.DataCenterServices
Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException


Copyright © 2012-2013 enStratus Networks Inc. All Rights Reserved.