Package org.jboss.marshalling

The marshalling API.

See:
          Description

Interface Summary
ByteInput An input stream of bytes.
ByteOutput An output stream of bytes.
ClassExternalizerFactory A factory for locating custom externalizers.
ClassResolver A class annotater and resolver.
ClassTable A lookup mechanism for predefined classes.
ClassTable.Writer The class writer for a specific class.
Creator An instance creator.
Externalizer A replacement serializer for an object class.
ExternalizerFactory Deprecated. Please see ClassExternalizerFactory.
Marshaller An object marshaller for writing objects to byte streams.
MarshallerFactory The main marshaller factory.
ObjectResolver Resolver for substituting objects in a stream.
ObjectTable A lookup mechanism for predefined object references.
ObjectTable.Writer The object writer for a specific object.
StreamHeader A producer of stream headers.
Unmarshaller An unmarshaller which reads objects from a stream.
 

Class Summary
AbstractClassResolver A base implementation of ClassResolver which simply resolves the class against a classloader which is specified by the subclass implementation.
AbstractExternalizer An externalizer base class which handles object creation in a default fashion.
AbstractMarshaller An abstract implementation of the Marshaller interface.
AbstractMarshallerFactory An abstract implementation of the MarshallerFactory interface.
AbstractUnmarshaller An abstract implementation of the Unmarshaller interface.
AnnotationClassExternalizerFactory An externalizer factory which looks for the presence of the Externalize annotation.
ChainingClassExternalizerFactory A class externalizer factory that tries each delegate externalizer factory in sequence, returning the first match.
ChainingClassTable A class table that multiplexes up to 256 class tables.
ChainingObjectResolver An object resolver which runs a sequence of object resolvers.
ChainingObjectTable An object table that multiplexes up to 256 class tables.
ContextClassResolver A class resolver which uses the context classloader to resolve classes.
MappingClassExternalizerFactory An externalizer factory which uses a fixed mapping from class to externalizer.
MarshallerObjectInput A marshaller's object input.
MarshallerObjectInputStream A marshaller's object input stream.
MarshallerObjectOutput A marshaller's object output.
MarshallerObjectOutputStream A marshaller's object output stream.
Marshalling Static utility methods for simplfying use of marshallers.
MarshallingConfiguration A Marshaller configuration.
MarshallingObjectInputStream An object input stream which wraps an Unmarshaller, which may be used by legacy ObjectInputStream-based applications that wish to use the marshalling framework.
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.
ObjectInputStreamUnmarshaller An Unmarshaller which simply wraps an object stream.
ObjectOutputStreamMarshaller A Marshaller which simply wraps an object stream.
SimpleClassResolver A class resolver which uses a predefined classloader.
UTFUtils Handy utility methods for dealing with strings in the modified UTF-8 format.
Version The version of the Marshalling API.
 

Annotation Types Summary
Externalize Indicate that this class should be externalized by an instance of the given externalizer class.
 

Package org.jboss.marshalling Description

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.