public class ApacheMinaSftpEventListener extends Object implements org.apache.sshd.server.subsystem.sftp.SftpEventListener, ApplicationEventPublisherAware, BeanNameAware, InitializingBean
ApplicationEvents
which are subclasses of ApacheMinaSftpEvent.| Constructor and Description |
|---|
ApacheMinaSftpEventListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
void |
created(org.apache.sshd.server.session.ServerSession session,
Path path,
Map<String,?> attrs,
Throwable thrown) |
void |
destroying(org.apache.sshd.server.session.ServerSession session) |
protected ApplicationEventPublisher |
getApplicationEventPublisher() |
String |
getBeanName() |
void |
initialized(org.apache.sshd.server.session.ServerSession session,
int version) |
void |
moved(org.apache.sshd.server.session.ServerSession session,
Path srcPath,
Path dstPath,
Collection<CopyOption> opts,
Throwable thrown) |
void |
removed(org.apache.sshd.server.session.ServerSession session,
Path path,
boolean isDirectory,
Throwable thrown) |
void |
setApplicationEventPublisher(ApplicationEventPublisher applicationEventPublisher) |
void |
setBeanName(String name) |
String |
toString() |
void |
written(org.apache.sshd.server.session.ServerSession session,
String remoteHandle,
org.apache.sshd.server.subsystem.sftp.FileHandle localHandle,
long offset,
byte[] data,
int dataOffset,
int dataLen,
Throwable thrown) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitblocked, blocking, closed, closing, creating, exiting, linked, linking, modifiedAttributes, modifyingAttributes, moving, open, openFailed, opening, read, read, reading, removing, unblocked, unblocking, validateListener, writingpublic void setApplicationEventPublisher(ApplicationEventPublisher applicationEventPublisher)
setApplicationEventPublisher in interface ApplicationEventPublisherAwareprotected ApplicationEventPublisher getApplicationEventPublisher()
public void setBeanName(String name)
setBeanName in interface BeanNameAwarepublic String getBeanName()
public void afterPropertiesSet()
afterPropertiesSet in interface InitializingBeanpublic void initialized(org.apache.sshd.server.session.ServerSession session,
int version)
initialized in interface org.apache.sshd.server.subsystem.sftp.SftpEventListenerpublic void destroying(org.apache.sshd.server.session.ServerSession session)
throws IOException
destroying in interface org.apache.sshd.server.subsystem.sftp.SftpEventListenerIOExceptionpublic void created(org.apache.sshd.server.session.ServerSession session,
Path path,
Map<String,?> attrs,
Throwable thrown)
created in interface org.apache.sshd.server.subsystem.sftp.SftpEventListenerpublic void removed(org.apache.sshd.server.session.ServerSession session,
Path path,
boolean isDirectory,
Throwable thrown)
removed in interface org.apache.sshd.server.subsystem.sftp.SftpEventListenerpublic void written(org.apache.sshd.server.session.ServerSession session,
String remoteHandle,
org.apache.sshd.server.subsystem.sftp.FileHandle localHandle,
long offset,
byte[] data,
int dataOffset,
int dataLen,
Throwable thrown)
written in interface org.apache.sshd.server.subsystem.sftp.SftpEventListenerpublic void moved(org.apache.sshd.server.session.ServerSession session,
Path srcPath,
Path dstPath,
Collection<CopyOption> opts,
Throwable thrown)
moved in interface org.apache.sshd.server.subsystem.sftp.SftpEventListener