Interface Wrapped

    • Method Detail

      • isUnwrappableAs

        boolean isUnwrappableAs​(Class<?> unwrapType)
        Can this wrapped service be unwrapped as the indicated type?
        Parameters:
        unwrapType - The type to check.
        Returns:
        True/false.
      • unwrap

        <T> T unwrap​(Class<T> unwrapType)
        Unproxy the service proxy
        Parameters:
        unwrapType - The java type as which to unwrap this instance.
        Returns:
        The unwrapped reference
        Throws:
        UnknownUnwrapTypeException - if the service cannot be unwrapped as the indicated type