Set s = new HashSet();
ObjectName namepattern = null;
try {
String pattern = getDomainName() + ":" + keys + ",*";
namepattern = new ObjectName(pattern);
}
catch(Exception e) {
e.printStackTrace();
}
if(namepattern != null) {
MEJBUtility mejb = MEJBUtility.getMEJBUtility();
if(mejb != null)
try {
s = mejb.queryNames(namepattern, null);
}
catch(Exception e) {
e.printStackTrace();
}
}
return s;