| Package | Description |
|---|---|
| com.helger.commons.scopes.singleton | |
| com.helger.commons.scopes.singleton.tree |
| Modifier and Type | Method and Description |
|---|---|
static <T extends ApplicationSingleton> |
ApplicationSingleton.getApplicationSingleton(Class<T> aClass)
Get the singleton object in the current application scope, using the passed
class.
|
static <T extends ApplicationSingleton> |
ApplicationSingleton.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<ApplicationSingleton> |
ApplicationSingleton.getAllApplicationSingletons()
Get all instantiated singleton objects registered in the current
application scope.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
ApplicationSingleton.isApplicationSingletonInstantiated(Class<? extends ApplicationSingleton> aClass)
Check if a singleton is already instantiated inside the current application
scope
|
| Modifier and Type | Class and Description |
|---|---|
class |
ApplicationSingletonTreeWithUniqueID<KEYTYPE,VALUETYPE>
Represents a global singleton tree with a unique ID.
|
Copyright © 2014–2015 Philip Helger. All rights reserved.