Examples of afterPropertiesSet()


Examples of com.alibaba.otter.node.etl.common.pipe.impl.memory.RowDataMemoryPipe.afterPropertiesSet()

    @Test
    public void test_ok() {
        RowDataMemoryPipe pipe = new RowDataMemoryPipe();
        pipe.setDownloadDir(tmp);
        try {
            pipe.afterPropertiesSet();
        } catch (Exception e) {
            want.fail();
        }

        DbBatch source = new DbBatch();
View Full Code Here

Examples of com.alibaba.otter.node.etl.common.pipe.impl.rpc.RowDataRpcPipe.afterPropertiesSet()

        rowBatch.setIdentity(identity);
        source.setRowBatch(rowBatch);

        final RowDataRpcPipe pipe = new RowDataRpcPipe();
        try {
            pipe.afterPropertiesSet();
        } catch (Exception e) {
            want.fail();
        }
        Mockit.setUpMock(NodeCommmunicationClient.class, new Object() {
View Full Code Here

Examples of com.cedarsolutions.dao.gae.impl.DaoObjectifyService.afterPropertiesSet()

     */
    public static DaoObjectifyService createDaoObjectifyService(Resource entities) {
        DaoObjectifyService service = new DaoObjectifyService();
        service.setObjectifyServiceProxy(ObjectifyServiceProxy.getInstance());
        service.setEntities(entities);
        service.afterPropertiesSet();
        return service;
    }

}
View Full Code Here

Examples of com.cedarsolutions.server.service.impl.GaeEmailService.afterPropertiesSet()

            templateService.afterPropertiesSet();

            GaeEmailService realEmailService = new GaeEmailService();
            realEmailService.setGaeEmailUtils(gaeEmailUtils);
            realEmailService.setTemplateService(templateService);
            realEmailService.afterPropertiesSet();

            // By creating this spy, the real underlying code will be called, but we'll
            // be able to verify the arguments that are passed in to the method calls.
            return spy(realEmailService);
        } catch (IOException e) {
View Full Code Here

Examples of com.cedarsolutions.server.service.impl.GaeVelocityTemplateService.afterPropertiesSet()

            when(templateDirResource.getFile().getPath()).thenReturn(templateDir);

            GaeVelocityTemplateService templateService = new GaeVelocityTemplateService();
            templateService.setGaeVelocityUtils(gaeVelocityUtils);
            templateService.setTemplateDirResource(templateDirResource);
            templateService.afterPropertiesSet();

            GaeEmailService realEmailService = new GaeEmailService();
            realEmailService.setGaeEmailUtils(gaeEmailUtils);
            realEmailService.setTemplateService(templateService);
            realEmailService.afterPropertiesSet();
View Full Code Here

Examples of com.consol.citrus.xml.schema.WsdlXsdSchema.afterPropertiesSet()

                    schema.afterPropertiesSet();
                    schemas.add(schema);
                } else if (resource.getFilename().endsWith(".wsdl")) {
                    log.info("Loading WSDL schema resource " + resource.getFilename());
                    WsdlXsdSchema wsdl = new WsdlXsdSchema(resource);
                    wsdl.afterPropertiesSet();
                    schemas.add(wsdl);
                } else {
                    log.warn("Skipped resource other than XSD schema for repository (" + resource.getFilename() + ")");
                }
            }
View Full Code Here

Examples of com.liferay.resourcesimporter.util.Importer.afterPropertiesSet()

            servletContextName, TextFormatter.J);
        }

        importer.setTargetValue(targetValue);

        importer.afterPropertiesSet();

        boolean developerModeEnabled = GetterUtil.getBoolean(
          pluginPackageProperties.getProperty(
            "resources-importer-developer-mode-enabled"));
View Full Code Here

Examples of com.opengamma.util.jms.JmsConnectorFactoryBean.afterPropertiesSet()

    JmsConnectorFactoryBean factoryBean = new JmsConnectorFactoryBean();
    factoryBean.setName("StandardJms");
    factoryBean.setConnectionFactory(getConnectionFactory());
    factoryBean.setClientBrokerUri(new URI(getClientBrokerUri()));
    factoryBean.afterPropertiesSet();

    return factoryBean.getObjectCreating();

  }
View Full Code Here

Examples of com.vmware.bdd.service.job.SubJobStep.afterPropertiesSet()

         subJobStep
               .setMainJobExecutionStatusHolder(mainJobExecutionStatusHolder);
         subJobStep.setJobLauncher(jobLauncher);
         subJobStep.setJobRepository(jobRepository);
         subJobStep.setStepExecutionListeners(jobStepListeners);
         subJobStep.afterPropertiesSet();
         mainJob.addStep(subJobStep);
         logger.debug("added sub job step: " + subJobStep.getName());
         int subJobParametersNumber =
               subJobParameters.get(stepNumber).getParameters().keySet().size();
         mainJobParams.put(JobConstants.SUB_JOB_PARAMETERS_NUMBER + stepNumber,
View Full Code Here

Examples of fr.pilato.spring.elasticsearch.ElasticsearchClientFactoryBean.afterPropertiesSet()

  @Bean
  public Client esClient() throws Exception {
    ElasticsearchClientFactoryBean factory = new ElasticsearchClientFactoryBean();
    factory.setNode(esNode());
    factory.afterPropertiesSet();
    return factory.getObject();
    }
}
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.