net.anotheria.anoprise.sessiondistributor.events.SessionRestoreEvent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ano-prise Show documentation
Show all versions of ano-prise Show documentation
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.
package net.anotheria.anoprise.sessiondistributor.events;
/**
* SessionRestoreEvent.
*
* @author h3ll
*/
public class SessionRestoreEvent extends SessionDistributorEvent {
/**
* Basic serial version uid.
*/
private static final long serialVersionUID = 3238743326936257297L;
/**
* SessionRestoreEvent 'sessionId'.
*/
private String sessionId;
/**
* SessionRestoreEvent 'serviceId'.
*/
private String serviceId;
/**
* constructor.
*
* @param aSessionId restored session id
* @param aCallerId caller service id
*/
public SessionRestoreEvent(String aSessionId, String aCallerId) {
super(SessionDistributorESOperations.SESSION_RESTORE);
this.sessionId = aSessionId;
this.serviceId = aCallerId;
}
public String getServiceId() {
return serviceId;
}
public String getSessionId() {
return sessionId;
}
@Override
public String toString() {
return super.toString() +
", referenceId='" + serviceId + '\'' +
", sessionId='" + sessionId + '\'';
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy