com.jdon.controller.context.application.DemoSessionWrapper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jdonframework Show documentation
Show all versions of jdonframework Show documentation
JdonFramework is a java framework that you can use to build your Domain Driven Design + CQRS + EventSource applications with asynchronous concurrency and higher throughput.
package com.jdon.controller.context.application;
import java.util.HashMap;
import java.util.Map;
import com.jdon.controller.context.SessionWrapper;
public class DemoSessionWrapper implements SessionWrapper {
private Map session = new HashMap();
public Object getAttribute(String key) {
return session.get(key);
}
public void setAttribute(String key, Object o) {
session.put(key, o);
}
}