Package org.jboss.marshalling.serial
Class SerialProviderDescriptor
- java.lang.Object
-
- org.jboss.marshalling.serial.SerialProviderDescriptor
-
- All Implemented Interfaces:
ProviderDescriptor
public final class SerialProviderDescriptor extends java.lang.Object implements ProviderDescriptor
The Serial implementation of the provider descriptor interface.
-
-
Field Summary
Fields Modifier and Type Field Description private static MarshallerFactoryMARSHALLER_FACTORYprivate static int[]VERSIONS
-
Constructor Summary
Constructors Constructor Description SerialProviderDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MarshallerFactorygetMarshallerFactory()Get the marshaller factory instance for this provider.java.lang.StringgetName()Get the name of this provider.int[]getSupportedVersions()Get the supported wire protocol versions for this provider, in descending order.
-
-
-
Field Detail
-
MARSHALLER_FACTORY
private static final MarshallerFactory MARSHALLER_FACTORY
-
VERSIONS
private static final int[] VERSIONS
-
-
Method Detail
-
getName
public java.lang.String getName()
Get the name of this provider.- Specified by:
getNamein interfaceProviderDescriptor- Returns:
- the provider name
-
getSupportedVersions
public int[] getSupportedVersions()
Get the supported wire protocol versions for this provider, in descending order.- Specified by:
getSupportedVersionsin interfaceProviderDescriptor- Returns:
- the supported versions in descending order
-
getMarshallerFactory
public MarshallerFactory getMarshallerFactory()
Get the marshaller factory instance for this provider.- Specified by:
getMarshallerFactoryin interfaceProviderDescriptor- Returns:
- the marshaller factory
-
-