Class ProviderTypeRegistrationExtension

  • All Implemented Interfaces:
    TypeRegistrationExtension

    public class ProviderTypeRegistrationExtension
    extends java.lang.Object
    implements TypeRegistrationExtension
    This extension detects if a class implements a method of a provider interface and registers an additional type for the type the provider provides.
    • Constructor Detail

      • ProviderTypeRegistrationExtension

        public ProviderTypeRegistrationExtension​(java.lang.reflect.Method providerMethod)
        Constructs a new instance.
        Parameters:
        providerMethod - a getter Method of a provider type, cannot be null