com.hazelcast.hibernate.serialization
Class Hibernate3CacheEntrySerializerHook

java.lang.Object
  extended by com.hazelcast.hibernate.serialization.Hibernate3CacheEntrySerializerHook
All Implemented Interfaces:
SerializerHook

public class Hibernate3CacheEntrySerializerHook
extends Object
implements SerializerHook

This class is used to register a special serializer to not loose power over serialization in Hibernate 3


Constructor Summary
Hibernate3CacheEntrySerializerHook()
           
 
Method Summary
 Serializer createSerializer()
          Creates a new serializer for the serialization type
 Class getSerializationType()
          Returns the actual class type of the serialized object
 boolean isOverwritable()
          Defines if this serializer can be overridden by defining a custom serializer in the configurations (codebase or configuration file)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Hibernate3CacheEntrySerializerHook

public Hibernate3CacheEntrySerializerHook()
Method Detail

getSerializationType

public Class getSerializationType()
Description copied from interface: SerializerHook
Returns the actual class type of the serialized object

Specified by:
getSerializationType in interface SerializerHook
Returns:
the serialized object type

createSerializer

public Serializer createSerializer()
Description copied from interface: SerializerHook
Creates a new serializer for the serialization type

Specified by:
createSerializer in interface SerializerHook
Returns:
a new serializer instance

isOverwritable

public boolean isOverwritable()
Description copied from interface: SerializerHook
Defines if this serializer can be overridden by defining a custom serializer in the configurations (codebase or configuration file)

Specified by:
isOverwritable in interface SerializerHook
Returns:
if the serializer is overwritable


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.