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

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


      AbstractManagedObjectFactory mof = new AbstractManagedObjectFactory();
      testMOF = mof;

      BeanMetaDataICF bicf = new BeanMetaDataICF();
      mof.addInstanceClassFactory(bicf);
      LocalDSInstanceClassFactory dsicf = new LocalDSInstanceClassFactory();
      mof.addInstanceClassFactory(dsicf);
      NoTxICF nticf = new NoTxICF();
      mof.addInstanceClassFactory(nticf);

      InstanceClassFactory icf = mof.getInstanceClassFactory(IBeanMetaData.class);
View Full Code Here


   public void testManagedConnectionFactoryPropertyMetaData()
      throws Exception
   {
      ManagedConnectionFactoryDeploymentGroup mcf = initMCFDG();
      ManagedObjectFactory mof = getMOF();
      LocalDSInstanceClassFactory dsicf = new LocalDSInstanceClassFactory();
      mof.addInstanceClassFactory(dsicf);
      ManagedObject mcfMO = mof.initManagedObject(mcf, "ManagedConnectionFactoryDeploymentGroup", null);
      ManagedProperty deployments = mcfMO.getProperty("deployments");
      Object dvalue = deployments.getValue();
      assertTrue(dvalue.getClass()+"", dvalue instanceof CollectionValue);
View Full Code Here

TOP

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

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.