|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.common.ghn.client.ClientContainer
public abstract class ClientContainer
A container for clients of gCube Hosting Nodes.
| Method Summary | |
|---|---|
static ContainerConfiguration |
configuration()
Returns the ContainerConfiguration. |
static boolean |
isRunning()
Returns true if the container is running. |
static void |
start()
Starts the container with the configuration provided by a ConfigurationProvider. |
static void |
start(ContainerConfiguration configuration)
Starts the container with a given ContainerConfiguration. |
static void |
stop()
Stops the container |
static void |
stop(List<ClientService> services)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void start()
throws RuntimeException
ConfigurationProvider.
RuntimeException - if the configuration cannot be provided or the container cannot be startedpublic static ContainerConfiguration configuration()
ContainerConfiguration.
public static boolean isRunning()
true if the container is running.
true if the container is running.
public static void start(ContainerConfiguration configuration)
throws IllegalArgumentException,
RuntimeException
ContainerConfiguration.
configuration - configuration
IllegalArgumentException - if the configuration is null or container no ClientServices.
RuntimeException - if the container cannot be startedpublic static void stop()
public static void stop(List<ClientService> services)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||