context.put(piContextKey, piContext);
context.put(PI_CONTEXT_KEY, piContext);
    protected final Map getOrCreatePIContextMap() {        Map context = getContext();        Object value = context.get(piContextKey);        if (value != null &&                ! (value instanceof Map)) {            throw new IllegalStateException("invalid object for pi context" +                    " - must be an implementation of Map");        }        Map piContext = (Map) value;        if (piContext == null) {            piContext = new HashMap();            context.put(piContextKey, piContext);        }        return piContext;    }