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