|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sca4j.binding.file.runtime.FileServiceInvoker
public class FileServiceInvoker
Invokes the service bound to file binding.
| Constructor Summary | |
|---|---|
FileServiceInvoker(org.sca4j.spi.wire.Interceptor interceptor,
FileBindingMonitor monitor)
Constructor with mandatory parameters |
|
| Method Summary | |
|---|---|
void |
invoke(java.io.File file,
java.io.File archiveFile,
boolean acquireLock)
Read the file from file system and pass it to the bound service. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileServiceInvoker(org.sca4j.spi.wire.Interceptor interceptor,
FileBindingMonitor monitor)
interceptor - service interceptormonitor - monitor to log the events| Method Detail |
|---|
public void invoke(java.io.File file,
java.io.File archiveFile,
boolean acquireLock)
throws java.io.IOException
file - file to be readarchiveFile - directory where file to be archived after it's readacquireLock - flag to indicate if lock must be acquired before reading the file
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||