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