You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Nimish Hathalia (JIRA)" <ji...@apache.org> on 2006/03/21 01:43:58 UTC

[jira] Created: (AXIS2-504) FactoryFinder does not find the factory correctly. Please see the description.

FactoryFinder does not find the factory correctly. Please see the description.
------------------------------------------------------------------------------

         Key: AXIS2-504
         URL: http://issues.apache.org/jira/browse/AXIS2-504
     Project: Apache Axis 2.0 (Axis2)
        Type: Bug
  Components: core  
    Versions: 0.94    
    Reporter: Nimish Hathalia
    Priority: Minor


The class org.apache.axis2.om.FactoryFinder has

private static Object findFactory(ClassLoader loader,
                                      String factoryClass,
                                      String systemPropertyName);

Implementation with following lines:

        //first look for a java system property
        if (systemPropertyName != null &&
            System.getProperty(systemPropertyName) != null) {
                  factoryClassName = systemPropertyName; // Needs to be fixed
            }

The line mentioned above needs to be fixed as:

    if (systemPropertyName != null &&
          System.getProperty(systemPropertyName) != null) {
                  factoryClassName = System.getProperty(systemPropertyName);
           }


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


[jira] Resolved: (AXIS2-504) FactoryFinder does not find the factory correctly. Please see the description.

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-504?page=all ]
     
Davanum Srinivas resolved AXIS2-504:
------------------------------------

    Resolution: Fixed

We got rid of the factory finder :)

-- dims

> FactoryFinder does not find the factory correctly. Please see the description.
> ------------------------------------------------------------------------------
>
>          Key: AXIS2-504
>          URL: http://issues.apache.org/jira/browse/AXIS2-504
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug
>   Components: core
>     Versions: 0.94
>     Reporter: Nimish Hathalia
>     Assignee: Eran Chinthaka
>     Priority: Minor

>
> The class org.apache.axis2.om.FactoryFinder has
> private static Object findFactory(ClassLoader loader,
>                                       String factoryClass,
>                                       String systemPropertyName);
> Implementation with following lines:
>         //first look for a java system property
>         if (systemPropertyName != null &&
>             System.getProperty(systemPropertyName) != null) {
>                   factoryClassName = systemPropertyName; // Needs to be fixed
>             }
> The line mentioned above needs to be fixed as:
>     if (systemPropertyName != null &&
>           System.getProperty(systemPropertyName) != null) {
>                   factoryClassName = System.getProperty(systemPropertyName);
>            }

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


[jira] Assigned: (AXIS2-504) FactoryFinder does not find the factory correctly. Please see the description.

Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-504?page=all ]

Deepal Jayasinghe reassigned AXIS2-504:
---------------------------------------

    Assign To: Eran Chinthaka

> FactoryFinder does not find the factory correctly. Please see the description.
> ------------------------------------------------------------------------------
>
>          Key: AXIS2-504
>          URL: http://issues.apache.org/jira/browse/AXIS2-504
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug
>   Components: core
>     Versions: 0.94
>     Reporter: Nimish Hathalia
>     Assignee: Eran Chinthaka
>     Priority: Minor

>
> The class org.apache.axis2.om.FactoryFinder has
> private static Object findFactory(ClassLoader loader,
>                                       String factoryClass,
>                                       String systemPropertyName);
> Implementation with following lines:
>         //first look for a java system property
>         if (systemPropertyName != null &&
>             System.getProperty(systemPropertyName) != null) {
>                   factoryClassName = systemPropertyName; // Needs to be fixed
>             }
> The line mentioned above needs to be fixed as:
>     if (systemPropertyName != null &&
>           System.getProperty(systemPropertyName) != null) {
>                   factoryClassName = System.getProperty(systemPropertyName);
>            }

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