Package org.jboss.marshalling
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.-
ClassDescriptionA base implementation of
ClassResolverwhich simply resolves the class against a classloader which is specified by the subclass implementation.An abstract implementation of theMarshallerinterface.An abstract implementation of theMarshallerFactoryinterface.An abstract object input implementation.An abstract object output implementation.An abstract implementation of theUnmarshallerinterface.An externalizer factory which looks for the presence of theExternalizeannotation.AnInputStreamwhich implementsByteInputand reads bytes from aByteBuffer.AnOutputStreamimplementingByteOutputwhich writes to aByteBuffer.An input stream of bytes.AnInputStreamwhich implementsByteInputand reads bytes from anotherByteInput.An output stream of bytes.AnOutputStreamwhich implementsByteOutputand writes bytes to anotherByteOutput.A pairedByteInputandByteOutput.A writer for class or object tables which simply writes a flat sequence of bytes.A class externalizer factory that tries each delegate externalizer factory in sequence, returning the first match.A class table that multiplexes up to 256 class tables.An object resolver which runs a sequence of object resolvers.An object table that multiplexes up to 256 class tables.A factory for locating custom externalizers.A class name transformer.A class annotator and resolver.A lookup mechanism for predefined classes.The class writer for a specific class.A class resolver which uses the context classloader to resolve classes.Deprecated.This API is deprecated and will be removed in a future version.A listener for exceptions which occur during marshalling or unmarshalling.Indicate that this class should be externalized by an instance of the given externalizer class.A replacement serializer for an object class.A setter for a (possibly final) field, which allows for correct object initialization ofSerializableobjects withreadObject()methods, even in the presence offinalfields.AnInputStreamimplementingByteInputwhich reads input from anotherInputStream.A limited byte input stream.A limited byte output stream.An externalizer factory which uses a fixed mapping from class to externalizer.An object marshaller for writing objects to byte streams.The main marshaller factory.A marshaller's object input.A marshaller's object input stream.A marshaller's object output.A marshaller's object output stream.Static utility methods for simplifying use of marshallers.A Marshaller configuration.An object output stream which wraps aMarshaller, which may be used by legacyObjectOutputStream-based applications that wish to use the marshalling framework.A class table which implements an alternate class resolution strategy based on JBoss Modules.A class table which implements an alternate class resolution strategy based on JBoss Modules.An Unmarshaller which simply wraps an object stream.A Marshaller which simply wraps an object stream.Resolver for substituting objects in a stream.A lookup mechanism for predefined object references.The object writer for a specific object.AnOutputStreamwhich implementsByteInputand reads data from anotherOutputStream.Pair<A,B> A serializable pair of values.An externalizer forPairinstances.A provider descriptor for automatically-discovered marshalling factory types.A checker to determine whether an object class should be treated as serializable.A simple byte input which extendsInputStream.A simple byte output which extendsOutputStream.A class resolver which uses a predefined classloader.A simple base implementation ofDataOutputwhich wraps aByteOutput.A producer of stream headers.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.Information about a class which was being (un-)marshalled at the time an exception occurred.Information about a field which was being marshalled at the time an exception occurred.Information about an incomplete object being unmarshalled.Information about an index in an array or collection.The type of index for a multi-valued collection or map.Information about the circumstances surrounding (un)marshalling.Information specific to a method execution.The type of method being executed.Information about an object which was being (un-)marshalled at the time an exception occurred.User information.An unmarshaller which reads objects from a stream.An object input stream which wraps anUnmarshaller, which may be used by legacyObjectInputStream-based applications that wish to use the marshalling framework.Handy utility methods for dealing with strings in the modified UTF-8 format.The version of the Marshalling API.