Top Description Methods
org.jboss.marshalling

public Interface ProviderDescriptor


A provider descriptor for automatically-discovered marshalling factory types. Since instances of this interface are constructed automatically, implementing classes should have a no-arg constructor.

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.

See Also
java.util.ServiceLoader

Method Summary

Modifier and TypeMethod and Description
public MarshallerFactory

Returns:

the marshaller factory
getMarshallerFactory
()

Get the marshaller factory instance for this provider.

public String

Returns:

the provider name
getName
()

Get the name of this provider.

public int[]

Returns:

the supported versions in descending order
getSupportedVersions
()

Get the supported wire protocol versions for this provider, in descending order.

Method Detail

getMarshallerFactoryback to summary
public MarshallerFactory getMarshallerFactory()

Get the marshaller factory instance for this provider.

Returns:MarshallerFactory

the marshaller factory

getNameback to summary
public String getName()

Get the name of this provider.

Returns:String

the provider name

getSupportedVersionsback to summary
public int[] getSupportedVersions()

Get the supported wire protocol versions for this provider, in descending order.

Returns:int[]

the supported versions in descending order