org.glite.security.voms.service
Class VOMSSetup

java.lang.Object
  extended byorg.glite.security.voms.service.VOMSSetup

public final class VOMSSetup
extends java.lang.Object

Contains start() and stop() methods for starting and stopping auxiliary services of the VOMS Java environment.


Constructor Summary
VOMSSetup()
           
 
Method Summary
static boolean isFailed()
          Return true if the service has failed to start up correctly.
static boolean isStarted()
          Return true if the service has been fully initialized.
static void start()
          Initializes the VOMS Java environment.
static void stop()
          Stops background threads, cleans up Java environment.
static void waitUntilStarted()
          Block until the service has been fully initialized.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VOMSSetup

public VOMSSetup()
Method Detail

isStarted

public static boolean isStarted()
Return true if the service has been fully initialized.


isFailed

public static boolean isFailed()
Return true if the service has failed to start up correctly.


waitUntilStarted

public static void waitUntilStarted()
Block until the service has been fully initialized.

Throws:
RunTimeException - if a bootstrap problem prevented the service from starting up correctly.

start

public static void start()
Initializes the VOMS Java environment.


stop

public static void stop()
Stops background threads, cleans up Java environment.