[jboss-jira] [JBoss JIRA] (AS7-4575) JNDI ObjectFactory should acccept parameters

Eduardo Martins (JIRA) jira-events at lists.jboss.org
Wed Jun 20 08:49:13 EDT 2012


     [ https://issues.jboss.org/browse/AS7-4575?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eduardo Martins reassigned AS7-4575:
------------------------------------

    Assignee: Eduardo Martins  (was: John Bailey)

    
> JNDI ObjectFactory should acccept parameters
> --------------------------------------------
>
>                 Key: AS7-4575
>                 URL: https://issues.jboss.org/browse/AS7-4575
>             Project: Application Server 7
>          Issue Type: Feature Request
>          Components: Naming
>    Affects Versions: 7.1.1.Final
>            Reporter: Ivica Loncar
>            Assignee: Eduardo Martins
>              Labels: binding, jndi, naming, objectfactory, resource, url, urlresourcefactory
>         Attachments: objectfactory_with_params.diff
>
>   Original Estimate: 4 hours
>  Remaining Estimate: 4 hours
>
> object-factory binding should allow us to specify parameters that should be propagated to the ObjectFactory.
> For example, Tomcat allows us to create URLResourceFactory that accepts parameters defined as attributes of Resource element in XML.
> The configuration would loook like this:
> {{
> <subsystem xmlns="urn:jboss:domain:naming:1.1">
>  <bindings>
>    <object-factory name="java:global/url/google" module="net.croz.jboss.jndi.url" class="net.croz.jboss.jndi.url.URLResourceFactory" url="http://www.google.com"/>
>  </bindings>
> </subsystem>
> }}
> I have implemented proof of a concept.

--
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