[
https://issues.jboss.org/browse/AS7-5140?page=com.atlassian.jira.plugin.s...
]
Akram Ben Aissi commented on AS7-5140:
--------------------------------------
To workaround, I already wrote a custom ResourceURLFactory which uses a system-property
(with the same jndi name) to build the URL to do the job. It is not that elegant, so maybe
having something more integrated could be a helper. If you think that it could be
usable/profitable, it's already on github.
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