Package org.wildfly.naming.client
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 TypeMethodDescriptiondefault org.jboss.marshalling.ObjectResolvergetObjectResolver(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 (notnull)request-trueif the resolver is being used for requests (client), orfalsefor responses (server)- Returns:
- the object resolver, or
nullif none is provided by this helper
-