[jboss-jira] [JBoss JIRA] (AS7-5140) Support binding of URL resources

jaikiran pai (JIRA) jira-events at lists.jboss.org
Tue Jul 10 03:56:12 EDT 2012


    [ https://issues.jboss.org/browse/AS7-5140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12705121#comment-12705121 ] 

jaikiran pai commented on AS7-5140:
-----------------------------------

Just curious - Why not just bind an object of type String and then whoever looks it up can create a URL out of it?

                
> 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
>
> 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: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list