Class ConsumerTargetTypeProvider

    • Method Summary

      All Methods Instance Methods Concrete 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ConsumerTargetTypeProvider

        public ConsumerTargetTypeProvider()
    • Method Detail

      • getTargetType

        public <T> java.lang.Class<? extends T> getTargetType​(java.lang.Class<T> initialTargetType,
                                                              java.lang.Object protocolObject)
        Description copied from interface: TargetTypeProvider
        Determines the model type to use to wrap the given protocol object.
        Specified by:
        getTargetType in interface TargetTypeProvider
        Type Parameters:
        T - the target type
        Parameters:
        initialTargetType - the initial target type
        protocolObject - the protocol object
        Returns:
        the target type