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