/** * Set the resource configuration on the bean populator. * @throws SmooksConfigurationException Incorrectly configured resource. */ @Initialize public void initialize() throws SmooksConfigurationException { isAttribute = (valueAttributeName != null); beanId = appContext.getBeanIdStore().register(beanIdName); if(logger.isDebugEnabled()) { logger.debug("Value Binder created for [" + beanIdName + "]."); } }
/** * Set the resource configuration on the bean populator. * @throws SmooksConfigurationException Incorrectly configured resource. */ @Initialize public void initialize() throws SmooksConfigurationException { isAttribute = (valueAttributeName != null); beanId = appContext.getBeanIdStore().register(beanIdName); if(logger.isDebugEnabled()) { logger.debug("Value Binder created for [" + beanIdName + "]."); } }
@Initialize public void initialize() throws SmooksConfigurationException { beanId = appContext.getBeanIdStore().getBeanId(STATVAR); if(beanId == null) { beanId = appContext.getBeanIdStore().register(STATVAR); } }
@Initialize public void initialize() throws SmooksConfigurationException { beanId = appContext.getBeanIdStore().getBeanId(STATVAR); if(beanId == null) { beanId = appContext.getBeanIdStore().register(STATVAR); } }
@Initialize public void initialize() throws SmooksConfigurationException { beanId = appContext.getBeanIdStore().getBeanId(STATVAR); if(beanId == null) { beanId = appContext.getBeanIdStore().register(STATVAR); } }
/** * Set the resource configuration on the bean populator. * @throws SmooksConfigurationException Incorrectly configured resource. */ @Initialize public void initialize() throws SmooksConfigurationException { isAttribute = (valueAttributeName != null); beanId = appContext.getBeanIdStore().register(beanIdName); if(logger.isDebugEnabled()) { logger.debug("Value Binder created for [" + beanIdName + "]."); } }
@Initialize public void preRegBeanIds() { for(String preRegBeanId : mapBeans) { mapBeanIds.add(applicationContext.getBeanIdStore().register(preRegBeanId)); } }
@Initialize public void preRegBeanIds() { for(String preRegBeanId : mapBeans) { mapBeanIds.add(applicationContext.getBeanIdStore().register(preRegBeanId)); } }
@Initialize public void preRegBeanIds() { for(String preRegBeanId : mapBeans) { mapBeanIds.add(applicationContext.getBeanIdStore().register(preRegBeanId)); } }
@Initialize public void initialize() throws SmooksConfigurationException { if(StringUtils.isEmpty(lookupName) && StringUtils.isEmpty(query)) { throw new SmooksConfigurationException("A lookup name or a query needs to be set to be able to lookup anything"); } if(StringUtils.isNotEmpty(lookupName) && StringUtils.isNotEmpty(query)) { throw new SmooksConfigurationException("Both the lookup name and the query can't be set at the same time"); } beanId = appContext.getBeanIdStore().register(beanIdName); parameterIndex = ParameterManager.initializeParameterIndex(id, parameterListType, appContext); objectStore = new ApplicationContextObjectStore(appContext); }
@Initialize public void initialize() { beanId = appContext.getBeanIdStore().register(beanIdName); countDirection = CountDirection.valueOf(direction); }
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; }
@Initialize public void initialize() { beanId = appContext.getBeanIdStore().register(beanIdName); countDirection = CountDirection.valueOf(direction); }
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; }
@Initialize public void initialize() throws SmooksConfigurationException { BeanIdStore beanIdStore = appContext.getBeanIdStore(); beanId = beanIdStore.register(beanIdName); if(updatedBeanIdName != null) { updatedBeanId = beanIdStore.register(updatedBeanIdName); } objectStore = new ApplicationContextObjectStore(appContext); }
@Initialize public void initialize() throws SmooksConfigurationException { BeanIdStore beanIdStore = appContext.getBeanIdStore(); beanId = beanIdStore.register(beanIdName); if(deletedBeanIdName != null) { deletedBeanId = beanIdStore.register(deletedBeanIdName); } objectStore = new ApplicationContextObjectStore(appContext); }
@Initialize public void initialize() throws SmooksConfigurationException { BeanIdStore beanIdStore = appContext.getBeanIdStore(); beanId = beanIdStore.register(beanIdName); if(insertedBeanIdName != null) { insertedBeanId = beanIdStore.register(insertedBeanIdName); } objectStore = new ApplicationContextObjectStore(appContext); }
@Initialize public void intitialize() throws SmooksConfigurationException { statementExec = new StatementExec(statement); if(statementExec.getStatementType() == StatementType.QUERY && resultSetName == null) { throw new SmooksConfigurationException("Sorry, query statements must be accompanied by a 'resultSetName' property, under whose value the query results are bound."); } if(resultSetName != null) { resultSetBeanId = appContext.getBeanIdStore().register(resultSetName); } rsAppContextKey = datasource + ":" + statement; }
@Initialize public void intitialize() throws SmooksConfigurationException { statementExec = new StatementExec(statement); if(statementExec.getStatementType() == StatementType.QUERY && resultSetName == null) { throw new SmooksConfigurationException("Sorry, query statements must be accompanied by a 'resultSetName' property, under whose value the query results are bound."); } if(resultSetName != null) { resultSetBeanId = appContext.getBeanIdStore().register(resultSetName); } rsAppContextKey = datasource + ":" + statement; }