Package org.glassfish.admin.amx.core
Class AMXValidator
- java.lang.Object
-
- org.glassfish.admin.amx.core.AMXValidator
-
@Taxonomy(stability=UNCOMMITTED) public final class AMXValidator extends Object
Validation of key behavioral requirements of AMX MBeans. These tests do not validate any MBean-specific semantics, only general requirements for all AMX MBeans.Note that all tests have to account for the possibility that an MBean can be unregistered while the validation is in progress— that is not a test failure, since it is perfectly legal.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AMXValidator.ProblemList
static class
AMXValidator.ValidationResult
-
Constructor Summary
Constructors Constructor Description AMXValidator(MBeanServerConnection conn, String validationLevel, boolean unregisterNonCompliant, boolean logInaccessibleAttributes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<ObjectName>
filterAMX(Set<ObjectName> candidates)
Return a Set containing ObjectNames that appear to be AMX-compliant MBeansSet<ObjectName>
findAllAMXCompliant()
Find all MBeans that appear to be AMX MBeansAMXValidator.ValidationResult
validate()
AMXValidator.ValidationResult
validate(Collection<ObjectName> c)
AMXValidator.ValidationResult
validate(ObjectName objectName)
AMXValidator.ValidationResult
validate(ObjectName[] targets)
-
-
-
Constructor Detail
-
AMXValidator
public AMXValidator(MBeanServerConnection conn, String validationLevel, boolean unregisterNonCompliant, boolean logInaccessibleAttributes)
-
-
Method Detail
-
filterAMX
public Set<ObjectName> filterAMX(Set<ObjectName> candidates)
Return a Set containing ObjectNames that appear to be AMX-compliant MBeans
-
findAllAMXCompliant
public Set<ObjectName> findAllAMXCompliant()
Find all MBeans that appear to be AMX MBeans
-
validate
public AMXValidator.ValidationResult validate(Collection<ObjectName> c)
-
validate
public AMXValidator.ValidationResult validate(ObjectName[] targets)
-
validate
public AMXValidator.ValidationResult validate(ObjectName objectName)
-
validate
public AMXValidator.ValidationResult validate()
-
-