public interface ISharedStateComponent extends IComponent
| Modifier and Type | Method and Description |
|---|---|
<T> void |
clearProperty(String namespace,
String propertyName,
IAsyncResultHandler<Void> handler)
Clears/removes a property from the shared state environment.
|
<T> void |
getProperty(String namespace,
String propertyName,
T defaultValue,
IAsyncResultHandler<T> handler)
Gets the value of a single property stored in the shared state
environment.
|
<T> void |
setProperty(String namespace,
String propertyName,
T value,
IAsyncResultHandler<Void> handler)
Sets a single property in the shared state environment.
|
<T> void getProperty(String namespace, String propertyName, T defaultValue, IAsyncResultHandler<T> handler)
namespace - propertyName - defaultValue - handler - <T> void setProperty(String namespace, String propertyName, T value, IAsyncResultHandler<Void> handler)
namespace - propertyName - value - handler - <T> void clearProperty(String namespace, String propertyName, IAsyncResultHandler<Void> handler)
namespace - propertyName - handler - Copyright © 2015 JBoss, a division of Red Hat. All rights reserved.