[ 
https://issues.apache.org/jira/browse/SLING-2295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13154881#comment-13154881
 ] 

Justin Edelson commented on SLING-2295:
---------------------------------------

The current JSON file looks like this:
{"org.apache.sling.api.resource.Resource": {
    "If the adaptable is a JcrNodeResource.": [
        "javax.jcr.Node",
        "java.util.Map",
        "javax.jcr.Item",
        "org.apache.sling.api.resource.ValueMap",
        "java.net.URL"
    ],
    "If the resource is a JcrNodeResource and the user has set property 
privileges on the node": "org.apache.sling.api.resource.PersistableValueMap",
    "If the resource is a JcrNodeResource and has a jcr:data property or in an 
nt:file node": "java.io.InputStream",
    "If the adaptable is a JcrPropertyResource.": [
        "javax.jcr.Item",
        "javax.jcr.Property",
        "javax.jcr.Value",
        "java.lang.String",
        "java.lang.Boolean",
        "java.lang.Long",
        "java.lang.Double",
        "java.util.Calendar",
        "java.io.InputStream",
        "javax.jcr.Value[]",
        "java.lang.String[]",
        "java.lang.Boolean[]",
        "java.lang.Long[]",
        "java.lang.Double[]"
    ],
    "If the resource is a JcrPropertyResource and the property is a reference 
or weak reference property.": "javax.jcr.Node",
    "If the adaptable is a RedirectResource.": [
        "java.util.Map",
        "org.apache.sling.api.resource.ValueMap"
    ]
}}

It is stripped of all extraneous information and is more or less a DSL.



                
> Add an Adapter WebConsole plugin (and Configuration Printer) which outputs 
> the available adaptations
> ----------------------------------------------------------------------------------------------------
>
>                 Key: SLING-2295
>                 URL: https://issues.apache.org/jira/browse/SLING-2295
>             Project: Sling
>          Issue Type: Improvement
>          Components: Extensions
>            Reporter: Justin Edelson
>
> original discussion here: http://sling.markmail.org/thread/bolgpzm2cevruitz

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to