public class ApacheMinaSftpEventListener extends Object implements org.apache.sshd.server.subsystem.sftp.SftpEventListener, ApplicationEventPublisherAware, BeanNameAware, InitializingBean
ApplicationEvent
s
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, wait
blocked, blocking, closed, closing, creating, exiting, linked, linking, modifiedAttributes, modifyingAttributes, moving, open, openFailed, opening, read, read, reading, removing, unblocked, unblocking, validateListener, writing
public void setApplicationEventPublisher(ApplicationEventPublisher applicationEventPublisher)
setApplicationEventPublisher
in interface ApplicationEventPublisherAware
protected ApplicationEventPublisher getApplicationEventPublisher()
public void setBeanName(String name)
setBeanName
in interface BeanNameAware
public String getBeanName()
public void afterPropertiesSet()
afterPropertiesSet
in interface InitializingBean
public void initialized(org.apache.sshd.server.session.ServerSession session, int version)
initialized
in interface org.apache.sshd.server.subsystem.sftp.SftpEventListener
public void destroying(org.apache.sshd.server.session.ServerSession session) throws IOException
destroying
in interface org.apache.sshd.server.subsystem.sftp.SftpEventListener
IOException
public 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.SftpEventListener
public void removed(org.apache.sshd.server.session.ServerSession session, Path path, boolean isDirectory, Throwable thrown)
removed
in interface org.apache.sshd.server.subsystem.sftp.SftpEventListener
public 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.SftpEventListener
public 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