expose application object as __app__

This commit is contained in:
hns 2001-01-25 20:54:46 +00:00
parent 63468e09e1
commit 86423de367

View file

@ -46,6 +46,9 @@ public class ESAppNode extends ESNode {
if ("upSince".equals (propname)) { if ("upSince".equals (propname)) {
return createtime; return createtime;
} }
if ("__app__".equals (propname)) {
return new ESWrapper (app, evaluator);
}
return super.getProperty (propname, hash); return super.getProperty (propname, hash);
} }