[jboss-jira] [JBoss JIRA] (AS7-2650) ConnectionFactory.newInstance() does not provide default impl
Brian Stansberry (JIRA)
jira-events at lists.jboss.org
Wed Feb 8 02:23:48 EST 2012
[ https://issues.jboss.org/browse/AS7-2650?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Stansberry updated AS7-2650:
----------------------------------
Fix Version/s: 7.1.1.Final
(was: 7.1.0.Final)
Git Pull Request: https://github.com/jbossas/jboss-as/pull/1282 (was: https://github.com/jbossas/jboss-as/pull/1282)
> ConnectionFactory.newInstance() does not provide default impl
> -------------------------------------------------------------
>
> Key: AS7-2650
> URL: https://issues.jboss.org/browse/AS7-2650
> Project: Application Server 7
> Issue Type: Bug
> Components: JAXR
> Reporter: Thomas Diesler
> Assignee: Kurt Stam
> Fix For: 7.1.1.Final
>
>
> The current impl
> {code}
> public static ConnectionFactory newInstance() throws JAXRException
> {
> String factoryName = null;
> ConnectionFactory factory = null;
> try
> {
> String defaultName = null;
> factoryName = System.getProperty(SYS_PROP_NAME, defaultName);
> ClassLoader loader = Thread.currentThread().getContextClassLoader();
> Class factoryClass = loader.loadClass(factoryName);
> factory = (ConnectionFactory) factoryClass.newInstance();
> }
> catch(Throwable e)
> {
> throw new JAXRException("Failed to create instance of: "+factoryName, e);
> }
> return factory;
> }
> {code}
> does not provide a default impl as documented.
--
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