Package com.nt.udc.ndk.node
Interface EPFileLoader
- All Known Implementing Classes:
LDAPLoader
public interface EPFileLoader
This interface is to be implemented by a loader which wants
to make some data available to an enhancement node by writing
its data into a file.
-
Method Summary
Modifier and TypeMethodDescriptionAllows inquisition on the file to which this loader is writing data.getKey()
This method returns a string key which can be used inside an NPL program to address the "table" which will be holding the data provided by this loader, e.g.Allows inquisition on the EPFileLoaderConfig which configures this loader.void
setFilePath
(String filePath) This method is called by the user of the loader object which implements EPFileLoader to specify the file where the loader will write its data using the enhancer file format.void
setLoaderConfig
(EPFileLoaderConfig laoderConfig) User of the loader object will call this method to specify an EPFileLoaderConfig which will know how to configure this loader.void
shutdown()
Shutsdown any thread associated to this loader.void
start()
Starts any thread associated to this loader.
-
Method Details
-
setFilePath
This method is called by the user of the loader object which implements EPFileLoader to specify the file where the loader will write its data using the enhancer file format. -
getFilePath
String getFilePath()Allows inquisition on the file to which this loader is writing data. -
setLoaderConfig
User of the loader object will call this method to specify an EPFileLoaderConfig which will know how to configure this loader. -
getLoaderConfig
EPFileLoaderConfig getLoaderConfig()Allows inquisition on the EPFileLoaderConfig which configures this loader. -
getKey
String getKey()This method returns a string key which can be used inside an NPL program to address the "table" which will be holding the data provided by this loader, e.g. lookup(table-key, field-key) -
start
void start()Starts any thread associated to this loader. -
shutdown
void shutdown()Shutsdown any thread associated to this loader.
-