Class MdbTestClient

java.lang.Object
org.junit.Assert
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
BasicMdbTests, BmtMdbAllowedOperationsTests, MdbAllowedOperationsTests, MdbAnnotatedFieldInjectionTests, MdbConnectionFactoryTests, MdbContextLookupTests, MdbFieldInjectionTests, MdbInterceptorTests, MdbJndiEncTests, MdbPojoContextLookupTests, MdbSetterInjectionTests

public abstract class MdbTestClient extends NamedTestCase
  • Field Details

    • initialContext

      protected InitialContext initialContext
    • connectionFactory

      protected javax.jms.ConnectionFactory connectionFactory
  • Constructor Details

    • MdbTestClient

      public MdbTestClient(String name)
  • Method Details

    • setUp

      protected void setUp() throws Exception
      Sets up the fixture, for example, open a network connection. This method is called before a test is executed.
      Overrides:
      setUp in class NumberedTestCase
      Throws:
      Exception
    • createConnection

      protected javax.jms.Connection createConnection() throws javax.jms.JMSException
      Throws:
      javax.jms.JMSException