Class ResourceObjectLocator
java.lang.Object
org.frankframework.jdbc.datasource.ResourceObjectLocator
- All Implemented Interfaces:
IObjectLocator, org.springframework.beans.factory.InitializingBean
public class ResourceObjectLocator
extends Object
implements IObjectLocator, org.springframework.beans.factory.InitializingBean
Class that look up a given resource in the resource file. By default `resources.yml`.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid<O> @Nullable Olookup(@NonNull String name, @Nullable Properties environment, @Nullable Class<O> lookupClass) Performs the actual lookup and should returnnullif it cannot find the requested resource so the nextIObjectLocatorcan give it a shot.
-
Constructor Details
-
ResourceObjectLocator
public ResourceObjectLocator()
-
-
Method Details
-
afterPropertiesSet
-
lookup
public <O> @Nullable O lookup(@NonNull String name, @Nullable Properties environment, @Nullable Class<O> lookupClass) throws Exception Description copied from interface:IObjectLocatorPerforms the actual lookup and should returnnullif it cannot find the requested resource so the nextIObjectLocatorcan give it a shot.- Specified by:
lookupin interfaceIObjectLocator- Throws:
Exception
-