Package org.apache.camel.spi
Interface PeriodTaskResolver
public interface PeriodTaskResolver
Finder to find
PeriodicTask
tasks.-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionnewInstance
(String key) Creates a new class instance using the key to lookup<T> Optional
<T> newInstance
(String key, Class<T> type) Creates a new class instance using the key to lookup
-
Field Details
-
RESOURCE_PATH
- See Also:
-
-
Method Details
-
newInstance
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
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 nametype
- the class type- Returns:
- a newly created instance (if exists)
-