@NotThreadSafe public class DefaultScopeFactory extends Object implements IScopeFactory
| Constructor and Description |
|---|
DefaultScopeFactory() |
| Modifier and Type | Method and Description |
|---|---|
IApplicationScope |
createApplicationScope(String sScopeID)
Create a new application scope
|
IGlobalScope |
createGlobalScope(String sScopeID)
Create a new global scope.
|
IRequestScope |
createRequestScope(String sScopeID,
String sSessionID)
Create a new request scope
|
ISessionApplicationScope |
createSessionApplicationScope(String sScopeID)
Create a new session application scope
|
ISessionScope |
createSessionScope(String sScopeID)
Create a new session scope
|
@Nonnull public IGlobalScope createGlobalScope(@Nonnull @Nonempty String sScopeID)
IScopeFactorycreateGlobalScope in interface IScopeFactorysScopeID - The scope ID to use. May neither be null nor empty.null.@Nonnull public IApplicationScope createApplicationScope(@Nonnull @Nonempty String sScopeID)
IScopeFactorycreateApplicationScope in interface IScopeFactorysScopeID - The scope ID to usenull.@Nonnull public ISessionScope createSessionScope(@Nonnull @Nonempty String sScopeID)
IScopeFactorycreateSessionScope in interface IScopeFactorysScopeID - The scope ID to usenull.@Nonnull public ISessionApplicationScope createSessionApplicationScope(@Nonnull @Nonempty String sScopeID)
IScopeFactorycreateSessionApplicationScope in interface IScopeFactorysScopeID - The scope ID to usenull.@Nonnull public IRequestScope createRequestScope(@Nonnull @Nonempty String sScopeID, @Nonnull @Nonempty String sSessionID)
IScopeFactorycreateRequestScope in interface IScopeFactorysScopeID - The scope ID to use. May neither be null nor empty.sSessionID - The session scope ID to use. May be null.null.Copyright © 2014–2017 Philip Helger. All rights reserved.