public static StandaloneBeanContext create(ExecutionContext executionContext) { StandaloneBeanContext beanContext; BeanIdStore beanIdStore = executionContext.getContext().getBeanIdStore(); Map<String, Object> beanMap = createBeanMap(executionContext, beanIdStore); beanContext = new StandaloneBeanContext(executionContext, beanIdStore, beanMap); return beanContext; }
public static StandaloneBeanContext create(ExecutionContext executionContext) { StandaloneBeanContext beanContext; BeanIdStore beanIdStore = executionContext.getContext().getBeanIdStore(); Map<String, Object> beanMap = createBeanMap(executionContext, beanIdStore); beanContext = new StandaloneBeanContext(executionContext, beanIdStore, beanMap); return beanContext; }
public static StandaloneBeanContext create(ExecutionContext executionContext) { StandaloneBeanContext beanContext; BeanIdStore beanIdStore = executionContext.getContext().getBeanIdStore(); Map<String, Object> beanMap = createBeanMap(executionContext, beanIdStore); beanContext = new StandaloneBeanContext(executionContext, beanIdStore, beanMap); return beanContext; }
public static StandaloneBeanContext create(ExecutionContext executionContext) { StandaloneBeanContext beanContext; BeanIdStore beanIdStore = executionContext.getContext().getBeanIdStore(); Map<String, Object> beanMap = createBeanMap(executionContext, beanIdStore); beanContext = new StandaloneBeanContext(executionContext, beanIdStore, beanMap); return beanContext; }
public static void initializeParameterContainer(int id, ParameterListType type, ExecutionContext executionContext) { ParameterContainer<?> container = getParameterContainer(id, executionContext); if(container == null) { switch (type) { case NAMED: container = new NamedParameterContainer((NamedParameterIndex) getParameterIndex(id, executionContext.getContext())); break; case POSITIONAL: container = new PositionalParameterContainer((PositionalParameterIndex) getParameterIndex(id, executionContext.getContext())); break; default: throw new IllegalStateException("Unknown ParameterListType '" + type + "'."); } executionContext.setAttribute(getParameterContainerName(id), container); } else { container.clear(); } }
Configurator.configure(reader, saxDriverConfig, execContext.getContext()); } else { Configurator.initialise(reader);
Configurator.configure(reader, saxDriverConfig, execContext.getContext()); } else { Configurator.initialise(reader);
Configurator.configure(reader, saxDriverConfig, execContext.getContext()); } else { Configurator.initialise(reader);
Configurator.configure(reader, saxDriverConfig, execContext.getContext()); } else { Configurator.initialise(reader);
/** * Changes a bean object of the given beanId. The difference to addBean is that the * bean must exist, the associated beans aren't removed and the observers of the * {@link BeanLifecycle#CHANGE} event are notified. * * @param executionContext The execution context within which the bean is created. * @param beanId The beanId under which the bean is to be stored. * @param bean The bean instance to be stored. */ public static void changeBean(ExecutionContext executionContext, String beanId, Object bean) { warnUsingDeprecatedMethod(); AssertArgument.isNotNull(executionContext, "executionContext"); AssertArgument.isNotNullAndNotEmpty(beanId, "beanId"); AssertArgument.isNotNull(bean, "bean"); BeanId beanIdObj = getBeanId(executionContext.getContext().getBeanIdStore(), beanId); executionContext.getBeanContext().changeBean(beanIdObj, bean, null); }
/** * Add a bean instance to the specified request under the specified beanId. * * @param executionContext The execution context within which the bean is created. * @param beanId The beanId under which the bean is to be stored. * @param bean The bean instance to be stored. */ public static void addBean(ExecutionContext executionContext, String beanId, Object bean) { warnUsingDeprecatedMethod(); AssertArgument.isNotNull(executionContext, "executionContext"); AssertArgument.isNotNullAndNotEmpty(beanId, "beanId"); AssertArgument.isNotNull(bean, "bean"); BeanId beanIdObj = getBeanId(executionContext.getContext().getBeanIdStore(), beanId); executionContext.getBeanContext().addBean(beanIdObj, bean, null); }
/** * Add a bean instance to the specified request under the specified beanId. * * @param executionContext The execution context within which the bean is created. * @param beanId The beanId under which the bean is to be stored. * @param bean The bean instance to be stored. */ public static void addBean(ExecutionContext executionContext, String beanId, Object bean) { warnUsingDeprecatedMethod(); AssertArgument.isNotNull(executionContext, "executionContext"); AssertArgument.isNotNullAndNotEmpty(beanId, "beanId"); AssertArgument.isNotNull(bean, "bean"); BeanId beanIdObj = getBeanId(executionContext.getContext().getBeanIdStore(), beanId); executionContext.getBeanContext().addBean(beanIdObj, bean, null); }
/** * Add a bean instance to the specified request under the specified beanId. * * @param executionContext The execution context within which the bean is created. * @param beanId The beanId under which the bean is to be stored. * @param bean The bean instance to be stored. */ public static void addBean(ExecutionContext executionContext, String beanId, Object bean) { warnUsingDeprecatedMethod(); AssertArgument.isNotNull(executionContext, "executionContext"); AssertArgument.isNotNullAndNotEmpty(beanId, "beanId"); AssertArgument.isNotNull(bean, "bean"); BeanId beanIdObj = getBeanId(executionContext.getContext().getBeanIdStore(), beanId); executionContext.getBeanContext().addBean(beanIdObj, bean, null); }
/** * Changes a bean object of the given beanId. The difference to addBean is that the * bean must exist, the associated beans aren't removed and the observers of the * {@link BeanLifecycle#CHANGE} event are notified. * * @param executionContext The execution context within which the bean is created. * @param beanId The beanId under which the bean is to be stored. * @param bean The bean instance to be stored. */ public static void changeBean(ExecutionContext executionContext, String beanId, Object bean) { warnUsingDeprecatedMethod(); AssertArgument.isNotNull(executionContext, "executionContext"); AssertArgument.isNotNullAndNotEmpty(beanId, "beanId"); AssertArgument.isNotNull(bean, "bean"); BeanId beanIdObj = getBeanId(executionContext.getContext().getBeanIdStore(), beanId); executionContext.getBeanContext().changeBean(beanIdObj, bean, null); }
/** * Changes a bean object of the given beanId. The difference to addBean is that the * bean must exist, the associated beans aren't removed and the observers of the * {@link BeanLifecycle#CHANGE} event are notified. * * @param executionContext The execution context within which the bean is created. * @param beanId The beanId under which the bean is to be stored. * @param bean The bean instance to be stored. */ public static void changeBean(ExecutionContext executionContext, String beanId, Object bean) { warnUsingDeprecatedMethod(); AssertArgument.isNotNull(executionContext, "executionContext"); AssertArgument.isNotNullAndNotEmpty(beanId, "beanId"); AssertArgument.isNotNull(bean, "bean"); BeanId beanIdObj = getBeanId(executionContext.getContext().getBeanIdStore(), beanId); executionContext.getBeanContext().changeBean(beanIdObj, bean, null); }
List<Map<String, Object>> resultMap; ApplicationContext appContext = executionContext.getContext(); ResultSetContextObject rsContextObj = ResultSetContextObject.getInstance(rsAppContextKey, appContext);
List<Map<String, Object>> resultMap; ApplicationContext appContext = executionContext.getContext(); ResultSetContextObject rsContextObj = ResultSetContextObject.getInstance(rsAppContextKey, appContext);