[jboss-jira] [JBoss JIRA] (AS7-5140) Support binding of URL resources
Brad Maxwell (JIRA)
jira-events at lists.jboss.org
Wed Mar 13 10:46:43 EDT 2013
[ https://issues.jboss.org/browse/AS7-5140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12760914#comment-12760914 ]
Brad Maxwell commented on AS7-5140:
-----------------------------------
Example of binding a URL:
{code}
<subsystem xmlns="urn:jboss:domain:naming:1.3">
<bindings>
<simple name="java:global/jbossDocs" value="https://docs.jboss.org" type="java.net.URL" />
</bindings>
<remote-naming/>
</subsystem>
{code}
> Support binding of URL resources
> --------------------------------
>
> Key: AS7-5140
> URL: https://issues.jboss.org/browse/AS7-5140
> Project: Application Server 7
> Issue Type: Feature Request
> Components: Naming
> Affects Versions: 7.1.1.Final, 7.1.2.Final (EAP)
> Reporter: Akram Ben Aissi
> Assignee: Eduardo Martins
> Fix For: EAP 6.1.0.Alpha (7.2.0.Final)
>
>
> Binding of a resource of type java.net.URL is not available out of the box.
> This is a common requirement in many environment.
> This could be achieved either by providing a simple-type "url" (like int, string, etc...) that uses the String constructor of URL class.
> Or one could provide an object-factory that build URL, but this requires to pass parameters on it.
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list