Package org.teiid.resource.spi

Examples of org.teiid.resource.spi.BasicConnectionFactory


  private String ldapContextFactory;
 
 
  @Override
  public BasicConnectionFactory createConnectionFactory() throws ResourceException {
    return new BasicConnectionFactory() {
      @Override
      public LDAPConnectionImpl getConnection() throws ResourceException {
        return new LDAPConnectionImpl(LDAPManagedConnectionFactory.this);
      }
    };
View Full Code Here


  @Override
  public BasicConnectionFactory createConnectionFactory() throws ResourceException {
    if (this.parentDirectory == null) {
      throw new InvalidPropertyException(UTIL.getString("parentdirectory_not_set")); //$NON-NLS-1$
    }
    return new BasicConnectionFactory() {
     
      @Override
      public BasicConnection getConnection() throws ResourceException {
        return new FileConnectionImpl(parentDirectory);
      }
View Full Code Here

          if (null != configurer) {
              configurer.configureBean(portQName.toString() + ".jaxws-client.proxyFactory", instance); //$NON-NLS-1$
          }
    }
   
    return new BasicConnectionFactory() {
      private static final long serialVersionUID = 5028356110047329135L;

      @Override
      public SalesforceConnectionImpl getConnection() throws ResourceException {
        return new SalesforceConnectionImpl(getUsername(), getPassword(), getURL(), SalesForceManagedConnectionFactory.this);
View Full Code Here

          if (null != configurer) {
              configurer.configureBean(portQName.toString() + ".jaxws-client.proxyFactory", instance); //$NON-NLS-1$
          }
          outInterceptors = instance.getOutInterceptors();
    }
    return new BasicConnectionFactory() {
      @Override
      public BasicConnection getConnection() throws ResourceException {
        return new WSConnectionImpl(WSManagedConnectionFactory.this);
      }
    };
View Full Code Here

TOP

Related Classes of org.teiid.resource.spi.BasicConnectionFactory

Copyright © 2018 www.massapicom. 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.