Examples of afterPropertiesSet()


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

public class AppConfig {

  @Bean
  public Node esNode() throws Exception {
    ElasticsearchNodeFactoryBean factory = new ElasticsearchNodeFactoryBean();
    factory.afterPropertiesSet();
    return factory.getObject();
  }

  @Bean
  public Client esClient() throws Exception {
View Full Code Here

Examples of info.jtrac.acegi.JtracLdapAuthenticationProvider.afterPropertiesSet()

            ldapProvider.setActiveDirectoryDomain(activeDirectoryDomain);       
            ldapProvider.setSearchBase(searchBase);
            ldapProvider.setJtrac(jtrac);
            // **IMPORTANT!** we have to call this one time init ourselves
            // as we are manually doing the factory stuff not Spring
            ldapProvider.afterPropertiesSet();
            // this is added at the top of the list or providers, and will fall back to local database
            providers.add(ldapProvider);
        } else {
            logger.info("not using ldap authentication");
        }
View Full Code Here

Examples of io.fabric8.zookeeper.spring.ZKServerFactoryBean.afterPropertiesSet()

            int serverPort = getFreePort();

            zkServerFactoryBean = new ZKServerFactoryBean();
            zkServerFactoryBean.setPurge(true);
            zkServerFactoryBean.setClientPortAddress(new InetSocketAddress("localhost", zooKeeperPort));
            zkServerFactoryBean.afterPropertiesSet();

            CuratorFrameworkFactory.Builder builder = CuratorFrameworkFactory.builder()
                    .connectString("localhost:" + zooKeeperPort)
                    .retryPolicy(new RetryOneTime(1000))
                    .connectionTimeoutMs(60000);
View Full Code Here

Examples of javax.activation.FileTypeMap.afterPropertiesSet()

      if (fileTypeMap != null) {
        return fileTypeMap;
      }
    }
    ConfigurableMimeFileTypeMap fileTypeMap = new ConfigurableMimeFileTypeMap();
    fileTypeMap.afterPropertiesSet();
    return fileTypeMap;
  }

  /**
   * Set the Java Activation Framework <code>FileTypeMap</code> to use
View Full Code Here

Examples of liquibase.integration.spring.SpringLiquibase.afterPropertiesSet()

    SpringLiquibase liquibase = new SpringLiquibase();
    liquibase.setChangeLog("classpath:liquibase.xml");
    liquibase.setDataSource(dataSource);
    liquibase.setResourceLoader(new DefaultResourceLoader());
    liquibase.setDropFirst(true);
    liquibase.afterPropertiesSet();
  }


  public static void printAllDrivers() {
    if (log.isDebugEnabled()) {
View Full Code Here

Examples of net.helipilot50.stocktrade.framework.remoting.PluggableRmiProxyFactoryBean.afterPropertiesSet()

        bean.setServiceUrl(getServiceUrl());
        _log.debug("resolveProxy serviceURL: " + bean.getServiceUrl());
        bean.setServiceInterface(MethodInvoker.class);
        // TF:13/05/2009:Set this method to retry a connection if the server connection drops out for some reason
        bean.setRefreshStubOnConnectFailure(true);
        bean.afterPropertiesSet();
        // get the proxy
        return bean.getObject();
    }

}
View Full Code Here

Examples of nl.surfnet.spring.security.opensaml.SignatureSecurityPolicyRule.afterPropertiesSet()

  protected SignatureSecurityPolicyRule signatureBuilder() {
    final SignatureSecurityPolicyRule signatureSecurityPolicyRule = new SignatureSecurityPolicyRule(new SAMLSignatureProfileValidator());
    signatureSecurityPolicyRule.setCredentialResolver(keyStoreCredentialResolver());
    try {
      signatureSecurityPolicyRule.afterPropertiesSet();
    } catch (Exception e) {
      throw new RuntimeException(e);
    }
    return signatureSecurityPolicyRule;
  }
View Full Code Here

Examples of org.activemq.spring.BrokerFactoryBean.afterPropertiesSet()

  protected BrokerContainer broker;
   
    protected void setUp() throws Exception {
        BrokerFactoryBean bfb = new BrokerFactoryBean();
        bfb.setConfig(new ClassPathResource("org/servicemix/jbi/nmr/flow/jca/broker.xml"));
        bfb.afterPropertiesSet();
        broker = (BrokerContainer) bfb.getObject();
        super.setUp();
    }
   
    protected void tearDown() throws Exception {
View Full Code Here

Examples of org.activemq.work.SpringWorkManager.afterPropertiesSet()

        ra.setUseEmbeddedBroker(Boolean.TRUE);

        jcac.setResourceAdapter(ra);

        SpringWorkManager wm = new SpringWorkManager();
        wm.afterPropertiesSet();

        jcac.setWorkManager(wm);

        jcac.afterPropertiesSet();
View Full Code Here

Examples of org.apache.activemq.security.XBeanAuthorizationMap.afterPropertiesSet()

                        entries.add(fromDto(entry, new XBeanAuthorizationEntry()));
                    }
                }
                xBeanAuthorizationMap.setAuthorizationEntries(entries);
                try {
                    xBeanAuthorizationMap.afterPropertiesSet();
                } catch (Exception e) {
                    info("failed to update xBeanAuthorizationMap auth entries:", e);
                }

                for (Object entry : filter(dtoMap.getAuthorizationMap(), DtoAuthorizationMap.TempDestinationAuthorizationEntry.class)) {
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.