net.sf.beanlib.hibernate3
Class Hibernate3BlobReplicator
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
factory
private static final Hibernate3BlobReplicator.Factory factory
Hibernate3BlobReplicator
private Hibernate3BlobReplicator()
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 BlobtoClass
- target class