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

public Class RiverMarshallerFactory

extends AbstractMarshallerFactory
Class Inheritance
Static Imports
java.lang.System.getSecurityManager, java.security.AccessController.doPrivileged

The River marshaller factory implementation.

Field Summary

Modifier and TypeField and Description
private final SerializableClassRegistry

Constructor Summary

AccessConstructor and Description
public
RiverMarshallerFactory()

Construct a new instance of a River marshaller factory.

Method Summary

Modifier and TypeMethod and Description
public Marshaller
createMarshaller(final MarshallingConfiguration
the marshalling configuration to use
configuration
)

Implements org.jboss.marshalling.MarshallerFactory.createMarshaller.

Create a marshaller from this configuration.
public Unmarshaller
createUnmarshaller(final MarshallingConfiguration
the marshalling configuration to use
configuration
)

Implements org.jboss.marshalling.MarshallerFactory.createUnmarshaller.

Create an unmarshaller from this configuration.
protected int
getDefaultVersion()

Overrides org.jboss.marshalling.AbstractMarshallerFactory.getDefaultVersion.

Get the default version, which is used if none was configured.
Inherited from org.jboss.marshalling.AbstractMarshallerFactory:
getDefaultBufferSizegetDefaultClassExternalizerFactorygetDefaultClassResolvergetDefaultClassTablegetDefaultObjectResolvergetDefaultObjectTablegetDefaultStreamHeadergetMinimumBufferSize

Field Detail

registryback to summary
private final SerializableClassRegistry registry

Constructor Detail

RiverMarshallerFactoryback to summary
public RiverMarshallerFactory()

Construct a new instance of a River marshaller factory.

Method Detail

createMarshallerback to summary
public Marshaller createMarshaller(final MarshallingConfiguration configuration) throws IOException

Implements org.jboss.marshalling.MarshallerFactory.createMarshaller.

Doc from org.jboss.marshalling.MarshallerFactory.createMarshaller.

Create a marshaller from this configuration.

Parameters
configuration:MarshallingConfiguration

the marshalling configuration to use

Returns:Marshaller

a marshaller

Exceptions
IOException:
if an error occurs
createUnmarshallerback to summary
public Unmarshaller createUnmarshaller(final MarshallingConfiguration configuration) throws IOException

Implements org.jboss.marshalling.MarshallerFactory.createUnmarshaller.

Doc from org.jboss.marshalling.MarshallerFactory.createUnmarshaller.

Create an unmarshaller from this configuration.

Parameters
configuration:MarshallingConfiguration

the marshalling configuration to use

Returns:Unmarshaller

an unmarshaller

Exceptions
IOException:
if an error occurs
getDefaultVersionback to summary
protected int getDefaultVersion()

Overrides org.jboss.marshalling.AbstractMarshallerFactory.getDefaultVersion.

Doc from org.jboss.marshalling.AbstractMarshallerFactory.getDefaultVersion.

Get the default version, which is used if none was configured. This base implementation returns -1.

Returns:int

the default version to use