Interface EJBLiteClientIF
public interface EJBLiteClientIF
- 
Field SummaryFields
- 
Method SummaryModifier and TypeMethodDescriptionjakarta.ejb.embeddable.EJBContainerSubclass client can override this method to customize the container creation.voidvoidsetAdditionalModules(File[] additionalModules) voidsetContainer(jakarta.ejb.embeddable.EJBContainer container) voidsetContext(Context context) voidThis method is called by test client to set context ClassLoader to include additional classes and ejb modules.voidsetInjectionSupported(Boolean injectionSupported) voidsetModuleName(String mn) voidsetTestName(String testName) 
- 
Field Details- 
TEST_PASSED- See Also:
 
- 
TEST_FAILED- See Also:
 
- 
JAVA_GLOBAL_PREFIX- See Also:
 
- 
JAVA_COMP_ENV_PREFIX- See Also:
 
- 
ADDITIONAL_MODULES_KEY- See Also:
 
- 
EJBEMBED_JAR_NAME_BASE- See Also:
 
 
- 
- 
Method Details- 
setInjectionSupported
- 
getInjectionSupportedBoolean getInjectionSupported()
- 
runTestInVehiclevoid runTestInVehicle()
- 
getTestNameString getTestName()
- 
setTestName
- 
getStatusString getStatus()
- 
getReasonString getReason()
- 
getModuleNameString getModuleName()
- 
setModuleName
- 
getJndiMapping
- 
getContainerjakarta.ejb.embeddable.EJBContainer getContainer()
- 
setContainervoid setContainer(jakarta.ejb.embeddable.EJBContainer container) 
- 
getContextContext getContext()
- 
setAdditionalModules
- 
setContext
- 
getContainerInitPropertiesSubclass 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.
- 
setContextClassLoadervoid 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.
 
-