| java.lang.Object com.sun.jbi.binding.file.util.UtilBase com.sun.jbi.binding.file.FileThreads
FileThreads | public class FileThreads extends UtilBase implements Runnable,FileBindingResources(Code) | | The File Threads class processes the requests by polling at the directory
specified in deployment artifact file. For each file to be processed, it
spawns a thread and processes it.
author: Sun Microsystems, Inc. |
Constructor Summary | |
public | FileThreads(EndpointBean endpointInfo) Constructor which sets the Normlized message object, Required to create
messages every time we send a message. |
Method Summary | |
public EndpointBean | getBean() Returns the EndpointBean. | public boolean | isRunning() MEhtod to check if the thread is still executing. | public void | run() Implemented as a thread because it has to poll a folder continuosly. | public void | stopAll() Stops the File thread. |
FileThreads | public FileThreads(EndpointBean endpointInfo)(Code) | | Constructor which sets the Normlized message object, Required to create
messages every time we send a message.
Parameters: endpointInfo - end point bean object |
getBean | public EndpointBean getBean()(Code) | | Returns the EndpointBean.
endpoitn bean object. |
isRunning | public boolean isRunning()(Code) | | MEhtod to check if the thread is still executing.
true if running false otherwise. |
run | public void run()(Code) | | Implemented as a thread because it has to poll a folder continuosly.
|
stopAll | public void stopAll()(Code) | | Stops the File thread.
|
|
|