Top Description Fields Constructors Methods
org.glassfish.hk2.api

public final Enum ServiceLocatorState

extends Enum<ServiceLocatorState>
Class Inheritance

The possible states in which a service locator can be in. Portable code should assume that future states will be added
Author
jwells

Field Summary

Modifier and TypeField and Description
public static final ServiceLocatorState
RUNNING

In this state the ServiceLocator is able to service requests, do injections and generally operate in a normal manner

public static final ServiceLocatorState
SHUTDOWN

In this state the ServiceLocator has been shutdown, and only a few selected operations will not throw an IllegalStateException

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static ServiceLocatorState
public static ServiceLocatorState[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

RUNNINGback to summary
public static final ServiceLocatorState RUNNING

In this state the ServiceLocator is able to service requests, do injections and generally operate in a normal manner

SHUTDOWNback to summary
public static final ServiceLocatorState SHUTDOWN

In this state the ServiceLocator has been shutdown, and only a few selected operations will not throw an IllegalStateException

Constructor Detail

ServiceLocatorStateback to summary
private ServiceLocatorState()

Method Detail

valueOfback to summary
public static ServiceLocatorState valueOf(String name)
valuesback to summary
public static ServiceLocatorState[] values()