Interface MarshallingCompatibilityHelper

All Known Implementing Classes:
EJBMarshallingCompatibilityHelper

public interface MarshallingCompatibilityHelper
A helper which allows naming providers and contexts to improve compatibility with older peers.

All methods on this interface should be default for easy forward compatibility.

Author:
David M. Lloyd
  • Method Summary

    Modifier and Type
    Method
    Description
    default org.jboss.marshalling.ObjectResolver
    getObjectResolver(Transport transport, boolean request)
    Get an object resolver for a marshalling or unmarshalling operation.
  • Method Details

    • getObjectResolver

      default org.jboss.marshalling.ObjectResolver getObjectResolver(Transport transport, boolean request)
      Get an object resolver for a marshalling or unmarshalling operation.
      Parameters:
      transport - the transport for requests (not null)
      request - true if the resolver is being used for requests (client), or false for responses (server)
      Returns:
      the object resolver, or null if none is provided by this helper