To add an automatically-discovered marshaller, create a file called "META-INF/services/org.jboss.marshalling.ProviderDescriptor"
and populate it with the names of classes that implement this interface.
java.util.ServiceLoader
| Modifier and Type | Method and Description |
|---|---|
| public MarshallerFactory | Returns: the marshaller factoryGet the marshaller factory instance for this provider. |
| public String | |
| public int[] | Returns: the supported versions in descending orderGet the supported wire protocol versions for this provider, in descending order. |
| getMarshallerFactory | back to summary |
|---|---|
| public MarshallerFactory getMarshallerFactory() Get the marshaller factory instance for this provider.
| |
| getName | back to summary |
|---|---|
| public String getName() Get the name of this provider.
| |
| getSupportedVersions | back to summary |
|---|---|
| public int[] getSupportedVersions() Get the supported wire protocol versions for this provider, in descending order.
| |