Class StandardSessionListenerSupport
- java.lang.Object
-
- net.integrio.maven.aws.data.transfer.StandardSessionListenerSupport
-
- All Implemented Interfaces:
SessionListenerSupport
public final class StandardSessionListenerSupport extends Object implements SessionListenerSupport
-
-
Constructor Summary
Constructors Constructor Description StandardSessionListenerSupport(org.apache.maven.wagon.Wagon wagon)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddSessionListener(org.apache.maven.wagon.events.SessionListener sessionListener)Add aSessionListenerto be notifiedvoidfireSessionConnectionRefused()NotifySessionListeners that creation of the session's connection was refusedvoidfireSessionDisconnected()NotifySessionListeners that a session has been disconnected successfullyvoidfireSessionDisconnecting()NotifySessionListeners that a session is being disconnectedvoidfireSessionError(Exception exception)NotifySessionListeners that an error occurred during while the session was in usevoidfireSessionLoggedIn()NotifySessionListeners that the session was logged in successfullyvoidfireSessionLoggedOff()NotifySessionListeners that the session was logged off successfullyvoidfireSessionOpened()NotifySessionListeners that a session has been opened successfullyvoidfireSessionOpening()NotifySessionListeners that a session is being openedbooleanhasSessionListener(org.apache.maven.wagon.events.SessionListener sessionListener)Returns whether aSessionListeneris already in the collection ofSessionListeners to be notifiedvoidremoveSessionListener(org.apache.maven.wagon.events.SessionListener sessionListener)Remove aSessionListenerso that it is no longer notified
-
-
-
Method Detail
-
addSessionListener
public void addSessionListener(org.apache.maven.wagon.events.SessionListener sessionListener)
Description copied from interface:SessionListenerSupportAdd aSessionListenerto be notified- Specified by:
addSessionListenerin interfaceSessionListenerSupport- Parameters:
sessionListener- TheSessionListenerto be notified
-
removeSessionListener
public void removeSessionListener(org.apache.maven.wagon.events.SessionListener sessionListener)
Description copied from interface:SessionListenerSupportRemove aSessionListenerso that it is no longer notified- Specified by:
removeSessionListenerin interfaceSessionListenerSupport- Parameters:
sessionListener- TheSessionListenerthat should no longer be notified
-
hasSessionListener
public boolean hasSessionListener(org.apache.maven.wagon.events.SessionListener sessionListener)
Description copied from interface:SessionListenerSupportReturns whether aSessionListeneris already in the collection ofSessionListeners to be notified- Specified by:
hasSessionListenerin interfaceSessionListenerSupport- Parameters:
sessionListener- TheSessionListenerto look for- Returns:
trueif theSessionListeneris already in the collection ofSessionListeners to be notified, otherwisefalse
-
fireSessionOpening
public void fireSessionOpening()
Description copied from interface:SessionListenerSupportNotifySessionListeners that a session is being opened- Specified by:
fireSessionOpeningin interfaceSessionListenerSupport- See Also:
SessionEvent.SESSION_OPENING
-
fireSessionOpened
public void fireSessionOpened()
Description copied from interface:SessionListenerSupportNotifySessionListeners that a session has been opened successfully- Specified by:
fireSessionOpenedin interfaceSessionListenerSupport- See Also:
SessionEvent.SESSION_OPENED
-
fireSessionDisconnecting
public void fireSessionDisconnecting()
Description copied from interface:SessionListenerSupportNotifySessionListeners that a session is being disconnected- Specified by:
fireSessionDisconnectingin interfaceSessionListenerSupport- See Also:
SessionEvent.SESSION_DISCONNECTING
-
fireSessionDisconnected
public void fireSessionDisconnected()
Description copied from interface:SessionListenerSupportNotifySessionListeners that a session has been disconnected successfully- Specified by:
fireSessionDisconnectedin interfaceSessionListenerSupport- See Also:
SessionEvent.SESSION_DISCONNECTED
-
fireSessionConnectionRefused
public void fireSessionConnectionRefused()
Description copied from interface:SessionListenerSupportNotifySessionListeners that creation of the session's connection was refused- Specified by:
fireSessionConnectionRefusedin interfaceSessionListenerSupport- See Also:
SessionEvent.SESSION_CONNECTION_REFUSED
-
fireSessionLoggedIn
public void fireSessionLoggedIn()
Description copied from interface:SessionListenerSupportNotifySessionListeners that the session was logged in successfully- Specified by:
fireSessionLoggedInin interfaceSessionListenerSupport- See Also:
SessionEvent.SESSION_LOGGED_IN
-
fireSessionLoggedOff
public void fireSessionLoggedOff()
Description copied from interface:SessionListenerSupportNotifySessionListeners that the session was logged off successfully- Specified by:
fireSessionLoggedOffin interfaceSessionListenerSupport- See Also:
SessionEvent.SESSION_LOGGED_OFF
-
fireSessionError
public void fireSessionError(Exception exception)
Description copied from interface:SessionListenerSupportNotifySessionListeners that an error occurred during while the session was in use- Specified by:
fireSessionErrorin interfaceSessionListenerSupport- Parameters:
exception- The error that occurred
-
-