AxisServiceGroup publish wrong notification on "removeService" methode
----------------------------------------------------------------------

                 Key: AXIS2-1565
                 URL: http://issues.apache.org/jira/browse/AXIS2-1565
             Project: Apache Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: kernel
    Affects Versions: 1.1, 1.0
         Environment: all
            Reporter: Bernhard Roider


methode  "removeService" in AxisServiceGroup publish AxisEvent.SERVICE_DELPOY 
to registered DeploymentObservers.

This should be AxisEvent.SERVICE_REMOVE.

// solution

public void removeService(String name) throws AxisFault {
        AxisService service = getService(name);

        if (service != null) {
            ((AxisConfiguration) 
getParent()).notifyObservers(AxisEvent.SERVICE_REMOVE, service);
        }

        removeChild(name);
}

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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to