-
Bug
-
Resolution: Done
-
Major
-
2.0.5.Final
-
None
There is no implementation for query filter in MBeanServerConnection, marked as TODO
ModelControllerMBeanHelper.java
Set<ObjectName> queryNames(final ObjectName name, final QueryExp query) { return new RootResourceIterator<Set<ObjectName>>(accessControlUtil, getRootResourceAndRegistration().getResource(), new ObjectNameMatchResourceAction<Set<ObjectName>>(name) { Set<ObjectName> set = new HashSet<ObjectName>(); @Override public boolean onResource(ObjectName resourceName) { if (name == null || name.apply(resourceName)) { //TODO check query set.add(resourceName); } return true; } @Override public Set<ObjectName> getResult() { if (set.size() == 1 && set.contains(ModelControllerMBeanHelper.createRootObjectName(domain))) { return Collections.emptySet(); } return set; } }).iterate(); }
- is cloned by
-
JBEAP-2542 support query filter implementation in MBeanServerConnection
- Closed