[jboss-jira] [JBoss JIRA] Created: (JBAS-6881) Allow one to query for the ManagedComponents/ManagedPropertys that have a given admin view usage

Scott M Stark (JIRA) jira-events at lists.jboss.org
Thu May 7 17:23:46 EDT 2009


Allow one to query for the ManagedComponents/ManagedPropertys that have a given admin view usage
------------------------------------------------------------------------------------------------

                 Key: JBAS-6881
                 URL: https://jira.jboss.org/jira/browse/JBAS-6881
             Project: JBoss Application Server
          Issue Type: Feature Request
      Security Level: Public (Everyone can see)
          Components: Integration, ProfileService
            Reporter: Scott M Stark
            Assignee: Scott M Stark
             Fix For: JBossAS-5.1.0.GA


We have an adminView notion on the ManagementProperty, but we don't have a way to query for the ManagedComponents and the associated ManagedPropertys that match a given admin use. For example, something like:

Class AdminViewPair
{
   ManagedComponent comp;
   Collection<String> propertyNames;
}

Collection<AdminViewPair> pairs = managmentView.matchComponentsForAdminView("Port");
for(AdminViewPair pair : pairs)
{
   for(String propertyName : pair.propertyNames)
   {
      ManagedProperty prop = pair.comp.getProperty(propertyName);
...
   }
}


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list