Author: ruwan Date: Mon May 25 04:43:11 2009 New Revision: 36756 URL: http://wso2.org/svn/browse/wso2?view=rev&revision=36756
Log: making the configuration serialize elements methods public Modified: branches/synapse/1.3-wso2v1/modules/core/src/main/java/org/apache/synapse/config/xml/SynapseXMLConfigurationSerializer.java Modified: branches/synapse/1.3-wso2v1/modules/core/src/main/java/org/apache/synapse/config/xml/SynapseXMLConfigurationSerializer.java URL: http://wso2.org/svn/browse/wso2/branches/synapse/1.3-wso2v1/modules/core/src/main/java/org/apache/synapse/config/xml/SynapseXMLConfigurationSerializer.java?rev=36756&r1=36755&r2=36756&view=diff ============================================================================== --- branches/synapse/1.3-wso2v1/modules/core/src/main/java/org/apache/synapse/config/xml/SynapseXMLConfigurationSerializer.java (original) +++ branches/synapse/1.3-wso2v1/modules/core/src/main/java/org/apache/synapse/config/xml/SynapseXMLConfigurationSerializer.java Mon May 25 04:43:11 2009 @@ -103,7 +103,7 @@ return definitions; } - private static void serializeEntries(OMElement definitions, Map entries) { + public static void serializeEntries(OMElement definitions, Map entries) { for (Object o : entries.keySet()) { if (o instanceof String) { String key = (String) o; @@ -113,7 +113,7 @@ } } - private static void serializeStartups(OMElement definitions, Collection startups) { + public static void serializeStartups(OMElement definitions, Collection startups) { for (Object o : startups) { if (o instanceof Startup) { Startup s = (Startup) o; @@ -122,13 +122,13 @@ } } - private static void serializeEndpoints(OMElement definitions, Map<String, Endpoint> endpoints) { + public static void serializeEndpoints(OMElement definitions, Map<String, Endpoint> endpoints) { for (Endpoint endpoint: endpoints.values()) { definitions.addChild(EndpointSerializer.getElementFromEndpoint(endpoint)); } } - private static void serializeSequences(OMElement definitions, Map sequences) { + public static void serializeSequences(OMElement definitions, Map sequences) { for (Object o : sequences.keySet()) { if (o instanceof String) { String key = (String) o; _______________________________________________ Esb-java-dev mailing list [email protected] https://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev
