Package org.jboss.system.deployers.managed

Examples of org.jboss.system.deployers.managed.ServiceMetaDataICF


   public void testJBossManagedConnectionPool() throws Exception
   {
      enableTrace("org.jboss.managed.plugins.factory");
      ManagedObjectFactory mof = ManagedObjectFactory.getInstance();
      ServiceMetaDataICF icf = new ServiceMetaDataICF();
      mof.setInstanceClassFactory(ServiceMetaData.class, icf);
      ServiceMetaData smd = new ServiceMetaData();
      smd.setCode(JBossManagedConnectionPool.class.getName());
      smd.setObjectName(new ObjectName("jboss:service=Hypersonic,database=localDB"));
      ManagedObject mo = mof.initManagedObject(smd, null, null);
View Full Code Here


   }
  
   public void testProfileServiceTestDS() throws Throwable
   {
      getMOF().addInstanceClassFactory(new LocalDSInstanceClassFactory());
      getMOF().addInstanceClassFactory(new ServiceMetaDataICF());
      //
      addComponentMapper(new TestMapper(getPersistenceFactory()));

      // Initial parsing of the dataSource deployment
      ManagedConnectionFactoryDeploymentGroup deployment = parseDataSource("profileservice/persistence/profileservice-test-ds.xml");
View Full Code Here

   }
  
   protected void doTestMerge(String xmlName) throws Throwable
   {
      // Set the ICF
      getMOF().addInstanceClassFactory(new ServiceMetaDataICF());
      // TODO create dependency on messaging project ?
//      getMOF().addManagedObjectDefinition(new QueueMODefinition(getMOF()));
//      getMOF().addManagedObjectDefinition(new TopicMODefinition(getMOF()));
     
      // Add the testmapper
View Full Code Here

   public void testJBossManagedConnectionPool() throws Exception
   {
      enableTrace("org.jboss.managed.plugins.factory");
      ManagedObjectFactory mof = ManagedObjectFactory.getInstance();
      ServiceMetaDataICF icf = new ServiceMetaDataICF();
      mof.setInstanceClassFactory(ServiceMetaData.class, icf);
      ServiceMetaData smd = new ServiceMetaData();
      smd.setCode(JBossManagedConnectionPool.class.getName());
      smd.setObjectName(new ObjectName("jboss:service=Hypersonic,database=localDB"));
      ManagedObject mo = mof.initManagedObject(smd, null, null);
View Full Code Here

   }
  
   public void testProfileServiceTestDS() throws Throwable
   {
      getMOF().addInstanceClassFactory(new LocalDSInstanceClassFactory());
      getMOF().addInstanceClassFactory(new ServiceMetaDataICF());
      //
      addComponentMapper(new TestMapper(getPersistenceFactory()));

      // Initial parsing of the dataSource deployment
      ManagedConnectionFactoryDeploymentGroup deployment = parseDataSource("profileservice/persistence/profileservice-test-ds.xml");
View Full Code Here

   }
  
   protected void doTestMerge(String xmlName) throws Throwable
   {
      // Set the ICF
      getMOF().addInstanceClassFactory(new ServiceMetaDataICF());
      // TODO create dependency on messaging project ?
//      getMOF().addManagedObjectDefinition(new QueueMODefinition(getMOF()));
//      getMOF().addManagedObjectDefinition(new TopicMODefinition(getMOF()));
     
      // Add the testmapper
View Full Code Here

TOP

Related Classes of org.jboss.system.deployers.managed.ServiceMetaDataICF

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.