Interface MarshalledValueFactory<C>
- Type Parameters:
C- the marshalling context type
- All Superinterfaces:
Marshallability
- All Known Implementing Classes:
ByteBufferMarshalledKeyFactory,ByteBufferMarshalledValueFactory
Factory for creating marshalled values.
- Author:
- Paul Ferraro
-
Field Summary
Fields inherited from interface org.wildfly.clustering.marshalling.Marshallability
TRUE -
Method Summary
Modifier and TypeMethodDescription<T> MarshalledValue<T,C> createMarshalledValue(T object) Creates a new marshalled value from the specified object.The marshalling context applied to marshalled values created by this factory.Methods inherited from interface org.wildfly.clustering.marshalling.Marshallability
isMarshallable
-
Method Details
-
createMarshalledValue
Creates a new marshalled value from the specified object.- Type Parameters:
T- the value type- Parameters:
object- a value to be marshalled- Returns:
- a marshalled value
-
getMarshallingContext
C getMarshallingContext()The marshalling context applied to marshalled values created by this factory.- Returns:
- the marshalling context
-