All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.anotheria.anoprise.sessiondistributor.events.SessionDeleteEvent Maven / Gradle / Ivy

Go to download

Collection of utils for different enterprise class projects. Among other stuff contains Caches, Mocking, DualCrud, MetaFactory and SessionDistributorService. Visit https://opensource.anotheria.net for details.

There is a newer version: 4.0.0
Show newest version
package net.anotheria.anoprise.sessiondistributor.events;

/**
 * SessionDeleteEvent.
 *
 * @author h3ll
 */

public class SessionDeleteEvent extends SessionDistributorEvent {
	/**
	 * SerialVersionUID.
	 */
	private static final long serialVersionUID = 1L;
	/**
	 * SessionDeleteEvent 'sessionId'.
	 */
	private String sessionId;

	/**
	 * Constructor.
	 *
	 * @param aSessionId id of the  session
	 */
	public SessionDeleteEvent(String aSessionId) {
		super(SessionDistributorESOperations.SESSION_DELETE);
		this.sessionId = aSessionId;
	}

	public String getSessionId() {
		return sessionId;
	}

	@Override
	public String toString() {
		return super.toString() +
				", sessionId='" + sessionId + '\'' +
				'}';
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy