[Carbon-dev] svn commit r42165 - trunk/carbon-components/endpoint/org.wso2.carbon.endpoint/src/main/java/org/wso2/carbon/endpoint/service

isuru at wso2.com isuru at wso2.com
Wed Jul 29 22:42:30 PDT 2009


Author: isuru
Date: Wed Jul 29 22:42:29 2009
New Revision: 42165
URL: http://wso2.org/svn/browse/wso2?view=rev&revision=42165

Log:
adjusting to API change

Modified:
   trunk/carbon-components/endpoint/org.wso2.carbon.endpoint/src/main/java/org/wso2/carbon/endpoint/service/EndpointAdmin.java

Modified: trunk/carbon-components/endpoint/org.wso2.carbon.endpoint/src/main/java/org/wso2/carbon/endpoint/service/EndpointAdmin.java
URL: http://wso2.org/svn/browse/wso2/trunk/carbon-components/endpoint/org.wso2.carbon.endpoint/src/main/java/org/wso2/carbon/endpoint/service/EndpointAdmin.java?rev=42165&r1=42164&r2=42165&view=diff
==============================================================================
--- trunk/carbon-components/endpoint/org.wso2.carbon.endpoint/src/main/java/org/wso2/carbon/endpoint/service/EndpointAdmin.java	(original)
+++ trunk/carbon-components/endpoint/org.wso2.carbon.endpoint/src/main/java/org/wso2/carbon/endpoint/service/EndpointAdmin.java	Wed Jul 29 22:42:29 2009
@@ -628,7 +628,8 @@
     private void persistEndpoint(Endpoint ep) throws EndpointAdminException {
         EndpointRegistryStore store
                 = new EndpointRegistryStore(ConfigHolder.getInstance().getRegistry());
-        store.persistElement(ep.getName(), EndpointSerializer.getElementFromEndpoint(ep));
+        store.persistElement(ep.getName(), EndpointSerializer.getElementFromEndpoint(ep),
+                ((AbstractEndpoint) ep).getFileName());
     }
 
     private void assertNameNotEmpty(String endpointName) throws EndpointAdminException {



More information about the Carbon-dev mailing list