* @throws Exception
*/
public void testJNDIResource() throws Exception
{
getLog().debug("+++ testJNDIResource");
Management jsr77MEJB = getManagementEJB();
String domainName = jsr77MEJB.getDefaultDomain();
ObjectName queryName = new ObjectName(domainName + ":" + J2EEManagedObject.TYPE + "=" + J2EETypeConstants.JNDIResource + "," + "*");
// TODO - this used to work, Scott's new naming required?
/*
Set names = jsr77MEJB.queryNames(queryName, null);
if (names.isEmpty())
{
fail("Could not find JSR-77 JNDIResource '" + J2EETypeConstants.JNDIResource + "'");
}
Iterator iter = names.iterator();
while (iter.hasNext())
getLog().debug("JNDIResource: " + iter.next());
*/
jsr77MEJB.remove();
}