|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.integration.context.IntegrationObjectSupport org.springframework.integration.file.monitors.MessageSendingFileAdditionListener
public class MessageSendingFileAdditionListener
Supports propagating a Message
on the receipt of a new File
Field Summary |
---|
Fields inherited from class org.springframework.integration.context.IntegrationObjectSupport |
---|
logger |
Constructor Summary | |
---|---|
MessageSendingFileAdditionListener()
|
Method Summary | |
---|---|
void |
fileAdded(java.io.File f)
a callback method that's invoked when a new File is detected. |
protected void |
onInit()
Subclasses may implement this for initialization logic. |
void |
setChannel(MessageChannel channel)
|
Methods inherited from class org.springframework.integration.context.IntegrationObjectSupport |
---|
afterPropertiesSet, getBeanFactory, getComponentName, getComponentType, getConversionService, getTaskScheduler, setBeanFactory, setBeanName, setComponentName, setConversionService, setTaskScheduler, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MessageSendingFileAdditionListener()
Method Detail |
---|
public void setChannel(MessageChannel channel)
protected void onInit() throws java.lang.Exception
IntegrationObjectSupport
onInit
in class IntegrationObjectSupport
java.lang.Exception
public void fileAdded(java.io.File f)
FileAdditionListener
File
is detected.
fileAdded
in interface FileAdditionListener
f
- the File
that was detected
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |