[ 
https://issues.apache.org/jira/browse/SLING-3485?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Klco updated SLING-3485:
----------------------------

    Description: 
Right now the following classes which are used for the JsonRendererServletare 
not exported from the bundle.  From a developer's perspective, I may want to 
use these classes to remix the Resource -> JSON functionality without having to 
re-write the code.

- 
https://svn.apache.org/repos/asf/sling/trunk/bundles/servlets/get/src/main/java/org/apache/sling/servlets/get/impl/helpers/JsonObjectCreator.java
- 
https://svn.apache.org/repos/asf/sling/trunk/bundles/servlets/get/src/main/java/org/apache/sling/servlets/get/impl/helpers/ResourceTraversor.java

I propose we refactor these classes to be in the package 
org.apache.sling.servlets.get.helpers which will expose them to the OSGi 
Container.

  was:
Right now the following classes which are used for the 
[JsonRendererServlet](https://svn.apache.org/repos/asf/sling/trunk/bundles/servlets/get/src/main/java/org/apache/sling/servlets/get/impl/helpers/JsonRendererServlet.java)
 are not exported from the bundle.  From a developer's perspective, I may want 
to use these classes to remix the Resource -> JSON functionality without having 
to re-write the code.

* 
[JsonObjectCreator](https://svn.apache.org/repos/asf/sling/trunk/bundles/servlets/get/src/main/java/org/apache/sling/servlets/get/impl/helpers/JsonObjectCreator.java)
* 
[ResourceTraversor](https://svn.apache.org/repos/asf/sling/trunk/bundles/servlets/get/src/main/java/org/apache/sling/servlets/get/impl/helpers/ResourceTraversor.java)

I propose we refactor these classes to be in the package 
`org.apache.sling.servlets.get.helpers` which will expose them to the OSGi 
Container.


> Expose JSON Servlet Helpers
> ---------------------------
>
>                 Key: SLING-3485
>                 URL: https://issues.apache.org/jira/browse/SLING-3485
>             Project: Sling
>          Issue Type: Improvement
>          Components: Servlets
>    Affects Versions: Servlets Get 2.1.8
>            Reporter: Dan Klco
>            Priority: Minor
>              Labels: easyfix, patch
>
> Right now the following classes which are used for the JsonRendererServletare 
> not exported from the bundle.  From a developer's perspective, I may want to 
> use these classes to remix the Resource -> JSON functionality without having 
> to re-write the code.
> - 
> https://svn.apache.org/repos/asf/sling/trunk/bundles/servlets/get/src/main/java/org/apache/sling/servlets/get/impl/helpers/JsonObjectCreator.java
> - 
> https://svn.apache.org/repos/asf/sling/trunk/bundles/servlets/get/src/main/java/org/apache/sling/servlets/get/impl/helpers/ResourceTraversor.java
> I propose we refactor these classes to be in the package 
> org.apache.sling.servlets.get.helpers which will expose them to the OSGi 
> Container.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to