Examples of afterPropertiesSet()


Examples of org.springmodules.validation.bean.conf.loader.xml.DefaultValidationRuleElementHandlerRegistry.afterPropertiesSet()

        ValangConditionExpressionParser conditionExpressionParser = new ValangConditionExpressionParser();
        conditionExpressionParser.setCustomFunctions(functionsByName);

        DefaultValidationRuleElementHandlerRegistry registry = new DefaultValidationRuleElementHandlerRegistry();
        registry.setConditionExpressionParser(conditionExpressionParser);
        registry.afterPropertiesSet();

        DefaultXmlBeanValidationConfigurationLoader loader = new DefaultXmlBeanValidationConfigurationLoader();
        loader.setResource(new ClassPathResource("validation.xml", getClass()));
        loader.setElementHandlerRegistry(registry);
        loader.afterPropertiesSet();
View Full Code Here

Examples of org.springmodules.validation.bean.conf.loader.xml.DefaultXmlBeanValidationConfigurationLoader.afterPropertiesSet()

        registry.afterPropertiesSet();

        DefaultXmlBeanValidationConfigurationLoader loader = new DefaultXmlBeanValidationConfigurationLoader();
        loader.setResource(new ClassPathResource("validation.xml", getClass()));
        loader.setElementHandlerRegistry(registry);
        loader.afterPropertiesSet();

        BeanValidator validator = new BeanValidator(loader);
        validator.setErrorCodeConverter(new DefaultErrorCodeConverter());

        Person person = new Person("Uri");
View Full Code Here

Examples of org.springmodules.workflow.jbpm30.definition.ProcessDefinitionFactoryBean.afterPropertiesSet()

    public void testWithoutDefinitionLocation() throws Exception {
        ProcessDefinitionFactoryBean factoryBean = new ProcessDefinitionFactoryBean();

        try {
            factoryBean.afterPropertiesSet();
            fail("Should not be able to call afterPropertiesSet without setting the definitionLocation");
        } catch (FatalBeanException e) {
            // success
        }
    }
View Full Code Here

Examples of org.springmodules.workflow.jbpm31.definition.ProcessDefinitionFactoryBean.afterPropertiesSet()

  public void testDeployDefinitions() throws Exception {

    Resource definitionLocation = new ClassPathResource("org/springmodules/workflow/jbpm31/simpleWorkflow.xml");
    ProcessDefinitionFactoryBean definition = new ProcessDefinitionFactoryBean();
    definition.setDefinitionLocation(definitionLocation);
    definition.afterPropertiesSet();

    MockControl sfCtrl = MockControl.createControl(SessionFactory.class);
    SessionFactory sf = (SessionFactory) sfCtrl.getMock();

    MockControl sCtrl = MockControl.createNiceControl(Session.class);
View Full Code Here

Examples of uk.ac.bbsrc.tgac.miso.tools.run.MultiFileQueueMessageSource.afterPropertiesSet()

          mfqms.setScanner(rfs);
          mfqms.setFilter(statusFilter);
          mfqms.setDirectories(paths);
          //make sure all the directories are rescanned each poll
          mfqms.setScanEachPoll(false);
          mfqms.afterPropertiesSet();

          SourcePollingChannelAdapter spca = new SourcePollingChannelAdapter();
          spca.setBeanName(platformType + "StatusFileSource");
          spca.setBeanFactory(context.getBeanFactory());
          spca.setMaxMessagesPerPoll(1);
View Full Code Here

Examples of vn.pyco.tinycms.web.services.internal.SecurityCheckerImpl.afterPropertiesSet()

                                    final AccessDecisionManager httpRequestAccessDecisionManager)
                                    throws Exception {
        SecurityCheckerImpl checker = new SecurityCheckerImpl();
        checker.setAuthenticationManager(authenticationManager);
        checker.setAccessDecisionManager(httpRequestAccessDecisionManager);
        checker.afterPropertiesSet();
       
        return checker;
    }
   
    public static PageRenderService buildPageRenderService(
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.