How to get the application name and module name when running in JBoss EAP 6

Solution Verified - Updated -

Issue

  • I can get the application name and module name that my bean is in when running in JBoss EAP 6?
  • How to get the deployment name at runtime in JBoss EAP 6?
  • How get the AppName / ModuleName from an application running in JBoss EAP 6?

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 6.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.