Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-4699

Expose EJB3 deployment information at runtime

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Minor Minor
    • 20.0.0.Beta1, 20.0.0.Final
    • None
    • EJB
    • None

      User will be able to get EJB Deployment Information at runtime for the following areas:

      • Class name
      • Local JNDI name
      • Remote JNDI name
      • Security roles
      • Bean statistics (beans in use, access count, idle count, ...)
      • Destination JNDI (for MDBs)
      • Activation config properties
      • EJB timeout (Stateful Timeouts , and Stateless Instance timeout)

      A lot of this information were previously (EAP 5) obtained from the deployment descriptor that was published by the bean ("deploymentDescriptor" attribute). In the past, this metadata could be retrieved from EAP 5 via jmx which no longer exists in EAP 6+ (JBoss AS 7+). Now with EJB 3, users provide that information through annotations (and also through the Deployment Descriptor file), so users need means to get those informations at runtime.

      The goal of this is not only for MDB but for all kinds of EJB (session, stateful, MDB, ...)

      MORE INFO:
      The local and remote JNDI are related to Session EJBs.
      However we need to access the JNDI of the destination configured for the MDB.

              cfang@redhat.com Cheng Fang
              bozpeyni@redhat.com Bilgehan Ozpeynirci
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: