Class ByteBufferMarshalledValueFactory
java.lang.Object
org.wildfly.clustering.marshalling.spi.ByteBufferMarshalledValueFactory
- All Implemented Interfaces:
Marshallability,MarshalledValueFactory<ByteBufferMarshaller>
- Direct Known Subclasses:
ByteBufferMarshalledKeyFactory
public class ByteBufferMarshalledValueFactory
extends Object
implements MarshalledValueFactory<ByteBufferMarshaller>
Factory for creating a
ByteBufferMarshalledValue.- Author:
- Paul Ferraro
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> ByteBufferMarshalledValue<T>createMarshalledValue(T object) booleanisMarshallable(Object object) Indicates whether the specified object can be marshalled.
-
Constructor Details
-
ByteBufferMarshalledValueFactory
-
-
Method Details
-
isMarshallable
Description copied from interface:MarshallabilityIndicates whether the specified object can be marshalled.- Specified by:
isMarshallablein interfaceMarshallability- Parameters:
object- an object to be marshalled- Returns:
- true, if the specified object can be marshalled, false otherwise
-
createMarshalledValue
- Specified by:
createMarshalledValuein interfaceMarshalledValueFactory<ByteBufferMarshaller>
-
getMarshallingContext
- Specified by:
getMarshallingContextin interfaceMarshalledValueFactory<ByteBufferMarshaller>
-