Package org.jboss.marshalling.serial
Class SerialProviderDescriptor
java.lang.Object
org.jboss.marshalling.serial.SerialProviderDescriptor
- All Implemented Interfaces:
ProviderDescriptor
The Serial implementation of the provider descriptor interface.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final MarshallerFactory
private static final int[]
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the marshaller factory instance for this provider.getName()
Get the name of this provider.int[]
Get the supported wire protocol versions for this provider, in descending order.
-
Field Details
-
MARSHALLER_FACTORY
-
VERSIONS
private static final int[] VERSIONS
-
-
Constructor Details
-
SerialProviderDescriptor
public SerialProviderDescriptor()
-
-
Method Details
-
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
Get the marshaller factory instance for this provider.- Specified by:
getMarshallerFactory
in interfaceProviderDescriptor
- Returns:
- the marshaller factory
-