protected Properties getConfigurationProperties(OperationContext context, ModelNode model) throws OperationFailedException {
        Properties props = new Properties();

        getResourceProperties(props, IIOPRootDefinition.INSTANCE, context, model);


        // check if the node contains a list of generic properties.
        ModelNode configNode = model.get(Constants.CONFIGURATION);
        if (configNode.hasDefined(Constants.PROPERTIES)) {
            for (Property property : configNode.get(Constants.PROPERTIES).get(Constants.PROPERTY)
                    .asPropertyList()) {
                String name = property.getName();
                String value = property.getValue().get(Constants.PROPERTY_VALUE).asString();
                props.setProperty(name, value);
            }
        }
        return props;
    }
protected Properties getConfigurationProperties(OperationContext context, ModelNode model) throws OperationFailedException {
        Properties props = new Properties();

        getResourceProperties(props, IIOPRootDefinition.INSTANCE, context, model);


        
        ModelNode configNode = model.get(Constants.CONFIGURATION);
        if (configNode.hasDefined(Constants.PROPERTIES)) {
            for (Property property : configNode.get(Constants.PROPERTIES).get(Constants.PROPERTY)
                    .asPropertyList()) {
                String name = property.getName();
                String value = property.getValue().get(Constants.PROPERTY_VALUE).asString();
                props.setProperty(name, value);
            }
        }
        return props;
    }
protected Properties getConfigurationProperties ( OperationContext context , ModelNode model ) throws OperationFailedException { Properties props = new Properties ( ) ; getResourceProperties ( props , IIOPRootDefinition . INSTANCE , context , model ) ; // check if the node contains a list of generic properties. ModelNode configNode = model . get ( Constants . CONFIGURATION ) ; if ( configNode . hasDefined ( Constants . PROPERTIES ) ) { for ( Property property : configNode . get ( Constants . PROPERTIES ) . get ( Constants . PROPERTY ) . asPropertyList ( ) ) { String name = property . getName ( ) ; String value = property . getValue ( ) . get ( Constants . PROPERTY_VALUE ) . asString ( ) ; props . setProperty ( name , value ) ; } } return props ; }
<p>
Obtains the subsystem configuration properties from the specified {@code ModelNode}, using default values for undefined
properties. If the property has a IIOP equivalent, it is translated into its IIOP counterpart before being added to
the returned {@code Properties} object.
</p>

@param model the {@code ModelNode} that contains the subsystem configuration properties.
@return a {@code Properties} instance containing all configured subsystem properties.
@throws OperationFailedException if an error occurs while resolving the properties.
<p > Obtains the subsystem configuration properties from the specified { @code ModelNode } using default values for undefined properties . If the property has a IIOP equivalent it is translated into its IIOP counterpart before being added to the returned { @code Properties } object . < / p >