Class SimpleComponentDescriptor<T>

    • Constructor Detail

      • SimpleComponentDescriptor

        public SimpleComponentDescriptor​(String name,
                                         Class<T> type,
                                         Supplier<T> supplier,
                                         boolean isSingleton)
        Creates a new SimpleComponentDescriptor instance.
        Parameters:
        name - the name of the component.
        type - the type of the component.
        supplier - the supplier of the component.
        isSingleton - is the component singleton.
      • SimpleComponentDescriptor

        public SimpleComponentDescriptor​(String name,
                                         Class<T> type,
                                         Supplier<T> supplier,
                                         String version,
                                         boolean isSingleton)
        Creates a new SimpleComponentDescriptor instance.
        Parameters:
        name - the name of the component.
        type - the type of the component.
        supplier - the supplier of the component.
        version - the version of the component.
        isSingleton - is the component singleton.
      • SimpleComponentDescriptor

        public SimpleComponentDescriptor​(String name,
                                         Class<T> type,
                                         ClassLoader classLoader,
                                         Supplier<T> supplier,
                                         String version,
                                         boolean isSingleton,
                                         boolean isPrimary,
                                         boolean isSecondary,
                                         boolean isEager,
                                         Condition condition,
                                         int order)
        Creates a new SimpleComponentDescriptor instance.
        Parameters:
        name - the name of the component.
        type - the type of the component.
        classLoader - the component classloader.
        supplier - the supplier of the component.
        version - the version of the component.
        isSingleton - is the component singleton.
        isPrimary - is a primary component.
        isSecondary - is a secondary component.
        isEager - is the component should be eagerly initialized
        condition - is the component should be conditionally enabled.
        order - the priority of the component.