T - the type of object to retrieve from pagepublic abstract class AbstractRetriever<T> extends Object implements RetrievedValueHolder<T>
ThreadLocal.| Constructor and Description |
|---|
AbstractRetriever() |
| Modifier and Type | Method and Description |
|---|---|
T |
getValue()
Returns the last retrieved value.
|
void |
initializeValue()
Initializes the value associated to this retriever internally.
|
boolean |
isValueChanged() |
abstract T |
retrieve() |
void |
setValue(T value)
Initializes the value associated to this retriever with given value.
|
public T getValue()
RetrievedValueHoldergetValue in interface RetrievedValueHolder<T>public void initializeValue()
RetrievedValueHolderinitializeValue in interface RetrievedValueHolder<T>public void setValue(T value)
RetrievedValueHoldersetValue in interface RetrievedValueHolder<T>value - the value to associate with this retrieverpublic boolean isValueChanged()
public abstract T retrieve()
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.