Interface PeriodTaskResolver


  • public interface PeriodTaskResolver
    Finder to find PeriodicTask tasks.
    • Method Detail

      • newInstance

        Optional<Object> newInstance​(String key)
        Creates a new class instance using the key to lookup
        Parameters:
        key - is the key to add to the path to find a text file containing the factory name
        Returns:
        a newly created instance (if exists)
      • newInstance

        <T> Optional<T> newInstance​(String key,
                                    Class<T> type)
        Creates a new class instance using the key to lookup
        Parameters:
        key - is the key to add to the path to find a text file containing the factory name
        type - the class type
        Returns:
        a newly created instance (if exists)