@ApplicationScoped public class ApplicationStateService extends Object
| Constructor and Description |
|---|
ApplicationStateService()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
get(String key)
Gets application state by key.
|
Object |
get(String key,
Object defaultValue)
Gets the application state by key, returning the given default if
not found in the state map.
|
void |
put(String key,
Object value)
Store some application state by key.
|
Copyright © 2011-2014 JBoss, a division of Red Hat. All Rights Reserved.