The marshalling API. Marshalling is done by use of
Unmarshallerinstances. These instances are acquired from a
Configurationto configure them. The default implementation is the River protocol, usable by way of the
Interface Summary Interface Description ByteInputAn input stream of bytes. ByteOutputAn output stream of bytes. ClassExternalizerFactoryA factory for locating custom externalizers. ClassNameTransformerA class name transformer. ClassResolverA class annotator and resolver. ClassTableA lookup mechanism for predefined classes. ClassTable.WriterThe class writer for a specific class. Creator Deprecated.This API is deprecated and will be removed in a future version. ExceptionListenerA listener for exceptions which occur during marshalling or unmarshalling. ExternalizerA replacement serializer for an object class. MarshallerAn object marshaller for writing objects to byte streams. MarshallerFactoryThe main marshaller factory. ObjectResolverResolver for substituting objects in a stream. ObjectTableA lookup mechanism for predefined object references. ObjectTable.WriterThe object writer for a specific object. ProviderDescriptorA provider descriptor for automatically-discovered marshalling factory types. SerializabilityCheckerA checker to determine whether an object class should be treated as serializable. StreamHeaderA producer of stream headers. UnmarshallerAn unmarshaller which reads objects from a stream.
Class Summary Class Description AbstractClassResolverA base implementation of
ClassResolverwhich simply resolves the class against a classloader which is specified by the subclass implementation.
AbstractMarshallerAn abstract implementation of the
AbstractMarshallerFactoryAn abstract implementation of the
AbstractObjectInputAn abstract object input implementation. AbstractObjectOutputAn abstract object output implementation. AbstractUnmarshallerAn abstract implementation of the
AnnotationClassExternalizerFactoryAn externalizer factory which looks for the presence of the
ByteInputand reads bytes from a
ByteOutputwhich writes to a
ByteInputand reads bytes from another
ByteOutputand writes bytes to another
ByteWriterA writer for class or object tables which simply writes a flat sequence of bytes. ChainingClassExternalizerFactoryA class externalizer factory that tries each delegate externalizer factory in sequence, returning the first match. ChainingClassTableA class table that multiplexes up to 256 class tables. ChainingObjectResolverAn object resolver which runs a sequence of object resolvers. ChainingObjectTableAn object table that multiplexes up to 256 class tables. ContextClassResolverA class resolver which uses the context classloader to resolve classes. FieldSetterA setter for a (possibly final) field, which allows for correct object initialization of
readObject()methods, even in the presence of
ByteInputwhich reads input from another
LimitedByteInputA limited byte input stream. LimitedByteOutputA limited byte output stream. MappingClassExternalizerFactoryAn externalizer factory which uses a fixed mapping from class to externalizer. MarshallerObjectInputA marshaller's object input. MarshallerObjectInputStreamA marshaller's object input stream. MarshallerObjectOutputA marshaller's object output. MarshallerObjectOutputStreamA marshaller's object output stream. MarshallingStatic utility methods for simplifying use of marshallers. MarshallingConfigurationA Marshaller configuration. MarshallingObjectOutputStreamAn object output stream which wraps a
Marshaller, which may be used by legacy
ObjectOutputStream-based applications that wish to use the marshalling framework.
ModularClassResolverA class table which implements an alternate class resolution strategy based on JBoss Modules. ModularClassTableA class table which implements an alternate class resolution strategy based on JBoss Modules. ObjectInputStreamUnmarshallerAn Unmarshaller which simply wraps an object stream. ObjectOutputStreamMarshallerA Marshaller which simply wraps an object stream. OutputStreamByteOutputAn
ByteInputand reads data from another
Pair<A,B>A serializable pair of values. Pair.ExternalizerAn externalizer for
SimpleByteInputA simple byte input which extends
SimpleByteOutputA simple byte output which extends
SimpleClassResolverA class resolver which uses a predefined classloader. SimpleDataInput SimpleDataOutputA simple base implementation of
DataOutputwhich wraps a
TraceInformationA 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.ClassInfoInformation about a class which was being (un-)marshalled at the time an exception occurred. TraceInformation.FieldInfoInformation about a field which was being marshalled at the time an exception occurred. TraceInformation.IncompleteObjectInfoInformation about an incomplete object being unmarshalled. TraceInformation.IndexInfoInformation about an index in an array or collection. TraceInformation.InfoInformation about the circumstances surrounding (un)marshalling. TraceInformation.MethodInfoInformation specific to a method execution. TraceInformation.ObjectInfoInformation about an object which was being (un-)marshalled at the time an exception occurred. TraceInformation.UserInfoUser information. UnmarshallingObjectInputStreamAn object input stream which wraps an
Unmarshaller, which may be used by legacy
ObjectInputStream-based applications that wish to use the marshalling framework.
UTFUtilsHandy utility methods for dealing with strings in the modified UTF-8 format. VersionThe version of the Marshalling API.
Enum Summary Enum Description TraceInformation.IndexTypeThe type of index for a multi-valued collection or map. TraceInformation.MethodInfo.TypeThe type of method being executed.
Annotation Types Summary Annotation Type Description ExternalizeIndicate that this class should be externalized by an instance of the given externalizer class.