Class TestClient

All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
ServletTestClient, SingletonTestClient, StatefulTestClient, StatelessTestClient

public abstract class TestClient extends NamedTestCase
  • Field Details

    • initialContext

      protected InitialContext initialContext
    • ejbMetaData

      protected javax.ejb.EJBMetaData ejbMetaData
    • ejbHomeHandle

      protected javax.ejb.HomeHandle ejbHomeHandle
    • ejbHandle

      protected javax.ejb.Handle ejbHandle
    • ejbPrimaryKey

      protected Integer ejbPrimaryKey
  • Constructor Details

    • TestClient

      public TestClient(String name)
  • Method Details

    • setUp

      protected abstract 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
    • cast

      protected Object cast(Object object, Class type)
    • processFieldInjections

      protected final void processFieldInjections()
    • processSetterInjections

      protected final void processSetterInjections()