net.sf.beanlib.hibernate3
Class Hibernate3BlobReplicator

java.lang.Object
  extended by net.sf.beanlib.hibernate3.Hibernate3BlobReplicator
All Implemented Interfaces:
BlobReplicatorSpi

public class Hibernate3BlobReplicator
extends Object
implements BlobReplicatorSpi

Hibernate 3 specific Blob Replicator.

Author:
Joe D. Velopar

Nested Class Summary
static class Hibernate3BlobReplicator.Factory
          Factory for Hibernate3BlobReplicator
 
Field Summary
private static Hibernate3BlobReplicator.Factory factory
           
 
Constructor Summary
private Hibernate3BlobReplicator()
           
 
Method Summary
static Hibernate3BlobReplicator.Factory getFactory()
           
static Hibernate3BlobReplicator newBlobReplicatable(BeanTransformerSpi beanTransformer)
           
<T> T
replicateBlob(Blob fromBlob, Class<T> toClass)
          Returns a replicated Blob.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

factory

private static final Hibernate3BlobReplicator.Factory factory
Constructor Detail

Hibernate3BlobReplicator

private Hibernate3BlobReplicator()
Method Detail

getFactory

public static Hibernate3BlobReplicator.Factory getFactory()

newBlobReplicatable

public static Hibernate3BlobReplicator newBlobReplicatable(BeanTransformerSpi beanTransformer)

replicateBlob

public <T> T replicateBlob(Blob fromBlob,
                           Class<T> toClass)
Description copied from interface: BlobReplicatorSpi
Returns a replicated Blob.

Specified by:
replicateBlob in interface BlobReplicatorSpi
Type Parameters:
T - target class type
Parameters:
fromBlob - from Blob
toClass - target class