[jboss-jira] [JBoss JIRA] Created: (JBMETA-296) Make it easier to create a jndi name resolver

jaikiran pai (JIRA) jira-events at lists.jboss.org
Wed Aug 25 12:19:11 EDT 2010


Make it easier to create a jndi name resolver
---------------------------------------------

                 Key: JBMETA-296
                 URL: https://jira.jboss.org/browse/JBMETA-296
             Project: JBoss Metadata
          Issue Type: Task
      Security Level: Public (Everyone can see)
          Components: ejb
            Reporter: jaikiran pai
            Assignee: jaikiran pai
            Priority: Minor


Currently, we do:

DefaultJNDIBindingPolicy jndiBindingPolicy = DefaultJNDIBindingPolicyFactory.getDefaultJNDIBindingPolicy();
JNDIPolicyBasedSessionBean31JNDINameResolver jndinameResolver = new JNDIPolicyBasedSessionBean31JNDINameResolver(jndiBindingPolicy);

Instead, it's better to provide a no-arg constructor which internally does DefaultJNDIBindingPolicyFactory.getDefaultJNDIBindingPolicy();

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list