1 5 package org.exoplatform.container.jmx; 6 7 import javax.management.QueryExp ; 8 import javax.management.MBeanServer ; 9 import javax.management.* ; 10 11 17 public class ExoQueryExp implements QueryExp { 18 19 private String domain_ ; 20 21 public ExoQueryExp(String domain) { 22 domain_ = domain ; 23 } 24 25 public void setMBeanServer(MBeanServer s) { 26 27 } 28 29 public boolean apply(ObjectName name) throws BadStringOperationException, 30 BadBinaryOpValueExpException, 31 BadAttributeValueExpException, 32 InvalidApplicationException { 33 return domain_.equals(name.getDomain()); 34 } 35 } | Popular Tags |