net.sf.beanlib.provider.replicator
Class UnsupportedBlobReplicator

java.lang.Object
  extended by net.sf.beanlib.provider.replicator.UnsupportedBlobReplicator
All Implemented Interfaces:
BlobReplicatorSpi

public class UnsupportedBlobReplicator
extends Object
implements BlobReplicatorSpi

Default implementation of BlobReplicatorSpi.

A placeholder for the yet-to-be-supported Blob replicator implementation.

Author:
Joe D. Velopar

Nested Class Summary
private static class UnsupportedBlobReplicator.Factory
          Factory for UnsupportedBlobReplicator
 
Field Summary
static UnsupportedBlobReplicator.Factory factory
           
 
Constructor Summary
private UnsupportedBlobReplicator()
           
 
Method Summary
static UnsupportedBlobReplicator 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

public static final UnsupportedBlobReplicator.Factory factory
Constructor Detail

UnsupportedBlobReplicator

private UnsupportedBlobReplicator()
Method Detail

newBlobReplicatable

public static UnsupportedBlobReplicator 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