Object mbean = null;
mLogger.log(Level.INFO, "amx.registerChild", System.getProperty("com.sun.aas.instanceName"));
// when clustering comes along, some other party will need to register MBeans
// for each non-DAS instance
// childObjectName = objectNames.buildChildObjectName(ServerMon.class, AMXGlassfish.DEFAULT.dasName());
childObjectName = objectNames.buildChildObjectName(ServerMon.class, System.getProperty("com.sun.aas.instanceName"));
mbean = new ServerMonitoringImpl(self);
registerChild(mbean, childObjectName);
}
public ObjectName[] getServerMon() {