[jboss-jira] [JBoss JIRA] (AS7-2930) Allow ConcreteResourceRegistration to search the wildcard node for attributes and operations and submodels if a non-wildcard node returns null

Brian Stansberry (Created) (JIRA) jira-events at lists.jboss.org
Tue Dec 6 08:50:41 EST 2011


Allow ConcreteResourceRegistration to search the wildcard node for attributes and operations and submodels if a non-wildcard node returns null
----------------------------------------------------------------------------------------------------------------------------------------------

                 Key: AS7-2930
                 URL: https://issues.jboss.org/browse/AS7-2930
             Project: Application Server 7
          Issue Type: Feature Request
          Components: Domain Management
            Reporter: Brian Stansberry
            Assignee: Brian Stansberry
             Fix For: 7.1.0.CR1


Example. Say we have

/subsystem=ds/ds=*  with all the standard attributes (e.g. "jndi-name") and operations (e.g. "enable") for a DS registered

and then

/subsystem=ds/ds=H2DS with additional H2-specific attribute "foo" and operation "bar" registered.

We want a search for "jndi-name" or "enable" to succeed on any DS address, but searching for "foo" and "bar" should also succeed for address /subsystem=ds/ds=H2DS

Note that the above example is a bad practice. Better would be:

/subsystem=ds/ds=*  with all the standard attributes (e.g. "jndi-name") and operations (e.g. "enable") for a DS registered

and then

/subsystem=ds/ds=H2DS with additional H2-specific submodel statistics=jdbc. Then "foo" and "bar" would be registered as attribute/operation of statistics=jdbc.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list