Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
[WFCORE-5037] Tighten access a bit

[WFCORE-5037] Pass in the AttributeDefinition where possible to the JMX TypeConverters

Note that for the main work we still use the descriptor. This fix is

mainly to make it possible to check which kind of Object with complex

values we have.

ObjectTypeAttributeDefinition and ObjectMapAttributeDefinition both

return the same r-r-d output for attributes but are different. The first

one has defined key/value pairs where the keys are all known. e.g. the

following would be an allowed value:

{"my-attr" => {"one" => 100L}}

ObjectMapAttributeDefinition on the other hand is a map of unknown keys

containing those entries, e.g. the following would be an allowed value:

{"my-attr" => {"a" => {"one" => 100L}}}

In both cases the r-r-d output for the attribute would look like:

"description" => "description",

"attributes" => {"my-attr" => {

"type" => OBJECT,

"description" => "map-of-maps",

"expressions-allowed" => false,

"required" => false,

"nillable" => true,

"value-type" => {"one" => {

"type" => LONG,

"description" => "map-of-maps.one",

"expressions-allowed" => false,

"required" => true,

"nillable" => false

}},

"access-type" => "metric",

"storage" => "runtime"

}},

....

So there is no way for JMX yet to know which of the two cases we have.

Passing in the AttributeDefinition is an attempt at figuring that out.

[WFCORE-5037] Get JMX conversion working for maps of complex types

[WFCORE-4901] TCCL not set to application classloader when MBean Notification is invoked

[WFCORE-4901] TCCL not set to application classloader when MBean Notification is invoked

[WFCORE-4565] Replace 'new ModelNode(true)’ with 'ModelNode.TRUE’

  1. … 62 more files in changeset.
[WFCORE-4565] Replace 'new ModelNode(true)’ with 'ModelNode.TRUE’

  1. … 62 more files in changeset.
[WFCORE-4565] Replace 'new ModelNode().set(false)’ with 'ModelNode.FALSE’

  1. … 6 more files in changeset.
[WFCORE-4565] Replace 'new ModelNode().set(false)’ with 'ModelNode.FALSE’

  1. … 6 more files in changeset.
[WFCORE-4565] Replace 'new ModelNode(false)’ with 'ModelNode.FALSE’

  1. … 88 more files in changeset.
[WFCORE-4565] Replace 'new ModelNode(false)’ with 'ModelNode.FALSE’

  1. … 88 more files in changeset.
[WFCORE-4500] Withdraw the security identity supplier when MBeanServerService stops

[WFCORE-4276] eliminates overrides of SimpleResourceDefinition.registerCapabilities

Configure capabilities using

org.jboss.as.controller.SimpleResourceDefinition.Parameters#addCapabilities

instead of overriding SimpleResourceDefinition.registerCapabilities

(unless a specific treatment is required).

JIRA: https://issues.jboss.org/browse/WFCORE-4276

  1. … 19 more files in changeset.
[WFCORE-4276] eliminates overrides of SimpleResourceDefinition.registerCapabilities

Configure capabilities using

org.jboss.as.controller.SimpleResourceDefinition.Parameters#addCapabilities

instead of overriding SimpleResourceDefinition.registerCapabilities

(unless a specific treatment is required).

JIRA: https://issues.jboss.org/browse/WFCORE-4276

  1. … 19 more files in changeset.
[WFCORE-4179] Eliminate MBeanRegistrationService from JMX subsystem.

[WFCORE-4179] Eliminate MBeanRegistrationService from JMX subsystem.

[WFCORE-3039] Capability requirement can be lost if two attributes on same resource reference the same capability

  1. … 11 more files in changeset.
[WFCORE-3039] Capability requirement can be lost if two attributes on same resource reference the same capability

  1. … 11 more files in changeset.
Fix for WFCORE-4273, Layers for core-galleon-pack. WFCORE-4286, upgrade galleon 3.0.1.CR1, plugins 3.0.1.CR2.

  1. … 74 more files in changeset.
Remove comment from jmx subsystem template for domain

[WFCORE-3776] Deprecate attribute 'show-model' in jmx subsystem

[WFCORE-3550] Minimize creation of attribute descriptions in support off JMX read/setAttribute

Refactoring - no functional change. Eliminating unused varargs.

[WFCORE-3524] If only parser suppliers are registered, initialize the one with the 'latest' namespace Also, achieves some of the possible gain from rejected issue WFCORE-3523 by not doing parser instantiation / parser description caching on a domain server.

  1. … 4 more files in changeset.
WFCORE-3517 Remove unnecessary Attribute and Element enums from JXM subsystem

    • -81
    • +0
    ./main/java/org/jboss/as/jmx/Attribute.java
    • -76
    • +0
    ./main/java/org/jboss/as/jmx/Element.java
    • -49
    • +49
    ./main/java/org/jboss/as/jmx/JMXExtension.java
[WFCORE-3492][JBEAP-14045] - remove notificaition use wrong method name

[WFCORE-973][WFCORE-3493] Don't store a minValue or maxValue in OpenMBeanParameterInfo if the value is not numeric

[WFCORE-3465] Get rid of extraneous uses of ModelNode.resolve(). Related, get rid of impls of the unused ParameterValidator.validateResolvedParameter and implement a default method that throws UOE

  1. … 34 more files in changeset.
[WFCORE-3461] Be able to directly query the root management mbean

Since we are doing so much other work in ModelControllerMBeanHelper anyway, add a code cleanup commit to get rid of IDE warns

Since we are caching the root resource mbean's instance for WFCORE-3415 anyway, use it's name when possible instead of recalculating that name.