Interface EJBLiteClientIF


public interface EJBLiteClientIF
  • Field Details

  • Method Details

    • setInjectionSupported

      void setInjectionSupported(Boolean injectionSupported)
    • getInjectionSupported

      Boolean getInjectionSupported()
    • runTestInVehicle

      void runTestInVehicle()
    • getTestName

      String getTestName()
    • setTestName

      void setTestName(String testName)
    • getStatus

      String getStatus()
    • getReason

      String getReason()
    • getModuleName

      String getModuleName()
    • setModuleName

      void setModuleName(String mn)
    • getJndiMapping

      Map<String,String> getJndiMapping()
    • getContainer

      jakarta.ejb.embeddable.EJBContainer getContainer()
    • setContainer

      void setContainer(jakarta.ejb.embeddable.EJBContainer container)
    • getContext

      Context getContext()
    • setAdditionalModules

      void setAdditionalModules(File[] additionalModules)
    • setContext

      void setContext(Context context)
    • getContainerInitProperties

      Map<String,Object> getContainerInitProperties()
      Subclass client can override this method to customize the container creation. The default implementation returns null in EJBLiteClientBase. Since the method must be invoked prior to container creation, way ahead of actual test method, this customization is only possible at test client level, not at test method level.
    • setContextClassLoader

      void setContextClassLoader()
      This method is called by test client to set context ClassLoader to include additional classes and ejb modules. This method is called prior to creating EJBContainer. The default implementation does nothing and makes no change to the context ClassLoader in the current thread. Subclass client may choose to override this method to provide for additional ejb modules and classes.