/** * How this directive is to be initialized. * * @param rs * @param context * @param node * @throws TemplateInitException */ public void init(RuntimeServices rs, InternalContextAdapter context, Node node) throws TemplateInitException { rsvc = rs; String property = getScopeName() + '.' + RuntimeConstants.PROVIDE_SCOPE_CONTROL; this.provideScope = rsvc.getBoolean(property, provideScope); }
/** CTOR, wraps an ICA */ public VMContext(InternalContextAdapter inner, RuntimeServices rsvc) { localcontextscope = rsvc.getBoolean(RuntimeConstants.VM_CONTEXT_LOCALSCOPE, false); wrappedContext = inner; innerContext = inner.getBaseContext(); }