Interface TargetTypeProvider

  • All Superinterfaces:
    java.io.Serializable
    All Known Implementing Classes:
    ConsumerTargetTypeProvider

    public interface TargetTypeProvider
    extends java.io.Serializable
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      <T> java.lang.Class<? extends T> getTargetType​(java.lang.Class<T> initialTargetType, java.lang.Object protocolObject)
      Determines the model type to use to wrap the given protocol object.
    • Method Detail

      • getTargetType

        <T> java.lang.Class<? extends T> getTargetType​(java.lang.Class<T> initialTargetType,
                                                       java.lang.Object protocolObject)
        Determines the model type to use to wrap the given protocol object.
        Type Parameters:
        T - the target type
        Parameters:
        initialTargetType - the initial target type
        protocolObject - the protocol object
        Returns:
        the target type