Package org.jboss.test.managed.factory.support.mcf

Examples of org.jboss.test.managed.factory.support.mcf.ManagedConnectionFactoryPropertyMetaData


      DataSourceConnectionPropertyMetaData[] cps = {
        cp1, cp2   
      };
      lds.setDataSourceConnectionProperties(Arrays.asList(cps));
      List<ManagedConnectionFactoryPropertyMetaData> mcps = new ArrayList<ManagedConnectionFactoryPropertyMetaData>();
      ManagedConnectionFactoryPropertyMetaData mcp1 = new ManagedConnectionFactoryPropertyMetaData();
      mcp1.setName("mcp1-name");
      mcp1.setValue("mcp1-value");
      mcp1.setType("java.lang.String");
      mcps.add(mcp1);
      ManagedConnectionFactoryPropertyMetaData mcp2 = new ManagedConnectionFactoryPropertyMetaData();
      mcp2.setName("mcp2-name");
      mcp2.setValue("mcp2-value");
      mcp2.setType("java.lang.String");
      mcps.add(mcp2);
      lds.setManagedConnectionFactoryProperties(mcps);
      lds.setDriverClass("org.jboss.jdbc.SomeDriver");
      lds.setExceptionSorterClassName("org.jboss.jdbc.SomeExceptionSorter");
      String[] depends = {"jboss:service=Naming", "jboss:service=Hypersonic,database=localDB"};
View Full Code Here

TOP

Related Classes of org.jboss.test.managed.factory.support.mcf.ManagedConnectionFactoryPropertyMetaData

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.