Package org.jboss.test.jca.adminobject

Examples of org.jboss.test.jca.adminobject.TestImplementation


      try
      {
         Object obj = getInitialContext().lookup("test/jca/TestInterface");
         assertTrue("Instanceof TestInterface", obj instanceof TestInterface);
         assertTrue("Instanceof TestImplementation", obj instanceof TestImplementation);
         TestImplementation impl = (TestImplementation) obj;
         assertEquals("StringValue", impl.getStringProperty());
         assertEquals(new Integer(123), impl.getIntegerProperty());

         obj = getInitialContext().lookup("test/jca/TestInterface2");
         assertTrue("Instanceof TestInterface2", obj instanceof TestInterface2);
         assertTrue("Instanceof TestImplementation2", obj instanceof TestImplementation2);
         TestImplementation2 impl2 = (TestImplementation2) obj;
View Full Code Here

TOP

Related Classes of org.jboss.test.jca.adminobject.TestImplementation

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.