| Package | Description |
|---|---|
| com.helger.commons.scopes.singleton | |
| com.helger.commons.scopes.singleton.tree |
| Modifier and Type | Method and Description |
|---|---|
static <T extends SessionSingleton> |
SessionSingleton.getSessionSingleton(Class<T> aClass)
Get the singleton object in the current session scope, using the passed
class.
|
static <T extends SessionSingleton> |
SessionSingleton.getSessionSingletonIfInstantiated(Class<T> aClass)
Get the singleton object if it is already instantiated inside the current
session scope or
null if it is not instantiated. |
| Modifier and Type | Method and Description |
|---|---|
static List<SessionSingleton> |
SessionSingleton.getAllSessionSingletons()
Get all instantiated singleton objects registered in the current session
scope.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
SessionSingleton.isSessionSingletonInstantiated(Class<? extends SessionSingleton> aClass)
Check if a singleton is already instantiated inside the current session
scope
|
| Modifier and Type | Class and Description |
|---|---|
class |
SessionSingletonTreeWithUniqueID<KEYTYPE,VALUETYPE>
Represents a global singleton tree with a unique ID.
|
Copyright © 2014–2015 Philip Helger. All rights reserved.