Made the server context a more useful concept.
[jsvc.git] / src / dolda / jsvc / j2ee / J2eeContext.java
... / ...
CommitLineData
1package dolda.jsvc.j2ee;
2
3import dolda.jsvc.*;
4import dolda.jsvc.util.*;
5import javax.servlet.*;
6import javax.servlet.http.*;
7
8public class J2eeContext implements ServerContext {
9 private ServletConfig cfg;
10 private long ctime;
11
12 J2eeContext(ServletConfig cfg) {
13 this.cfg = cfg;
14 this.ctime = System.currentTimeMillis();
15 }
16
17 public long starttime() {
18 return(ctime);
19 }
20}