Top Description Fields Constructors Methods
org.jboss.marshalling.cloner

public final Class ObjectCloners

extends Object
Class Inheritance

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

Field Summary

Modifier and TypeField and Description
private static final ObjectClonerFactory
private static final ObjectClonerFactory

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static ObjectClonerSource

Returns:

the cloner source
createObjectClonerSource
(final ObjectClonerFactory
the cloner factory to use
factory
,
final ClonerConfiguration
the configuration to use for all cloners
configuration
)

Get an object cloner source which creates cloners with a static configuration.

public static ObjectClonerFactory

Returns:

the cloneable object cloner factory
getCloneableObjectClonerFactory
()

Get the cloneable object cloner factory.

public static ObjectClonerFactory

Returns:

the serializing object cloner factory
getSerializingObjectClonerFactory
()

Get the serializing object cloner factory.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

CLONEABLEback to summary
private static final ObjectClonerFactory CLONEABLE
SERIALIZINGback to summary
private static final ObjectClonerFactory SERIALIZING

Constructor Detail

ObjectClonersback to summary
private ObjectCloners()

Method Detail

createObjectClonerSourceback to summary
public static ObjectClonerSource createObjectClonerSource(final ObjectClonerFactory factory, final ClonerConfiguration configuration)

Get an object cloner source which creates cloners with a static configuration.

Parameters
factory:ObjectClonerFactory

the cloner factory to use

configuration:ClonerConfiguration

the configuration to use for all cloners

Returns:ObjectClonerSource

the cloner source

getCloneableObjectClonerFactoryback to summary
public static ObjectClonerFactory getCloneableObjectClonerFactory()

Get the cloneable object cloner factory.

Returns:ObjectClonerFactory

the cloneable object cloner factory

getSerializingObjectClonerFactoryback to summary
public static ObjectClonerFactory getSerializingObjectClonerFactory()

Get the serializing object cloner factory.

Returns:ObjectClonerFactory

the serializing object cloner factory