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.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final ObjectClonerFactory
private static final ObjectClonerFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ObjectClonerSource
createObjectClonerSource
(ObjectClonerFactory factory, ClonerConfiguration configuration) Get an object cloner source which creates cloners with a static configuration.static ObjectClonerFactory
Get the cloneable object cloner factory.static ObjectClonerFactory
Get the serializing object cloner factory.
-
Field Details
-
CLONEABLE
-
SERIALIZING
-
-
Constructor Details
-
ObjectCloners
private ObjectCloners()
-
-
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
-