Top Description Interfaces Annotations Classes
[default module]

Package org.jboss.marshalling


The marshalling API. Marshalling is done by use of Marshaller and Unmarshaller instances. These instances are acquired from a MarshallerFactory using a Configuration to configure them. The default implementation is the River protocol, usable by way of the org.jboss.marshalling.river package.

Interface Summary

Modifier and TypeInterface and Description
public interface
ByteInput

An input stream of bytes.

public interface
ByteOutput

An output stream of bytes.

public interface
ClassExternalizerFactory

A factory for locating custom externalizers.

public interface
ClassNameTransformer

A class name transformer.

public interface
ClassResolver

A class annotator and resolver.

public interface
ClassTable

A lookup mechanism for predefined classes.

public interface
Creator

Deprecated This API is deprecated and will be removed in a future version.
An instance creator.
public interface
ExceptionListener

A listener for exceptions which occur during marshalling or unmarshalling.

public interface
Externalizer

A replacement serializer for an object class.

public interface
Marshaller

An object marshaller for writing objects to byte streams.

public interface
MarshallerFactory

The main marshaller factory.

public interface
ObjectResolver

Resolver for substituting objects in a stream.

public interface
ObjectTable

A lookup mechanism for predefined object references.

public interface
ProviderDescriptor

A provider descriptor for automatically-discovered marshalling factory types.

public interface
SerializabilityChecker

A checker to determine whether an object class should be treated as serializable.

public interface
StreamHeader

A producer of stream headers.

public interface
Unmarshaller

An unmarshaller which reads objects from a stream.

Annotation Summary

Modifier and TypeAnnotation and Description
public @interface
Externalize

Indicate that this class should be externalized by an instance of the given externalizer class.

Class Summary

Modifier and TypeClass and Description
public abstract class
AbstractClassResolver

A base implementation of ClassResolver which simply resolves the class against a classloader which is specified by the subclass implementation.

public abstract class
AbstractMarshaller

An abstract implementation of the Marshaller interface.

public abstract class
AbstractMarshallerFactory

An abstract implementation of the MarshallerFactory interface.

public abstract class
AbstractObjectInput

An abstract object input implementation.

public abstract class
AbstractObjectOutput

An abstract object output implementation.

public abstract class
AbstractUnmarshaller

An abstract implementation of the Unmarshaller interface.

public class
AnnotationClassExternalizerFactory

An externalizer factory which looks for the presence of the Externalize annotation.

public class
ByteBufferInput

An InputStream which implements ByteInput and reads bytes from a ByteBuffer.

public class
ByteBufferOutput

An OutputStream implementing ByteOutput which writes to a ByteBuffer.

public class
ByteInputStream

An InputStream which implements ByteInput and reads bytes from another ByteInput.

public class
ByteOutputStream

An OutputStream which implements ByteOutput and writes bytes to another ByteOutput.

public class
public class
ByteWriter

A writer for class or object tables which simply writes a flat sequence of bytes.

public class
ChainingClassExternalizerFactory

A class externalizer factory that tries each delegate externalizer factory in sequence, returning the first match.

public class
ChainingClassTable

A class table that multiplexes up to 256 class tables.

public class
ChainingObjectResolver

An object resolver which runs a sequence of object resolvers.

public class
ChainingObjectTable

An object table that multiplexes up to 256 class tables.

public class
ContextClassResolver

A class resolver which uses the context classloader to resolve classes.

public class
FieldSetter

A setter for a (possibly final) field, which allows for correct object initialization of java.io.Serializable objects with readObject() methods, even in the presence of final fields.

public class
InputStreamByteInput

An InputStream implementing ByteInput which reads input from another InputStream.

pack-priv class
pack-priv class
public class
LimitedByteInput

A limited byte input stream.

public class
LimitedByteOutput

A limited byte output stream.

public class
MappingClassExternalizerFactory

An externalizer factory which uses a fixed mapping from class to externalizer.

public class
MarshallerObjectInput

A marshaller's object input.

public abstract class
MarshallerObjectInputStream

A marshaller's object input stream.

public class
MarshallerObjectOutput

A marshaller's object output.

public abstract class
MarshallerObjectOutputStream

A marshaller's object output stream.

public class
Marshalling

Static utility methods for simplifying use of marshallers.

public class
MarshallingConfiguration

A Marshaller configuration.

public class
MarshallingObjectOutputStream

An object output stream which wraps a Marshaller, which may be used by legacy ObjectOutputStream-based applications that wish to use the marshalling framework.

public class
ModularClassResolver

A class table which implements an alternate class resolution strategy based on JBoss Modules.

public class
ModularClassTable

A class table which implements an alternate class resolution strategy based on JBoss Modules.

public class
ObjectInputStreamUnmarshaller

An Unmarshaller which simply wraps an object stream.

public class
ObjectOutputStreamMarshaller

A Marshaller which simply wraps an object stream.

public class
OutputStreamByteOutput

An OutputStream which implements ByteInput and reads data from another OutputStream.

public class
Pair<
the first value type
A
,
the second value type
B
>

A serializable pair of values.

public abstract class
SimpleByteInput

A simple byte input which extends InputStream.

public abstract class
SimpleByteOutput

A simple byte output which extends OutputStream.

public class
SimpleClassResolver

A class resolver which uses a predefined classloader.

public class
SimpleDataInput

A simple base implementation of DataInput which wraps a ByteInput.

public class
SimpleDataOutput

A simple base implementation of DataOutput which wraps a ByteOutput.

public class
TraceInformation

A facility available to marshalling implementations which allows for detailed stack traces which trace the position in the object graph where a marshalling or unmarshalling problem has occurred.

pack-priv class
public class
UnmarshallingObjectInputStream

An object input stream which wraps an Unmarshaller, which may be used by legacy ObjectInputStream-based applications that wish to use the marshalling framework.

public class
UTFUtils

Handy utility methods for dealing with strings in the modified UTF-8 format.

public class
Version

The version of the Marshalling API.