public void testJBossManagedConnectionPool() throws Exception
{
enableTrace("org.jboss.managed.plugins.factory");
ManagedObjectFactory mof = ManagedObjectFactory.getInstance();
ServiceMetaDataICF icf = new ServiceMetaDataICF();
mof.setInstanceClassFactory(ServiceMetaData.class, icf);
ServiceMetaData smd = new ServiceMetaData();
smd.setCode(JBossManagedConnectionPool.class.getName());
smd.setObjectName(new ObjectName("jboss:service=Hypersonic,database=localDB"));
ManagedObject mo = mof.initManagedObject(smd, null, null);