public MapResource()

in src/main/java/org/apache/sling/jmx/provider/impl/MapResource.java [44:57]


    public MapResource(final ResourceResolver resolver,
            final String path,
            final Map<String, Object> props,
            final AttributeResource parent) {
        this.parent = parent;
        this.resolver = resolver;
        this.path = path;
        this.properties = new HashMap<String, Object>();
        for(final Map.Entry<String, Object> entry : props.entrySet() ) {
            if ( !(entry.getValue() instanceof Map) ) {
                this.properties.put(entry.getKey(), entry.getValue());
            }
        }
    }