Package org.jboss.test.server.profileservice.component.persistence.support

Examples of org.jboss.test.server.profileservice.component.persistence.support.TestComponent


   public void testAdd() throws Exception
   {
      // Add the component mapper
      addComponentMapper(new TestComponentMapper(getPersistenceFactory()));

      TestComponent addComponent = createComponentMetaData("component3",
            new ObjectName("org.jboss:type=testComponent3"),
            createCompositeMetaData("composite3", 'c', new Integer(3)));
     
      ManagedObject temp = getMOF().initManagedObject(addComponent, null);
      ManagedComponent component = new TestMgtComponentImpl(temp);
View Full Code Here


   }
  
   protected TestComponent createComponentMetaData(String name, ObjectName objectName,
         CompositeMetaData composite)
   {
      TestComponent component = new TestComponent();
      component.setName(name);
      component.setObjectName(objectName);
      component.setComposite(composite);
      return component;
   }
View Full Code Here

TOP

Related Classes of org.jboss.test.server.profileservice.component.persistence.support.TestComponent

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.