You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Justin Edelson (JIRA)" <ji...@apache.org> on 2010/04/28 22:02:48 UTC
[jira] Created: (SLING-1510) Expose the ScriptEngineManager managed
by Sling
Expose the ScriptEngineManager managed by Sling
-----------------------------------------------
Key: SLING-1510
URL: https://issues.apache.org/jira/browse/SLING-1510
Project: Sling
Issue Type: Improvement
Components: Scripting
Reporter: Justin Edelson
Priority: Trivial
I'd like to add a new service interface called ScriptEngineManagerFactory to scripting.api and have SlingScriptAdapterFactory implement it. This will allow other infrastucture bundles to use javax.script engines.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
Re: [jira] Created: (SLING-1510) Expose the ScriptEngineManager managed
by Sling
Posted by Felix Meschberger <fm...@gmail.com>.
Hi,
I understand the idea of directly accessing script engines (makes
perfect sense IMHO).
So why not register the ScriptEngineManager as a service directly ? So
you can grab the ScriptEngineManager and just go with it.
Regards
Felix
On 28.04.2010 22:02, Justin Edelson (JIRA) wrote:
> Expose the ScriptEngineManager managed by Sling
> -----------------------------------------------
>
> Key: SLING-1510
> URL: https://issues.apache.org/jira/browse/SLING-1510
> Project: Sling
> Issue Type: Improvement
> Components: Scripting
> Reporter: Justin Edelson
> Priority: Trivial
>
>
> I'd like to add a new service interface called ScriptEngineManagerFactory to scripting.api and have SlingScriptAdapterFactory implement it. This will allow other infrastucture bundles to use javax.script engines.
>
[jira] Commented: (SLING-1510) Expose the ScriptEngineManager
managed by Sling
Posted by "Justin Edelson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-1510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12862063#action_12862063 ]
Justin Edelson commented on SLING-1510:
---------------------------------------
done in r939173
(note - this probably means the next Scripting API release should be 2.2.0, not 2.1.2)
> Expose the ScriptEngineManager managed by Sling
> -----------------------------------------------
>
> Key: SLING-1510
> URL: https://issues.apache.org/jira/browse/SLING-1510
> Project: Sling
> Issue Type: Improvement
> Components: Scripting
> Reporter: Justin Edelson
> Assignee: Justin Edelson
> Priority: Minor
> Fix For: Scripting Core 2.0.12, Scripting API 2.1.2
>
>
> I'd like to add a new service interface called ScriptEngineManagerFactory to scripting.api and have SlingScriptAdapterFactory implement it. This will allow other infrastucture bundles to use javax.script engines.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (SLING-1510) Expose the ScriptEngineManager
managed by Sling
Posted by "Justin Edelson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-1510?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin Edelson resolved SLING-1510.
-----------------------------------
Resolution: Fixed
> Expose the ScriptEngineManager managed by Sling
> -----------------------------------------------
>
> Key: SLING-1510
> URL: https://issues.apache.org/jira/browse/SLING-1510
> Project: Sling
> Issue Type: Improvement
> Components: Scripting
> Reporter: Justin Edelson
> Assignee: Justin Edelson
> Priority: Minor
> Fix For: Scripting Core 2.0.12
>
>
> I'd like to add a new service interface called ScriptEngineManagerFactory to scripting.api and have SlingScriptAdapterFactory implement it. This will allow other infrastucture bundles to use javax.script engines.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (SLING-1510) Expose the ScriptEngineManager
managed by Sling
Posted by "Justin Edelson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-1510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12863947#action_12863947 ]
Justin Edelson commented on SLING-1510:
---------------------------------------
Felix said:
> I understand the idea of directly accessing script engines (makes
> perfect sense IMHO).
> So why not register the ScriptEngineManager as a service directly ? So
> you can grab the ScriptEngineManager and just go with it.
(and then I neglected to respond for a week)
My response:
I did this because this class already used was a lazy creation factory. I've reimplemented it so that the ScriptEngineManager isn't lazily created and registered directly as a service.
> Expose the ScriptEngineManager managed by Sling
> -----------------------------------------------
>
> Key: SLING-1510
> URL: https://issues.apache.org/jira/browse/SLING-1510
> Project: Sling
> Issue Type: Improvement
> Components: Scripting
> Reporter: Justin Edelson
> Assignee: Justin Edelson
> Priority: Minor
> Fix For: Scripting Core 2.0.12, Scripting API 2.1.2
>
>
> I'd like to add a new service interface called ScriptEngineManagerFactory to scripting.api and have SlingScriptAdapterFactory implement it. This will allow other infrastucture bundles to use javax.script engines.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (SLING-1510) Expose the ScriptEngineManager managed
by Sling
Posted by "Justin Edelson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-1510?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin Edelson updated SLING-1510:
----------------------------------
Priority: Minor (was: Trivial)
Assignee: Justin Edelson
Fix Version/s: Scripting Core 2.0.12
Scripting API 2.1.2
> Expose the ScriptEngineManager managed by Sling
> -----------------------------------------------
>
> Key: SLING-1510
> URL: https://issues.apache.org/jira/browse/SLING-1510
> Project: Sling
> Issue Type: Improvement
> Components: Scripting
> Reporter: Justin Edelson
> Assignee: Justin Edelson
> Priority: Minor
> Fix For: Scripting Core 2.0.12, Scripting API 2.1.2
>
>
> I'd like to add a new service interface called ScriptEngineManagerFactory to scripting.api and have SlingScriptAdapterFactory implement it. This will allow other infrastucture bundles to use javax.script engines.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (SLING-1510) Expose the ScriptEngineManager managed
by Sling
Posted by "Justin Edelson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-1510?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin Edelson updated SLING-1510:
----------------------------------
Fix Version/s: (was: Scripting API 2.1.2)
> Expose the ScriptEngineManager managed by Sling
> -----------------------------------------------
>
> Key: SLING-1510
> URL: https://issues.apache.org/jira/browse/SLING-1510
> Project: Sling
> Issue Type: Improvement
> Components: Scripting
> Reporter: Justin Edelson
> Assignee: Justin Edelson
> Priority: Minor
> Fix For: Scripting Core 2.0.12
>
>
> I'd like to add a new service interface called ScriptEngineManagerFactory to scripting.api and have SlingScriptAdapterFactory implement it. This will allow other infrastucture bundles to use javax.script engines.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (SLING-1510) Expose the ScriptEngineManager
managed by Sling
Posted by "Justin Edelson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-1510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12864005#action_12864005 ]
Justin Edelson commented on SLING-1510:
---------------------------------------
reimplempted in r941044. We should also look at refactoring the ScriptEngineManager support into a separate, Sling-independent bundle which provides an OSGi-friendly JSR-223 implementation.
> Expose the ScriptEngineManager managed by Sling
> -----------------------------------------------
>
> Key: SLING-1510
> URL: https://issues.apache.org/jira/browse/SLING-1510
> Project: Sling
> Issue Type: Improvement
> Components: Scripting
> Reporter: Justin Edelson
> Assignee: Justin Edelson
> Priority: Minor
> Fix For: Scripting Core 2.0.12
>
>
> I'd like to add a new service interface called ScriptEngineManagerFactory to scripting.api and have SlingScriptAdapterFactory implement it. This will allow other infrastucture bundles to use javax.script engines.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Reopened: (SLING-1510) Expose the ScriptEngineManager
managed by Sling
Posted by "Justin Edelson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-1510?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin Edelson reopened SLING-1510:
-----------------------------------
reopening for new implementation
> Expose the ScriptEngineManager managed by Sling
> -----------------------------------------------
>
> Key: SLING-1510
> URL: https://issues.apache.org/jira/browse/SLING-1510
> Project: Sling
> Issue Type: Improvement
> Components: Scripting
> Reporter: Justin Edelson
> Assignee: Justin Edelson
> Priority: Minor
> Fix For: Scripting Core 2.0.12, Scripting API 2.1.2
>
>
> I'd like to add a new service interface called ScriptEngineManagerFactory to scripting.api and have SlingScriptAdapterFactory implement it. This will allow other infrastucture bundles to use javax.script engines.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (SLING-1510) Expose the ScriptEngineManager
managed by Sling
Posted by "Justin Edelson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-1510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12863995#action_12863995 ]
Justin Edelson commented on SLING-1510:
---------------------------------------
no longer impacts API
> Expose the ScriptEngineManager managed by Sling
> -----------------------------------------------
>
> Key: SLING-1510
> URL: https://issues.apache.org/jira/browse/SLING-1510
> Project: Sling
> Issue Type: Improvement
> Components: Scripting
> Reporter: Justin Edelson
> Assignee: Justin Edelson
> Priority: Minor
> Fix For: Scripting Core 2.0.12
>
>
> I'd like to add a new service interface called ScriptEngineManagerFactory to scripting.api and have SlingScriptAdapterFactory implement it. This will allow other infrastucture bundles to use javax.script engines.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (SLING-1510) Expose the ScriptEngineManager
managed by Sling
Posted by "Justin Edelson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-1510?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin Edelson resolved SLING-1510.
-----------------------------------
Resolution: Fixed
> Expose the ScriptEngineManager managed by Sling
> -----------------------------------------------
>
> Key: SLING-1510
> URL: https://issues.apache.org/jira/browse/SLING-1510
> Project: Sling
> Issue Type: Improvement
> Components: Scripting
> Reporter: Justin Edelson
> Assignee: Justin Edelson
> Priority: Minor
> Fix For: Scripting Core 2.0.12, Scripting API 2.1.2
>
>
> I'd like to add a new service interface called ScriptEngineManagerFactory to scripting.api and have SlingScriptAdapterFactory implement it. This will allow other infrastucture bundles to use javax.script engines.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (SLING-1510) Expose the ScriptEngineManager managed
by Sling
Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-1510?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler closed SLING-1510.
-----------------------------------
> Expose the ScriptEngineManager managed by Sling
> -----------------------------------------------
>
> Key: SLING-1510
> URL: https://issues.apache.org/jira/browse/SLING-1510
> Project: Sling
> Issue Type: Improvement
> Components: Scripting
> Reporter: Justin Edelson
> Assignee: Justin Edelson
> Priority: Minor
> Fix For: Scripting Core 2.0.14
>
>
> I'd like to add a new service interface called ScriptEngineManagerFactory to scripting.api and have SlingScriptAdapterFactory implement it. This will allow other infrastucture bundles to use javax.script engines.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.