org.gcube.common.vremanagement.ghnmanager.impl.platforms
Class GHNPlatforms

java.lang.Object
  extended by org.gcube.common.vremanagement.ghnmanager.impl.platforms.GHNPlatforms

public class GHNPlatforms
extends java.lang.Object

Cache for local VirtualPlatform

Author:
Manuele Simi (ISTI-CNR)

Method Summary
static org.gcube.vremanagement.virtualplatform.image.VirtualPlatform get(org.gcube.vremanagement.virtualplatform.image.PlatformConfiguration config)
          Gets the platform for the given configuration
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

get

public static org.gcube.vremanagement.virtualplatform.image.VirtualPlatform get(org.gcube.vremanagement.virtualplatform.image.PlatformConfiguration config)
                                                                         throws java.lang.Exception
Gets the platform for the given configuration

Parameters:
config - the platform configuration
Returns:
the platform
Throws:
java.lang.Exception - if the initialization of the platform fails or it does not exist