Class ReactiveContainer


  • public class ReactiveContainer
    extends Container
    Version:
    1.0.0
    Author:
    Ramon Rangel Osorio <ramon.rangel@protonmail.com>
    • Method Detail

      • getReactiveInstance

        public static ReactiveContainer getReactiveInstance()
        Returns the reactive instance of the ReactiveContainer class.
        Returns:
        the reactive instance of the ReactiveContainer class
      • getInstance

        public static ReactiveContainer getInstance()
        Get the instance of the ReactiveContainer.
        Returns:
        the instance of the ReactiveContainer
      • reactiveRegister

        public final void reactiveRegister​(Class<?> clazz,
                                           String identifier)
        Registers a reactive instance of a class with the given identifier.
        Parameters:
        clazz - the class to create a reactive instance of
        identifier - the identifier for the reactive instance (optional)
      • reactiveResolver

        public final <T> T reactiveResolver​(Class<T> clazz,
                                            String identifier)
        Generates a function comment for the given function body.
        Type Parameters:
        T - the class type retorned
        Parameters:
        clazz - the class of the object
        identifier - the identifier for the object
        Returns:
        the resolved object of type T