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,
                                         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.