JBoss Marshalling 1.3.0.CR9

org.jboss.marshalling.cloner
Class ObjectCloners

java.lang.Object
  extended by org.jboss.marshalling.cloner.ObjectCloners

public final class ObjectCloners
extends Object

A class which may be used to got cloner factory instances.


Method Summary
static ObjectClonerSource createObjectClonerSource(ObjectClonerFactory factory, ClonerConfiguration configuration)
          Get an object cloner source which creates cloners with a static configuration.
static ObjectClonerFactory getCloneableObjectClonerFactory()
          Get the cloneable object cloner factory.
static ObjectClonerFactory getSerializingObjectClonerFactory()
          Get the serializing object cloner factory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getCloneableObjectClonerFactory

public static ObjectClonerFactory getCloneableObjectClonerFactory()
Get the cloneable object cloner factory.

Returns:
the cloneable object cloner factory

getSerializingObjectClonerFactory

public static ObjectClonerFactory getSerializingObjectClonerFactory()
Get the serializing object cloner factory.

Returns:
the serializing object cloner factory

createObjectClonerSource

public static ObjectClonerSource createObjectClonerSource(ObjectClonerFactory factory,
                                                          ClonerConfiguration configuration)
Get an object cloner source which creates cloners with a static configuration.

Parameters:
factory - the cloner factory to use
configuration - the configuration to use for all cloners
Returns:
the cloner source

JBoss Marshalling 1.3.0.CR9

Copyright © 2011 JBoss, a division of Red Hat, Inc.