List of usage examples for javax.el ELContext putContext
public void putContext(@SuppressWarnings("rawtypes") Class key, Object contextObject)
From source file:therian.uelbox.HelperELResolver.java
State getOrCreateState(ELContext context, Object base) { synchronized (context) { @SuppressWarnings("unchecked") State state = UEL.getContext(context, State.class); if (state == null) { state = createState(context, base); context.putContext(State.class, state); } else if (state.completion == Completion.YES) { state.reset();//from w w w.j a v a 2 s.c om } state.tip = base; return state; } }