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 Interface Description ByteInput An input stream of bytes.ByteOutput An output stream of bytes.ClassExternalizerFactory A factory for locating custom externalizers.ClassResolver A class annotator and resolver.ClassTable A lookup mechanism for predefined classes.ClassTable.Writer The class writer for a specific class.Creator Deprecated. This API is deprecated and will be removed in a future version.ExceptionListener A listener for exceptions which occur during marshalling or unmarshalling.Externalizer A replacement serializer for an object class.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.ProviderDescriptor A provider descriptor for automatically-discovered marshalling factory types.SerializabilityChecker A checker to determine whether an object class should be treated as serializable.StreamHeader A producer of stream headers.Unmarshaller An unmarshaller which reads objects from a stream. -
Class Summary Class Description AbstractClassResolver A base implementation ofClassResolverwhich simply resolves the class against a classloader which is specified by the subclass implementation.AbstractMarshaller An abstract implementation of theMarshallerinterface.AbstractMarshallerFactory An abstract implementation of theMarshallerFactoryinterface.AbstractObjectInput An abstract object input implementation.AbstractObjectOutput An abstract object output implementation.AbstractUnmarshaller An abstract implementation of theUnmarshallerinterface.AnnotationClassExternalizerFactory An externalizer factory which looks for the presence of theExternalizeannotation.ByteBufferInput AnInputStreamwhich implementsByteInputand reads bytes from aByteBuffer.ByteBufferOutput AnOutputStreamimplementingByteOutputwhich writes to aByteBuffer.ByteInputStream AnInputStreamwhich implementsByteInputand reads bytes from anotherByteInput.ByteOutputStream AnOutputStreamwhich implementsByteOutputand writes bytes to anotherByteOutput.BytePipe A pairedByteInputandByteOutput.ByteWriter A writer for class or object tables which simply writes a flat sequence of bytes.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.FieldSetter A setter for a (possibly final) field, which allows for correct object initialization ofSerializableobjects withreadObject()methods, even in the presence offinalfields.InputStreamByteInput AnInputStreamimplementingByteInputwhich reads input from anotherInputStream.LimitedByteInput A limited byte input stream.LimitedByteOutput A limited byte output stream.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 simplifying use of marshallers.MarshallingConfiguration A Marshaller configuration.MarshallingObjectOutputStream An object output stream which wraps aMarshaller, which may be used by legacyObjectOutputStream-based applications that wish to use the marshalling framework.ModularClassResolver A class table which implements an alternate class resolution strategy based on JBoss Modules.ModularClassTable A class table which implements an alternate class resolution strategy based on JBoss Modules.ObjectInputStreamUnmarshaller An Unmarshaller which simply wraps an object stream.ObjectOutputStreamMarshaller A Marshaller which simply wraps an object stream.OutputStreamByteOutput AnOutputStreamwhich implementsByteInputand reads data from anotherOutputStream.Pair<A,B> A serializable pair of values.Pair.Externalizer An externalizer forPairinstances.SimpleByteInput A simple byte input which extendsInputStream.SimpleByteOutput A simple byte output which extendsOutputStream.SimpleClassResolver A class resolver which uses a predefined classloader.SimpleDataInput SimpleDataOutput A simple base implementation ofDataOutputwhich wraps aByteOutput.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.TraceInformation.ClassInfo Information about a class which was being (un-)marshalled at the time an exception occurred.TraceInformation.FieldInfo Information about a field which was being marshalled at the time an exception occurred.TraceInformation.IncompleteObjectInfo Information about an incomplete object being unmarshalled.TraceInformation.IndexInfo Information about an index in an array or collection.TraceInformation.Info Information about the circumstances surrounding (un)marshalling.TraceInformation.MethodInfo Information specific to a method execution.TraceInformation.ObjectInfo Information about an object which was being (un-)marshalled at the time an exception occurred.TraceInformation.UserInfo User information.UnmarshallingObjectInputStream An object input stream which wraps anUnmarshaller, which may be used by legacyObjectInputStream-based applications that wish to use the marshalling framework.UTFUtils Handy utility methods for dealing with strings in the modified UTF-8 format.Version The version of the Marshalling API. -
Enum Summary Enum Description TraceInformation.IndexType The type of index for a multi-valued collection or map.TraceInformation.MethodInfo.Type The type of method being executed. -
Annotation Types Summary Annotation Type Description Externalize Indicate that this class should be externalized by an instance of the given externalizer class.