Class FixedObjectTypeAttributeDefinition


  • public class FixedObjectTypeAttributeDefinition
    extends org.jboss.as.controller.ObjectTypeAttributeDefinition
    Fix value type validation for ObjectTypeAttributeDefinition containing a map as value type. Works without this hack in WF-10, not in WF-8.
    Author:
    Christian Lipphardt
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  FixedObjectTypeAttributeDefinition.Builder  
      • Nested classes/interfaces inherited from class org.jboss.as.controller.AttributeDefinition

        org.jboss.as.controller.AttributeDefinition.NameAndGroup
    • Field Summary

      • Fields inherited from class org.jboss.as.controller.AttributeDefinition

        attributeMarshaller, COMPLEX_TYPES, referenceRecorder
    • Constructor Summary

      Constructors 
      Constructor Description
      FixedObjectTypeAttributeDefinition​(org.jboss.as.controller.AbstractAttributeDefinitionBuilder<?,​? extends org.jboss.as.controller.ObjectTypeAttributeDefinition> builder, java.lang.String suffix, org.jboss.as.controller.AttributeDefinition[] valueTypes)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void addValueTypeDescription​(org.jboss.dmr.ModelNode node, java.lang.String prefix, java.util.ResourceBundle bundle, org.jboss.as.controller.descriptions.ResourceDescriptionResolver resolver, java.util.Locale locale)  
      • Methods inherited from class org.jboss.as.controller.ObjectTypeAttributeDefinition

        addAllowedValuesToDescription, addCapabilityRequirements, addOperationParameterDescription, addOperationParameterDescription, addOperationReplyDescription, addResourceAttributeDescription, addResourceAttributeDescription, addValueTypeDescription, convertParameterExpressions, create, getValueTypes, parse, removeCapabilityRequirements, resolveValue
      • Methods inherited from class org.jboss.as.controller.SimpleAttributeDefinition

        marshallAsAttribute, marshallAsAttribute, marshallAsElement, parseAndSetParameter
      • Methods inherited from class org.jboss.as.controller.AttributeDefinition

        addAccessConstraints, addCapabilityRequirements, addDeprecatedInfo, addOperationReplyDescription, convertStringExpression, correctValue, getAccessConstraints, getAllowedValues, getAlternatives, getArbitraryDescriptors, getAttributeDeprecatedDescription, getAttributeGroup, getAttributeMarshaller, getAttributeTextDescription, getCorrector, getDefaultValue, getDeprecationData, getFlags, getImmutableFlags, getMarshaller, getMeasurementUnit, getName, getNoTextDescription, getParser, getReferenceRecorder, getRequires, getType, getUndefinedMetricValue, getValidator, getXmlName, hasAlternative, hasCapabilityRequirements, isAllowed, isAllowExpression, isAllowNull, isDeprecated, isMarshallable, isMarshallable, isNillable, isNullSignificant, isRequired, isRequired, isResourceOnly, isValidatingNull, marshallAsElement, removeCapabilityRequirements, resolveModelAttribute, resolveModelAttribute, resolveValue, validateAndSet, validateOperation
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FixedObjectTypeAttributeDefinition

        public FixedObjectTypeAttributeDefinition​(org.jboss.as.controller.AbstractAttributeDefinitionBuilder<?,​? extends org.jboss.as.controller.ObjectTypeAttributeDefinition> builder,
                                                  java.lang.String suffix,
                                                  org.jboss.as.controller.AttributeDefinition[] valueTypes)
    • Method Detail

      • addValueTypeDescription

        protected void addValueTypeDescription​(org.jboss.dmr.ModelNode node,
                                               java.lang.String prefix,
                                               java.util.ResourceBundle bundle,
                                               org.jboss.as.controller.descriptions.ResourceDescriptionResolver resolver,
                                               java.util.Locale locale)
        Overrides:
        addValueTypeDescription in class org.jboss.as.controller.ObjectTypeAttributeDefinition