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 MarshallerFactory
MARSHALLER_FACTORY
private static int[]
VERSIONS
-
Constructor Summary
Constructors Constructor Description SerialProviderDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MarshallerFactory
getMarshallerFactory()
Get the marshaller factory instance for this provider.java.lang.String
getName()
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:
getName
in interfaceProviderDescriptor
- Returns:
- the provider name
-
getSupportedVersions
public int[] getSupportedVersions()
Get the supported wire protocol versions for this provider, in descending order.- Specified by:
getSupportedVersions
in interfaceProviderDescriptor
- Returns:
- the supported versions in descending order
-
getMarshallerFactory
public MarshallerFactory getMarshallerFactory()
Get the marshaller factory instance for this provider.- Specified by:
getMarshallerFactory
in interfaceProviderDescriptor
- Returns:
- the marshaller factory
-
-