Examples of afterPropertiesSet()


Examples of org.pentaho.platform.plugin.services.security.userrole.ldap.search.UnionizingLdapSearch.afterPropertiesSet()

    Set searches = new HashSet();
    searches.add( usernamesInRoleSearch );
    searches.add( usernamesInRoleSearch2 );
    UnionizingLdapSearch unionSearch = new UnionizingLdapSearch( searches );
    unionSearch.afterPropertiesSet();

    DefaultLdapUserRoleListService userRoleListService = new DefaultLdapUserRoleListService();

    userRoleListService.setUsernamesInRoleSearch( unionSearch );
View Full Code Here

Examples of org.springextensions.db4o.Db4oTransactionManager.afterPropertiesSet()

      db4oTm.setDefaultTimeout(timeout);
      log.info("Set DB4O default transaction timeout to: " + timeout);

      // validate configuration
      try {
        db4oTm.afterPropertiesSet();
      }
      catch(final Exception e) {
        throw new IllegalStateException(e);
      }
View Full Code Here

Examples of org.springframework.amqp.rabbit.connection.CachingConnectionFactory.afterPropertiesSet()

      }
    }).when(mockConnectionFactory).newConnection((ExecutorService) null);

    CachingConnectionFactory ccf = new CachingConnectionFactory(mockConnectionFactory);
    ccf.setCacheMode(CacheMode.CONNECTION);
    ccf.afterPropertiesSet();

    RabbitAdmin admin = new RabbitAdmin(ccf);
    GenericApplicationContext context = new GenericApplicationContext();
    Queue queue = new Queue("foo");
    context.getBeanFactory().registerSingleton("foo", queue);
View Full Code Here

Examples of org.springframework.amqp.rabbit.core.RabbitTemplate.afterPropertiesSet()

    amqpAdmin.declareQueue(cloudQueue);

    RabbitTemplate template = new RabbitTemplate(connectionFactory);
    template.setRoutingKey(queueName);
    template.setQueue(queueName);
    template.afterPropertiesSet();

    template.convertAndSend("Hello, CloudFoundry!");
    template.convertAndSend("Hello, Spring!");
    template.convertAndSend("Hello, Java!");
    template.convertAndSend("Hello, Caldecott!");
View Full Code Here

Examples of org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.afterPropertiesSet()

        // container.setChannelTransacted(true);

        MessageListenerAdapter adapter = new MessageListenerAdapter();
        adapter.setDelegate(new PojoHandler());
        container.setMessageListener(adapter);
        container.afterPropertiesSet();

        // empty out queue
        while (template.receive("testQueue") != null) {
            // do
        }
View Full Code Here

Examples of org.springframework.amqp.remoting.client.AmqpProxyFactoryBean.afterPropertiesSet()

        Message resultMessage = sentSavingTemplate.getLastMessage();
        return messageConverter.fromMessage(resultMessage);
      }
    };
    amqpProxyFactoryBean.setAmqpTemplate(directForwardingTemplate);
    amqpProxyFactoryBean.afterPropertiesSet();
    Object rawProxy = amqpProxyFactoryBean.getObject();
    riggedProxy = (TestServiceInterface) rawProxy;
  }

  @Test
View Full Code Here

Examples of org.springframework.batch.admin.web.util.HomeController.afterPropertiesSet()

      }
    }).get(2000, TimeUnit.MILLISECONDS);

    HomeController metaData = new HomeController();
    metaData.setApplicationContext(context);
    metaData.afterPropertiesSet();
    MockHttpServletRequest request = new MockHttpServletRequest();
    ModelMap model = new ModelMap();
    metaData.getResources(request, model);
    @SuppressWarnings("unchecked")
    List<ResourceInfo> resources = (List<ResourceInfo>) model.get("resources");
View Full Code Here

Examples of org.springframework.batch.core.explore.support.JobExplorerFactoryBean.afterPropertiesSet()

  @Bean
  public JobExplorer jobExplorer() throws Exception {
    JobExplorerFactoryBean factory = new JobExplorerFactoryBean();
    factory.setDataSource(dataSource);
    factory.afterPropertiesSet();
    return (JobExplorer) factory.getObject();
  }

  @Bean
  public ObjectMapper objectMapper() {
View Full Code Here

Examples of org.springframework.batch.core.explore.support.MapJobExplorerFactoryBean.afterPropertiesSet()

    jobRepository = jobRepositoryFactory.getObject();
    job.setJobRepository(jobRepository);
    jobExecution = jobRepository.createJobExecution("job", new JobParameters());

    MapJobExplorerFactoryBean jobExplorerFactory = new MapJobExplorerFactoryBean(jobRepositoryFactory);
    jobExplorerFactory.afterPropertiesSet();
    jobExplorer = jobExplorerFactory.getObject();
    job.setJobExplorer(jobExplorer);
  }

  @Test
View Full Code Here

Examples of org.springframework.batch.core.job.SimpleJob.afterPropertiesSet()

         }
      }
      mainJob
            .setJobExecutionListeners(new JobExecutionListener[] { mainJobExecutionListener });
      mainJob.setJobRepository(jobRepository);
      mainJob.afterPropertiesSet();
      JobFactory jobFactory = new ReferenceJobFactory(mainJob);
      jobRegistry.register(jobFactory);
      logger.info("registered job: " + mainJob.getName());
      JobParameters mainJobParameters = new JobParameters(mainJobParams);
      JobExecution mainJobExecution =
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.