java.lang.Object
org.eclipse.microprofile.context.tck.cdi.CDIBean

@ApplicationScoped public class CDIBean extends Object
  • Constructor Details

    • CDIBean

      public CDIBean()
  • Method Details

    • testVerifyInjection

      public void testVerifyInjection()
      Extra sanity check test to verify injection is occurring. However, if CDI is set up properly, this bean should not even be reachable if injection fails.
    • testBasicExecutorUsable

      public void testBasicExecutorUsable() throws Exception
      Verify that injected ME instances are useable in a very basic way
      Throws:
      Exception - indicates test failure
    • testAppDefinedProducerOfThreadContext

      public void testAppDefinedProducerOfThreadContext()
      Application can provide producers of ThreadContext that are qualified.
    • testAppDefinedProducerUsingInjectedThreadContext

      public void testAppDefinedProducerUsingInjectedThreadContext()
      Application-defined producer methods can have injection points of ThreadContext.