public class ValueEncoderSourceImpl extends Object implements ValueEncoderSource, InvalidationListener
Constructor and Description |
---|
ValueEncoderSourceImpl(Map<Class,ValueEncoderFactory> configuration) |
Modifier and Type | Method and Description |
---|---|
<T> ValueEncoder<T> |
getValueEncoder(Class<T> type)
Gets or creates a value encoder for the indicated type.
|
void |
objectWasInvalidated()
Invoked to indicate that some object is invalid.
|
public ValueEncoderSourceImpl(Map<Class,ValueEncoderFactory> configuration)
public <T> ValueEncoder<T> getValueEncoder(Class<T> type)
ValueEncoderSource
getValueEncoder
in interface ValueEncoderSource
type
- type of value to be encoded and decodedpublic void objectWasInvalidated()
InvalidationListener
objectWasInvalidated
in interface InvalidationListener
Copyright © 2003-2012 The Apache Software Foundation.