Examples of afterPropertiesSet()


Examples of org.apache.servicemix.jbi.cluster.requestor.AbstractPollingRequestorPool.afterPropertiesSet()

        pool.setConnectionFactory(connectionFactory);
        pool.setTransactionManager(transactionManager);
        pool.setTransacted(transacted);
        pool.setAutoStartup(false);
        pool.setTaskExecutor(executor);
        pool.afterPropertiesSet();
        cluster.setPool(pool);
        cluster.setName(name);
        cluster.setRollbackOnErrors(rollbackOnErrors);
        nmr.getEndpointRegistry().register(cluster,
                ServiceHelper.createMap(Endpoint.NAME, name));
View Full Code Here

Examples of org.apache.servicemix.jbi.container.InstallComponent.afterPropertiesSet()

        InstallComponent ic = new InstallComponent();
        ic.setGroupId("org.apache.servicemix");
        ic.setArtifactId("servicemix-quartz");
        ic.setVersion("3.2");
        ic.afterPropertiesSet();
        ic.deploy(container);

        URL url = getClass().getResource("su2-src/servicemix.xml");
        File path = new File(new URI(url.toString()));
        path = path.getParentFile();
View Full Code Here

Examples of org.apache.servicemix.jbi.container.InstallSharedLibrary.afterPropertiesSet()

        InstallSharedLibrary isl = new InstallSharedLibrary();
        isl.setGroupId("org.apache.servicemix");
        isl.setArtifactId("servicemix-shared");
        isl.setVersion("3.2");
        isl.afterPropertiesSet();
        isl.deploy(container);

        InstallComponent ic = new InstallComponent();
        ic.setGroupId("org.apache.servicemix");
        ic.setArtifactId("servicemix-quartz");
View Full Code Here

Examples of org.apache.servicemix.nmr.audit.jdbc.JdbcAuditor.afterPropertiesSet()

    public void testInsertUpdate() throws Exception {
        AbstractAuditorTest.ReceiverEndpoint receiver = createReceiver(nmr, false, false);

        JdbcAuditor jdbcAuditor = new JdbcAuditor();
        jdbcAuditor.setDataSource(dataSource);
        jdbcAuditor.afterPropertiesSet();
        LuceneAuditor auditor = new LuceneAuditor();
        auditor.setDelegatedAuditor(jdbcAuditor);
        LuceneIndexer indexer = new LuceneIndexer();
        indexer.setDirectoryName(index);
        auditor.setLuceneIndexer(indexer);
View Full Code Here

Examples of org.apache.servicemix.web.jmx.EnhancedMBeanProxyFactoryBean.afterPropertiesSet()

            } catch (MalformedObjectNameException e) {
                throw new IllegalStateException(e);
            }
            factory.setProxyInterface(type);
            factory.setUseStrictCasing(false);
            factory.afterPropertiesSet();
            proxy = (T) factory.getObject();
            proxies.put(name, new SoftReference<Object>(proxy));
        }
        return proxy;
    }
View Full Code Here

Examples of org.archive.checkpointing.Checkpoint.afterPropertiesSet()

       
        Checkpoint recoveryCheckpoint = new Checkpoint();
        ConfigPath recoverPath = new ConfigPath("recover",firstCheckpointName);
        recoverPath.setBase(basePath);
        recoveryCheckpoint.setCheckpointDir(recoverPath);
        recoveryCheckpoint.afterPropertiesSet();
       
        bdb2.setRecoveryCheckpoint(recoveryCheckpoint);
       
        bdb2.start();
       
View Full Code Here

Examples of org.archive.modules.CrawlMetadata.afterPropertiesSet()

    protected Extractor makeExtractor() {
        ExtractorHTML result = new ExtractorHTML();
        UriErrorLoggerModule ulm = new UnitTestUriLoggerModule()
        result.setLoggerModule(ulm);
        CrawlMetadata metadata = new CrawlMetadata();
        metadata.afterPropertiesSet();
        result.setMetadata(metadata);
        result.setExtractorJS(new ExtractorJS());
        result.afterPropertiesSet();
        return result;
    }
View Full Code Here

Examples of org.beangle.security.cas.CasConfig.afterPropertiesSet()

public class CasEntryPointTest {

  @Test(expectedExceptions = IllegalArgumentException.class)
  public void testDetectsMissingUrl() throws Exception {
    CasConfig config = new CasConfig();
    config.afterPropertiesSet();
    CasEntryPoint ep = new CasEntryPoint(config);
    ep.afterPropertiesSet();
  }

  @Test(expectedExceptions = IllegalArgumentException.class)
View Full Code Here

Examples of org.beangle.security.web.auth.LoginUrlEntryPoint.afterPropertiesSet()

public class LoginUrlEntryPointTest {

  public void testDetectsMissingLoginFormUrl() throws Exception {
    LoginUrlEntryPoint ep = new LoginUrlEntryPoint();
    try {
      ep.afterPropertiesSet();
      fail("Should have thrown IllegalArgumentException");
    } catch (IllegalArgumentException expected) {
      assertEquals("loginFormUrl must be specified", expected.getMessage());
    }
  }
View Full Code Here

Examples of org.crank.crud.GenericDaoFactory.afterPropertiesSet()

    }
    genericDaoFactory.setQueryHints(cmo.getQueryHints());
    genericDaoFactory.setNewSelect(cmo.getNewSelect());
    genericDaoFactory.setBo(cmo.getEntityType());
    genericDaoFactory.setEntityManagerFactory(entityManagerFactory());
    genericDaoFactory.afterPropertiesSet();
    return (GenericDao) genericDaoFactory.getObject();
  }

  public void setDataSource(DataSource dataSource) {
    this.dataSource = dataSource;
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.