| Package | Description |
|---|---|
| com.helger.scope.singleton |
| 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 com.helger.commons.collection.impl.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
|
Copyright © 2016–2019 Philip Helger. All rights reserved.