| Package | Description |
|---|---|
| com.helger.commons.scope.singleton | |
| com.helger.commons.scope.singletons |
| Modifier and Type | Method and Description |
|---|---|
static <T extends AbstractApplicationSingleton> |
AbstractApplicationSingleton.getApplicationSingleton(Class<T> aClass)
Get the singleton object in the current application scope, using the passed
class.
|
static <T extends AbstractApplicationSingleton> |
AbstractApplicationSingleton.getApplicationSingletonIfInstantiated(Class<T> aClass)
Get the singleton object if it is already instantiated inside the current
application scope or
null if it is not instantiated. |
| Modifier and Type | Method and Description |
|---|---|
static List<AbstractApplicationSingleton> |
AbstractApplicationSingleton.getAllApplicationSingletons()
Get all instantiated singleton objects registered in the current
application scope.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
AbstractApplicationSingleton.isApplicationSingletonInstantiated(Class<? extends AbstractApplicationSingleton> aClass)
Check if a singleton is already instantiated inside the current application
scope
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractApplicationSingletonTreeWithUniqueID<KEYTYPE,VALUETYPE>
Represents a global singleton tree with a unique ID.
|
Copyright © 2014–2016 Philip Helger. All rights reserved.