| Package | Description |
|---|---|
| com.helger.web.scope.singleton |
| Modifier and Type | Method and Description |
|---|---|
static <T extends AbstractRequestWebSingleton> |
AbstractRequestWebSingleton.getRequestSingleton(Class<T> aClass)
Get the singleton object in the current request web scope, using the passed
class.
|
static <T extends AbstractRequestWebSingleton> |
AbstractRequestWebSingleton.getRequestSingletonIfInstantiated(Class<T> aClass)
Get the singleton object if it is already instantiated inside the current
request web scope or
null if it is not instantiated. |
| Modifier and Type | Method and Description |
|---|---|
static com.helger.commons.collection.impl.ICommonsList<AbstractRequestWebSingleton> |
AbstractRequestWebSingleton.getAllRequestSingletons()
Get all singleton objects registered in the current request web scope.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
AbstractRequestWebSingleton.isRequestSingletonInstantiated(Class<? extends AbstractRequestWebSingleton> aClass)
Check if a singleton is already instantiated inside the current request web
scope
|
Copyright © 2014–2019 Philip Helger. All rights reserved.