private ComplianceMonitor(final DomainRoot domainRoot) {
mDomainRoot = domainRoot;
mServer = (MBeanServer) domainRoot.extra().mbeanServerConnection();
final AmxPref amxPrefs = InjectedValues.getInstance().getAMXPrefs();
if (amxPrefs == null) {
mValidationLevel = AmxPref.VALIDATION_LEVEL_FULL;
mUnregisterNonCompliant = false;
mLogInaccessibleAttributes = true;
} else {
mValidationLevel = amxPrefs.getValidationLevel();
mUnregisterNonCompliant = Boolean.valueOf(amxPrefs.getUnregisterNonCompliant());
mLogInaccessibleAttributes = Boolean.valueOf(amxPrefs.getLogInaccessibleAttributes());
}
mValidatorThread = new ValidatorThread(mServer, mValidationLevel, mUnregisterNonCompliant, mLogInaccessibleAttributes);
mLogger.log(Level.INFO,"amx.AMXComplianceMonitor.level",new Object[] {mValidationLevel, mUnregisterNonCompliant,