Interface ComponentExtension

All Known Subinterfaces:
ComponentVerifierExtension, MetaDataExtension

public interface ComponentExtension
Marker interface for component extensions.

An extension is a feature provided by the component such as ComponentVerifier.

  • Method Summary

    Modifier and Type
    Method
    Description
    default <T extends ComponentExtension>
    T
    unwrap(Class<T> clazz)
    Access the underlying concrete ComponentExtension implementation to provide access to further features.
  • Method Details

    • unwrap

      default <T extends ComponentExtension> T unwrap(Class<T> clazz)
      Access the underlying concrete ComponentExtension implementation to provide access to further features.
      Parameters:
      clazz - the proprietary class or interface of the underlying concrete ComponentExtension.
      Returns:
      an instance of the underlying concrete ComponentExtension as the required type.