@UsesMappedConfiguration(key=java.lang.Class.class, value=ApplicationStateContribution.class) public interface ApplicationStateManager
SessionState
Modifier and Type | Method and Description |
---|---|
<T> boolean |
exists(Class<T> ssoClass)
Returns true if the SSO already exists, false if it has not yet been created.
|
<T> T |
get(Class<T> ssoClass)
For a given class, find the SSO for the class, creating it if necessary.
|
<T> T |
getIfExists(Class<T> ssoClass)
For a given class, find the SSO for the class.
|
<T> void |
set(Class<T> ssoClass,
T SSO)
Stores a new SSO, replacing the existing SSO (if any).
|
<T> T get(Class<T> ssoClass)
ObjectLocator.autobuild(Class)
.
This
allows an SSO to keep references to Tapestry IoC services or other objects that can be injected.ssoClass
- identifies the SSO to access or create<T> T getIfExists(Class<T> ssoClass)
ssoClass
- identifies the SSO to access or create<T> boolean exists(Class<T> ssoClass)
ssoClass
- used to select the SSO${project.version} - Copyright © 2003-2015 The Apache Software Foundation.