
org.frameworkset.security.session.impl.SessionEventImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bboss-security Show documentation
Show all versions of bboss-security Show documentation
support session share between application cluster nodes and cross domain application nodes.support good application session monitor and session data statitic module.demo site http://session.bbossgroups.com/
package org.frameworkset.security.session.impl;
import javax.servlet.http.HttpSession;
import org.frameworkset.security.session.SessionEvent;
public class SessionEventImpl implements SessionEvent {
private HttpSession session;
private String attributeName;
private int eventType;
public SessionEventImpl(HttpSession session,int eventType) {
this.session = session;
this.eventType = eventType;
}
@Override
public HttpSession getSource() {
// TODO Auto-generated method stub
return session;
}
@Override
public int getEventType() {
// TODO Auto-generated method stub
return eventType;
}
public String getAttributeName() {
return attributeName;
}
public SessionEventImpl setAttributeName(String attributeName) {
this.attributeName = attributeName;
return this;
}
public Object getAttributeValue() {
return session.getAttribute(attributeName);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy