|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sca4j.binding.file.runtime.FileTargetInterceptor
public class FileTargetInterceptor
Intercepts calls to the File System form the reference end of the wire. A lock could be acquired during the write operation depending upon the configuration.
| Constructor Summary | |
|---|---|
FileTargetInterceptor(java.io.File rootDir,
boolean acquireLock,
java.lang.String tmpFileSuffix)
Constructor with rootDir and lock flag. |
|
| Method Summary | |
|---|---|
org.sca4j.spi.wire.Interceptor |
getNext()
Gets the next interceptor |
org.sca4j.spi.invocation.Message |
invoke(org.sca4j.spi.invocation.Message msg)
|
void |
setNext(org.sca4j.spi.wire.Interceptor next)
Sets the next interceptor |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileTargetInterceptor(java.io.File rootDir,
boolean acquireLock,
java.lang.String tmpFileSuffix)
rootDir - root directory for file-drops specified in binding definition. could be null for Dynamic endpoints.acquireLock - indicates if lock must be acquired during write operation.tmpFileSuffix - temporary file suffix used during file upload, file is rename to original name on completion.| Method Detail |
|---|
public org.sca4j.spi.invocation.Message invoke(org.sca4j.spi.invocation.Message msg)
invoke in interface org.sca4j.spi.wire.Interceptorpublic void setNext(org.sca4j.spi.wire.Interceptor next)
setNext in interface org.sca4j.spi.wire.Interceptorpublic org.sca4j.spi.wire.Interceptor getNext()
getNext in interface org.sca4j.spi.wire.Interceptor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||