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

Expose JAX-RS resources as children of the subsystem

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • None
    • 10.1.0.Final
    • REST
    • None

      Servlets, EJBs, WebSockets, JPA, etc expose its components as children of the subsystem in the management API. For example to list the stateless EJBs of a deployment:

      [standalone@localhost:9990 /] /deployment=cdivsejb.war/subsystem=ejb3:read-children-resources(child-type=stateless-session-bean)

      This makes it specially easy to navigate trough the web console (attached screenshot).

      To read JAX-RS resources, the command would be:
      [standalone@localhost:9990 /] /deployment=cdivsejb.war/subsystem=jaxrs:show-resources()

      I propose to make deprecate the show-resources operation and create a new "resources" child, containing the Rest resources.

              rhn-engineering-lgao Lin Gao
              ggam_jira Guillermo González de Agüero (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: