public interface IGlobalScope extends IScope
| Modifier and Type | Method and Description |
|---|---|
ICommonsMap<String,IApplicationScope> |
getAllApplicationScopes() |
IApplicationScope |
getApplicationScope(String sAppID,
boolean bCreateIfNotExisting)
Get or create an application scope with the given ID.
|
int |
getApplicationScopeCount() |
destroyScope, getAllScopeRenewalAwareAttributes, getID, initScope, isDestroyed, isInDestruction, isValid, runAtomic, runAtomicgetAndSetAttributeFlag, setAttribute, setAttribute, setAttribute, setAttributecomputeIfAbsent, removeAttribute, setAttribute, setAttributes, setAttributescontainsAttribute, forAllAttributes, forAllAttributeValues, getAllAttributeNames, getAllAttributes, getAllAttributeValues, getAttributeAsBigDecimal, getAttributeAsBigDecimal, getAttributeAsBigInteger, getAttributeAsBigInteger, getAttributeAsBoolean, getAttributeAsBoolean, getAttributeAsDouble, getAttributeAsDouble, getAttributeAsInt, getAttributeAsInt, getAttributeAsLong, getAttributeAsLong, getAttributeAsString, getAttributeAsString, getAttributeCount, getAttributeObject, getCastedAttribute, getCastedAttribute, getTypedAttribute, getTypedAttribute, isEmpty, isNotEmpty, iteratorcontainsAny, containsNone, containsOnly, findAll, findAllInstanceOf, findAllMapped, findAllMapped, findAllMapped, findFirst, findFirst, findFirstMapped, findFirstMapped, forEach, forEach, forEachBreakable, getIteratorCount, getIteratorCountforEach, spliteratorcleargetComparatorID@Nullable IApplicationScope getApplicationScope(@Nonnull @Nonempty String sAppID, boolean bCreateIfNotExisting)
sAppID - The ID of the application scope to create. May neither be
null nor empty.bCreateIfNotExisting - if true the scope is created on first demand if it is
not yet existing.null if bCreateIfNotExisting is false and
the scope is not present@Nonnull ICommonsMap<String,IApplicationScope> getAllApplicationScopes()
null map with all available application scopes.
The key is the application ID and the value is the scope.@Nonnegative int getApplicationScopeCount()
Copyright © 2014–2017 Philip Helger. All rights reserved.