org.gcube.common.clients
Class ClientRuntime

java.lang.Object
  extended by org.gcube.common.clients.ClientRuntime

public class ClientRuntime
extends Object

The runtime of gCube clients.

Embeds and installs a tailored gHN distribution which allows clients to make calls to services deployed in gCube infrastructures. Supports resource discovery, publication, and event notifications. Notification support requires the availability of open ports and relies on the host name of the local machine. Alternative host names can be configured as the value of the LOGICAL_HOST_SYSTEM_PROPERTY.

Author:
Fabio Simeoni

Field Summary
static String location_property
           
 
Constructor Summary
ClientRuntime()
           
 
Method Summary
static void start()
          Installs an embedded client distribution on a temporary location on the file system, and then starts it.
static void stop()
          Deletes the client distribution.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

location_property

public static final String location_property
See Also:
Constant Field Values
Constructor Detail

ClientRuntime

public ClientRuntime()
Method Detail

start

public static void start()
Installs an embedded client distribution on a temporary location on the file system, and then starts it.


stop

public static void stop()
Deletes the client distribution.



Copyright © 2013. All Rights Reserved.