@Service(name="globals") @Singleton public class Globals extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Globals.GlobalsInitializer
The point of this service is to ensure that the Globals
service is properly initialized by the RunLevelService
at the InitRunLevel.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
get(Class<T> type) |
static org.glassfish.hk2.api.ServiceLocator |
getDefaultBaseServiceLocator() |
static org.glassfish.hk2.api.ServiceLocator |
getDefaultHabitat() |
static org.glassfish.hk2.api.ServiceLocator |
getStaticBaseServiceLocator() |
static org.glassfish.hk2.api.ServiceLocator |
getStaticHabitat() |
static void |
setDefaultHabitat(org.glassfish.hk2.api.ServiceLocator habitat) |
public static org.glassfish.hk2.api.ServiceLocator getDefaultBaseServiceLocator()
public static org.glassfish.hk2.api.ServiceLocator getDefaultHabitat()
public static <T> T get(Class<T> type)
public static void setDefaultHabitat(org.glassfish.hk2.api.ServiceLocator habitat)
public static org.glassfish.hk2.api.ServiceLocator getStaticBaseServiceLocator()
public static org.glassfish.hk2.api.ServiceLocator getStaticHabitat()
Copyright © 2015. All rights reserved.