made application directory available as app.dir-property
This commit is contained in:
parent
9da41c78e6
commit
6b06734adc
1 changed files with 4 additions and 0 deletions
|
@ -118,6 +118,10 @@ public class ApplicationBean implements Serializable {
|
||||||
return app.getCacheNode ();
|
return app.getCacheNode ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public String getdir () {
|
||||||
|
return app.getAppDir ().getAbsolutePath ();
|
||||||
|
}
|
||||||
|
|
||||||
public Date getupSince () {
|
public Date getupSince () {
|
||||||
return new Date (app.starttime);
|
return new Date (app.starttime);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue