Package org.jboss.marshalling.cloner
Class ObjectCloners
java.lang.Object
org.jboss.marshalling.cloner.ObjectCloners
A class which may be used to got cloner factory instances.
-
Method Summary
Modifier and TypeMethodDescriptionstatic ObjectClonerSourcecreateObjectClonerSource(ObjectClonerFactory factory, ClonerConfiguration configuration) Get an object cloner source which creates cloners with a static configuration.static ObjectClonerFactoryGet the cloneable object cloner factory.static ObjectClonerFactoryGet the serializing object cloner factory.
-
Method Details
-
getCloneableObjectClonerFactory
Get the cloneable object cloner factory.- Returns:
- the cloneable object cloner factory
-
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 useconfiguration- the configuration to use for all cloners- Returns:
- the cloner source
-