Author: ravi
Date: Tue Dec 27 06:09:18 2016
New Revision: 1776088

URL: http://svn.apache.org/viewvc?rev=1776088&view=rev
Log:
Adding missing License headers. Most of these are not requried based on 
http://www.apache.org/legal/src-headers.html#faq-exceptions - but these changes 
are added automatically through Apache RAT

Modified:
    
synapse/trunk/java/modules/commons/src/main/java/org/apache/synapse/commons/builders/XFormURLEncodedBuilder.java
    
synapse/trunk/java/modules/commons/src/main/java/org/apache/synapse/commons/evaluators/config/MatchSerializer.java
    
synapse/trunk/java/modules/commons/src/main/java/org/apache/synapse/commons/util/TemporaryData.java
    
synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/MediatorPropertySerializer.java
    
synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/axis2/SynapseCallbackStoreView.java
    
synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/axis2/SynapseCallbackStoreViewMBean.java
    
synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/libraries/eip/EIPUtils.java
    
synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/util/MessageHelper.java
    
synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/util/SimpleMap.java
    
synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/util/SimpleMapImpl.java
    
synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/util/jaxp/SchemaResourceLSInput.java
    
synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/util/jaxp/SchemaResourceResolver.java
    
synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/util/jaxp/SourceBuilderFactory.java
    
synapse/trunk/java/modules/core/src/test/java/org/apache/synapse/libraries/eip/AbstractEipLibTestCase.java
    
synapse/trunk/java/modules/core/src/test/java/org/apache/synapse/libraries/eip/EipLibTest.java
    
synapse/trunk/java/modules/core/src/test/java/org/apache/synapse/mediators/eip/AbstractSplitMediatorTestCase.java
    
synapse/trunk/java/modules/core/src/test/java/org/apache/synapse/mediators/eip/SplitTestHelperMediator.java
    
synapse/trunk/java/modules/core/src/test/java/org/apache/synapse/mediators/elementary/EnrichMediatorTest.java
    
synapse/trunk/java/modules/core/src/test/resources/org/apache/synapse/core/registry/resource.xml
    
synapse/trunk/java/modules/core/src/test/resources/org/apache/synapse/mediators/builtin/synapse-501-conf.xml
    
synapse/trunk/java/modules/core/src/test/resources/org/apache/synapse/mediators/builtin/synapse-501-soap.xml
    
synapse/trunk/java/modules/core/src/test/resources/synapse-config/endpoints/epr1.xml
    
synapse/trunk/java/modules/core/src/test/resources/synapse-config/proxy-services/proxy1.xml
    
synapse/trunk/java/modules/core/src/test/resources/synapse-config/registry.xml
    
synapse/trunk/java/modules/core/src/test/resources/synapse-config/sequences/fault.xml
    
synapse/trunk/java/modules/core/src/test/resources/synapse-config/sequences/foo.xml
    
synapse/trunk/java/modules/core/src/test/resources/synapse-config/sequences/main.xml
    
synapse/trunk/java/modules/core/src/test/resources/synapse-config/synapse.xml
    
synapse/trunk/java/modules/core/src/test/resources/synapse-config/tasks/task1.xml
    
synapse/trunk/java/modules/core/src/test/resources/synapse-libraries/assembly/assemble-eipcore-lib.xml
    
synapse/trunk/java/modules/core/src/test/resources/synapse-libraries/assembly/assemble-eiptest-lib.xml
    
synapse/trunk/java/modules/core/src/test/resources/synapse-libraries/assembly/assemble-lib.xml
    
synapse/trunk/java/modules/core/src/test/resources/synapse-libraries/assembly/filter.properties
    
synapse/trunk/java/modules/core/src/test/resources/synapse-libraries/skeleton/artifacts.xml
    
synapse/trunk/java/modules/core/src/test/resources/synapse-libraries/skeleton/linkedin_core/artifact.xml
    
synapse/trunk/java/modules/core/src/test/resources/synapse-libraries/skeleton/linkedin_core/post_status.xml
    
synapse/trunk/java/modules/core/src/test/resources/synapse-libraries/skeleton/linkedin_core/register_user.xml
    
synapse/trunk/java/modules/core/src/test/resources/synapse-libraries/skeleton/linkedin_core/send_message.xml
    
synapse/trunk/java/modules/core/src/test/resources/synapse-libraries/skeleton/linkedin_core/show_headline.xml
    
synapse/trunk/java/modules/core/src/test/resources/synapse-libraries/synapse-eip-lib/artifacts.xml
    
synapse/trunk/java/modules/core/src/test/resources/synapse-libraries/synapse-eip-lib/eip_systemManagement/artifact.xml
    
synapse/trunk/java/modules/core/src/test/resources/synapse-libraries/synapse-eip-lib/eip_systemManagement/template_splitter.xml
    
synapse/trunk/java/modules/core/src/test/resources/synapse-libraries/synapse-eiptest-lib/artifacts.xml
    
synapse/trunk/java/modules/core/src/test/resources/synapse-libraries/synapse-eiptest-lib/eip_systemManagement/artifact.xml
    
synapse/trunk/java/modules/core/src/test/resources/synapse-libraries/synapse-eiptest-lib/eip_systemManagement/template_splitter.xml
    
synapse/trunk/java/modules/distribution/src/main/bin/install-synapse-service.bat
    
synapse/trunk/java/modules/distribution/src/main/bin/uninstall-synapse-service.bat
    synapse/trunk/java/modules/documentation/src/main/assembly/docs.xml
    synapse/trunk/java/modules/documentation/src/site/resources/css/site.css
    
synapse/trunk/java/modules/documentation/src/site/xdoc/userguide/mediators.xml
    
synapse/trunk/java/modules/extensions/src/test/java/org/apache/synapse/format/hessian/HessianTestHelper.java
    
synapse/trunk/java/modules/integration/src/test/java/org/apache/synapse/samples/framework/AbstractBackEndServerController.java
    
synapse/trunk/java/modules/integration/src/test/java/org/apache/synapse/samples/framework/DerbyServerController.java
    
synapse/trunk/java/modules/integration/src/test/java/org/apache/synapse/samples/framework/MessageCounter.java
    
synapse/trunk/java/modules/integration/src/test/java/org/apache/synapse/samples/framework/clients/StockQuoteCallback.java
    
synapse/trunk/java/modules/integration/src/test/java/org/apache/synapse/samples/framework/tests/rest/Sample10001.java
    
synapse/trunk/java/modules/integration/src/test/java/org/apache/synapse/samples/framework/tests/tasks/Sample300.java
    
synapse/trunk/java/modules/integration/src/test/java/org/apache/synapse/samples/framework/tests/transport/Sample10101.java
    
synapse/trunk/java/modules/integration/src/test/java/org/apache/synapse/samples/framework/tests/transport/Sample250.java
    
synapse/trunk/java/modules/integration/src/test/java/org/apache/synapse/samples/framework/tests/transport/Sample251.java
    
synapse/trunk/java/modules/integration/src/test/resources/extras/synapse_sample_10001.xml
    
synapse/trunk/java/modules/integration/src/test/resources/extras/synapse_sample_10002.xml
    
synapse/trunk/java/modules/integration/src/test/resources/extras/synapse_sample_10003.xml
    
synapse/trunk/java/modules/integration/src/test/resources/extras/synapse_sample_10101.xml
    synapse/trunk/java/modules/integration/src/test/resources/nhttp.properties
    
synapse/trunk/java/modules/integration/src/test/resources/passthru-http.properties
    synapse/trunk/java/modules/integration/src/test/resources/sample0.xml
    synapse/trunk/java/modules/integration/src/test/resources/sample1.xml
    synapse/trunk/java/modules/integration/src/test/resources/sample10.xml
    synapse/trunk/java/modules/integration/src/test/resources/sample100.xml
    synapse/trunk/java/modules/integration/src/test/resources/sample10001.xml
    synapse/trunk/java/modules/integration/src/test/resources/sample10002.xml
    synapse/trunk/java/modules/integration/src/test/resources/sample10003.xml
    synapse/trunk/java/modules/integration/src/test/resources/sample101.xml
    synapse/trunk/java/modules/integration/src/test/resources/sample10101.xml
    synapse/trunk/java/modules/integration/src/test/resources/sample11.xml
    synapse/trunk/java/modules/integration/src/test/resources/sample12.xml
    synapse/trunk/java/modules/integration/src/test/resources/sample13.xml
    synapse/trunk/java/modules/integration/src/test/resources/sample15.xml
    synapse/trunk/java/modules/integration/src/test/resources/sample150.xml
    synapse/trunk/java/modules/integration/src/test/resources/sample151.xml
    synapse/trunk/java/modules/integration/src/test/resources/sample152.xml
    synapse/trunk/java/modules/integration/src/test/resources/sample153.xml
    synapse/trunk/java/modules/integration/src/test/resources/sample154.xml
    synapse/trunk/java/modules/integration/src/test/resources/sample155.xml
    synapse/trunk/java/modules/integration/src/test/resources/sample156.xml
    synapse/trunk/java/modules/integration/src/test/resources/sample157.xml
    synapse/trunk/java/modules/integration/src/test/resources/sample16.xml
    synapse/trunk/java/modules/integration/src/test/resources/sample160.xml
    synapse/trunk/java/modules/integration/src/test/resources/sample161.xml
    synapse/trunk/java/modules/integration/src/test/resources/sample2.xml
    synapse/trunk/java/modules/integration/src/test/resources/sample250.xml
    synapse/trunk/java/modules/integration/src/test/resources/sample251.xml
    synapse/trunk/java/modules/integration/src/test/resources/sample3.xml
    synapse/trunk/java/modules/integration/src/test/resources/sample300.xml
    synapse/trunk/java/modules/integration/src/test/resources/sample301.xml
    synapse/trunk/java/modules/integration/src/test/resources/sample302.xml
    synapse/trunk/java/modules/integration/src/test/resources/sample350.xml
    synapse/trunk/java/modules/integration/src/test/resources/sample351.xml
    synapse/trunk/java/modules/integration/src/test/resources/sample352.xml
    synapse/trunk/java/modules/integration/src/test/resources/sample353.xml
    synapse/trunk/java/modules/integration/src/test/resources/sample354.xml
    synapse/trunk/java/modules/integration/src/test/resources/sample360.xml
    synapse/trunk/java/modules/integration/src/test/resources/sample361.xml
    synapse/trunk/java/modules/integration/src/test/resources/sample362.xml
    synapse/trunk/java/modules/integration/src/test/resources/sample370.xml
    synapse/trunk/java/modules/integration/src/test/resources/sample371.xml
    synapse/trunk/java/modules/integration/src/test/resources/sample372.xml
    synapse/trunk/java/modules/integration/src/test/resources/sample380.xml
    synapse/trunk/java/modules/integration/src/test/resources/sample390.xml
    synapse/trunk/java/modules/integration/src/test/resources/sample391.xml
    synapse/trunk/java/modules/integration/src/test/resources/sample4.xml
    synapse/trunk/java/modules/integration/src/test/resources/sample420.xml
    synapse/trunk/java/modules/integration/src/test/resources/sample430.xml
    synapse/trunk/java/modules/integration/src/test/resources/sample431.xml
    synapse/trunk/java/modules/integration/src/test/resources/sample432.xml
    synapse/trunk/java/modules/integration/src/test/resources/sample433.xml
    synapse/trunk/java/modules/integration/src/test/resources/sample434.xml
    synapse/trunk/java/modules/integration/src/test/resources/sample450.xml
    synapse/trunk/java/modules/integration/src/test/resources/sample451.xml
    synapse/trunk/java/modules/integration/src/test/resources/sample452.xml
    synapse/trunk/java/modules/integration/src/test/resources/sample460.xml
    synapse/trunk/java/modules/integration/src/test/resources/sample5.xml
    synapse/trunk/java/modules/integration/src/test/resources/sample50.xml
    synapse/trunk/java/modules/integration/src/test/resources/sample51.xml
    synapse/trunk/java/modules/integration/src/test/resources/sample52.xml
    synapse/trunk/java/modules/integration/src/test/resources/sample53.xml
    synapse/trunk/java/modules/integration/src/test/resources/sample54.xml
    synapse/trunk/java/modules/integration/src/test/resources/sample55.xml
    synapse/trunk/java/modules/integration/src/test/resources/sample56.xml
    synapse/trunk/java/modules/integration/src/test/resources/sample57.xml
    synapse/trunk/java/modules/integration/src/test/resources/sample58.xml
    synapse/trunk/java/modules/integration/src/test/resources/sample59.xml
    synapse/trunk/java/modules/integration/src/test/resources/sample6.xml
    synapse/trunk/java/modules/integration/src/test/resources/sample7.xml
    synapse/trunk/java/modules/integration/src/test/resources/sample8.xml
    synapse/trunk/java/modules/integration/src/test/resources/sample800.xml
    synapse/trunk/java/modules/integration/src/test/resources/sample9.xml
    
synapse/trunk/java/modules/samples/src/main/java/samples/userguide/StockQuoteCallback.java
    
synapse/trunk/java/modules/samples/src/test/java/org/apache/synapse/samples/n2n/SynapseSample_100_Integration.java
    
synapse/trunk/java/modules/samples/src/test/java/org/apache/synapse/samples/n2n/SynapseSample_101_Integration.java
    
synapse/trunk/java/modules/samples/src/test/java/org/apache/synapse/samples/n2n/SynapseSample_102_Integration.java
    
synapse/trunk/java/modules/samples/src/test/java/org/apache/synapse/samples/n2n/SynapseSample_103_Integration.java
    
synapse/trunk/java/modules/samples/src/test/java/org/apache/synapse/samples/n2n/SynapseSample_104_Integration.java
    
synapse/trunk/java/modules/samples/src/test/java/org/apache/synapse/samples/n2n/SynapseSample_10_Integration.java
    
synapse/trunk/java/modules/samples/src/test/java/org/apache/synapse/samples/n2n/SynapseSample_110_Integration.java
    
synapse/trunk/java/modules/samples/src/test/java/org/apache/synapse/samples/n2n/SynapseSample_111_Integration.java
    
synapse/trunk/java/modules/samples/src/test/java/org/apache/synapse/samples/n2n/SynapseSample_112_Integration.java
    
synapse/trunk/java/modules/samples/src/test/java/org/apache/synapse/samples/n2n/SynapseSample_113_Integration.java
    
synapse/trunk/java/modules/samples/src/test/java/org/apache/synapse/samples/n2n/SynapseSample_114_Integration.java
    
synapse/trunk/java/modules/samples/src/test/java/org/apache/synapse/samples/n2n/SynapseSample_11_Integration.java
    
synapse/trunk/java/modules/samples/src/test/java/org/apache/synapse/samples/n2n/SynapseSample_500_Integration.java
    
synapse/trunk/java/modules/samples/src/test/java/org/apache/synapse/samples/n2n/SynapseSample_501_Integration.java
    
synapse/trunk/java/modules/samples/src/test/java/org/apache/synapse/samples/n2n/SynapseSample_502_Integration.java
    
synapse/trunk/java/modules/samples/src/test/java/org/apache/synapse/samples/n2n/SynapseSample_503_Integration.java
    
synapse/trunk/java/modules/samples/src/test/java/org/apache/synapse/samples/n2n/SynapseSample_50_Integration.java
    
synapse/trunk/java/modules/samples/src/test/java/org/apache/synapse/samples/n2n/SynapseSample_510_Integration.java
    
synapse/trunk/java/modules/samples/src/test/java/org/apache/synapse/samples/n2n/SynapseSample_51_Integration.java
    
synapse/trunk/java/modules/samples/src/test/java/org/apache/synapse/samples/n2n/SynapseSample_52_Integration.java
    
synapse/trunk/java/modules/samples/src/test/java/org/apache/synapse/samples/n2n/SynapseSample_53_Integration.java
    
synapse/trunk/java/modules/samples/src/test/java/org/apache/synapse/samples/n2n/SynapseSample_54_Integration.java
    
synapse/trunk/java/modules/samples/src/test/java/org/apache/synapse/samples/n2n/SynapseSample_55_Integration.java
    
synapse/trunk/java/modules/samples/src/test/java/org/apache/synapse/samples/n2n/SynapseSample_56_Integration.java
    
synapse/trunk/java/modules/samples/src/test/java/org/apache/synapse/samples/n2n/SynapseSample_57_Integration.java
    
synapse/trunk/java/modules/samples/src/test/java/org/apache/synapse/samples/n2n/SynapseSample_600_Integration.java
    
synapse/trunk/java/modules/samples/src/test/java/org/apache/synapse/samples/n2n/SynapseSample_60_Integration.java
    
synapse/trunk/java/modules/samples/src/test/java/org/apache/synapse/samples/n2n/SynapseSample_8_Integration.java
    
synapse/trunk/java/modules/samples/src/test/java/org/apache/synapse/samples/n2n/SynapseSample_9_Integration.java
    
synapse/trunk/java/modules/securevault/src/main/java/org/apache/synapse/securevault/keystore/CACertsLoader.java
    
synapse/trunk/java/modules/securevault/src/main/java/org/apache/synapse/securevault/keystore/JKSKeyStoreLoader.java
    
synapse/trunk/java/modules/securevault/src/main/java/org/apache/synapse/securevault/keystore/PKCS12KeyStoreLoader.java
    
synapse/trunk/java/modules/securevault/src/main/java/org/apache/synapse/securevault/keystore/PKCS8KeyStoreLoader.java
    
synapse/trunk/java/modules/securevault/src/main/java/org/apache/synapse/securevault/secret/SecretManager.java
    
synapse/trunk/java/modules/transports/core/nhttp/src/main/assembly/testkit-logs.xml
    
synapse/trunk/java/modules/transports/core/nhttp/src/test/resources/nhttp.properties
    
synapse/trunk/java/modules/transports/core/nhttp/src/test/resources/test-http.properties
    
synapse/trunk/java/modules/transports/core/pipe/src/test/java/org/apache/synapse/transport/pipe/EndDelimitedProtocolTest.java
    
synapse/trunk/java/modules/transports/core/vfs/src/main/assembly/testkit-logs.xml
    synapse/trunk/java/modules/transports/optional/amqp/pom.xml
    
synapse/trunk/java/modules/transports/optional/amqp/src/test/java/org/apache/synapse/tranport/amqp/AMQPConsumerClient.java
    
synapse/trunk/java/modules/transports/optional/amqp/src/test/java/org/apache/synapse/tranport/amqp/AMQPProducerClient.java
    
synapse/trunk/java/modules/transports/optional/amqp/src/test/resources/amqp-transport.properties
    synapse/trunk/java/repository/conf/cipher-text.properties
    
synapse/trunk/java/repository/conf/sample/resources/endpoint/dynamic_endpt_1.xml
    synapse/trunk/java/repository/conf/sample/resources/fix/FIX40-synapse.xml
    synapse/trunk/java/repository/conf/sample/resources/fix/conn.properties
    synapse/trunk/java/repository/conf/sample/resources/fix/direct.properties
    synapse/trunk/java/repository/conf/sample/resources/misc/commission.xml
    
synapse/trunk/java/repository/conf/sample/resources/policy/throttle_policy.xml
    
synapse/trunk/java/repository/conf/sample/resources/sequence/dynamic_seq_1.xml
    
synapse/trunk/java/repository/conf/sample/resources/spring/springCustomLogger.xml
    
synapse/trunk/java/repository/conf/sample/resources/transform/encoding_test.xml
    
synapse/trunk/java/repository/conf/sample/resources/transform/med_message.xml
    synapse/trunk/java/repository/conf/sample/resources/transform/message.xml
    
synapse/trunk/java/repository/conf/sample/resources/transform/small_message.xml
    
synapse/trunk/java/repository/conf/sample/resources/transform/transform_load.xml
    
synapse/trunk/java/repository/conf/sample/resources/transform/transform_load_2.xml
    
synapse/trunk/java/repository/conf/sample/resources/transform/transform_load_3.xml
    synapse/trunk/java/repository/conf/sample/resources/vfs/test.xml
    
synapse/trunk/java/repository/conf/sample/synapse_sample_600.xml/endpoints/foo.xml
    
synapse/trunk/java/repository/conf/sample/synapse_sample_600.xml/events/event1.xml
    
synapse/trunk/java/repository/conf/sample/synapse_sample_600.xml/local-entries/bar.xml
    
synapse/trunk/java/repository/conf/sample/synapse_sample_600.xml/proxy-services/proxy1.xml
    
synapse/trunk/java/repository/conf/sample/synapse_sample_600.xml/proxy-services/proxy2.xml
    
synapse/trunk/java/repository/conf/sample/synapse_sample_600.xml/proxy-services/proxy3.xml
    
synapse/trunk/java/repository/conf/sample/synapse_sample_600.xml/registry.xml
    
synapse/trunk/java/repository/conf/sample/synapse_sample_600.xml/sequences/custom-logger.xml
    
synapse/trunk/java/repository/conf/sample/synapse_sample_600.xml/sequences/fault.xml
    
synapse/trunk/java/repository/conf/sample/synapse_sample_600.xml/sequences/main.xml
    synapse/trunk/java/repository/conf/sample/synapse_sample_600.xml/synapse.xml
    
synapse/trunk/java/repository/conf/sample/synapse_sample_600.xml/tasks/task1.xml
    synapse/trunk/java/repository/conf/sample/synapse_sample_800.xml

Modified: 
synapse/trunk/java/modules/commons/src/main/java/org/apache/synapse/commons/builders/XFormURLEncodedBuilder.java
URL: 
http://svn.apache.org/viewvc/synapse/trunk/java/modules/commons/src/main/java/org/apache/synapse/commons/builders/XFormURLEncodedBuilder.java?rev=1776088&r1=1776087&r2=1776088&view=diff
==============================================================================
--- 
synapse/trunk/java/modules/commons/src/main/java/org/apache/synapse/commons/builders/XFormURLEncodedBuilder.java
 (original)
+++ 
synapse/trunk/java/modules/commons/src/main/java/org/apache/synapse/commons/builders/XFormURLEncodedBuilder.java
 Tue Dec 27 06:09:18 2016
@@ -1,5 +1,23 @@
-package org.apache.synapse.commons.builders;
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
 
+package org.apache.synapse.commons.builders;
 
 import org.apache.axiom.om.OMAbstractFactory;
 import org.apache.axiom.om.OMElement;

Modified: 
synapse/trunk/java/modules/commons/src/main/java/org/apache/synapse/commons/evaluators/config/MatchSerializer.java
URL: 
http://svn.apache.org/viewvc/synapse/trunk/java/modules/commons/src/main/java/org/apache/synapse/commons/evaluators/config/MatchSerializer.java?rev=1776088&r1=1776087&r2=1776088&view=diff
==============================================================================
--- 
synapse/trunk/java/modules/commons/src/main/java/org/apache/synapse/commons/evaluators/config/MatchSerializer.java
 (original)
+++ 
synapse/trunk/java/modules/commons/src/main/java/org/apache/synapse/commons/evaluators/config/MatchSerializer.java
 Tue Dec 27 06:09:18 2016
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 package org.apache.synapse.commons.evaluators.config;
 
 import org.apache.axiom.om.OMElement;

Modified: 
synapse/trunk/java/modules/commons/src/main/java/org/apache/synapse/commons/util/TemporaryData.java
URL: 
http://svn.apache.org/viewvc/synapse/trunk/java/modules/commons/src/main/java/org/apache/synapse/commons/util/TemporaryData.java?rev=1776088&r1=1776087&r2=1776088&view=diff
==============================================================================
--- 
synapse/trunk/java/modules/commons/src/main/java/org/apache/synapse/commons/util/TemporaryData.java
 (original)
+++ 
synapse/trunk/java/modules/commons/src/main/java/org/apache/synapse/commons/util/TemporaryData.java
 Tue Dec 27 06:09:18 2016
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 package org.apache.synapse.commons.util;
 
 import org.apache.commons.io.IOUtils;

Modified: 
synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/MediatorPropertySerializer.java
URL: 
http://svn.apache.org/viewvc/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/MediatorPropertySerializer.java?rev=1776088&r1=1776087&r2=1776088&view=diff
==============================================================================
--- 
synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/MediatorPropertySerializer.java
 (original)
+++ 
synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/MediatorPropertySerializer.java
 Tue Dec 27 06:09:18 2016
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 package org.apache.synapse.config.xml;
 
 import org.apache.axiom.om.OMElement;

Modified: 
synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/axis2/SynapseCallbackStoreView.java
URL: 
http://svn.apache.org/viewvc/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/axis2/SynapseCallbackStoreView.java?rev=1776088&r1=1776087&r2=1776088&view=diff
==============================================================================
--- 
synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/axis2/SynapseCallbackStoreView.java
 (original)
+++ 
synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/axis2/SynapseCallbackStoreView.java
 Tue Dec 27 06:09:18 2016
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 package org.apache.synapse.core.axis2;
 
 public class SynapseCallbackStoreView implements SynapseCallbackStoreViewMBean 
{

Modified: 
synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/axis2/SynapseCallbackStoreViewMBean.java
URL: 
http://svn.apache.org/viewvc/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/axis2/SynapseCallbackStoreViewMBean.java?rev=1776088&r1=1776087&r2=1776088&view=diff
==============================================================================
--- 
synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/axis2/SynapseCallbackStoreViewMBean.java
 (original)
+++ 
synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/axis2/SynapseCallbackStoreViewMBean.java
 Tue Dec 27 06:09:18 2016
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 package org.apache.synapse.core.axis2;
 
 /**

Modified: 
synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/libraries/eip/EIPUtils.java
URL: 
http://svn.apache.org/viewvc/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/libraries/eip/EIPUtils.java?rev=1776088&r1=1776087&r2=1776088&view=diff
==============================================================================
--- 
synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/libraries/eip/EIPUtils.java
 (original)
+++ 
synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/libraries/eip/EIPUtils.java
 Tue Dec 27 06:09:18 2016
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 package org.apache.synapse.libraries.eip;
 
 import org.apache.synapse.MessageContext;

Modified: 
synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/util/MessageHelper.java
URL: 
http://svn.apache.org/viewvc/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/util/MessageHelper.java?rev=1776088&r1=1776087&r2=1776088&view=diff
==============================================================================
--- 
synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/util/MessageHelper.java
 (original)
+++ 
synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/util/MessageHelper.java
 Tue Dec 27 06:09:18 2016
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 package org.apache.synapse.util;
 
 import org.apache.axiom.om.OMCloneOptions;

Modified: 
synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/util/SimpleMap.java
URL: 
http://svn.apache.org/viewvc/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/util/SimpleMap.java?rev=1776088&r1=1776087&r2=1776088&view=diff
==============================================================================
--- 
synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/util/SimpleMap.java
 (original)
+++ 
synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/util/SimpleMap.java
 Tue Dec 27 06:09:18 2016
@@ -1,42 +1,61 @@
-package org.apache.synapse.util;
-
-import java.util.Map;
-/*
- * This interface is a helper for dealing with a restriction on Map messages 
- * The key MUST be a String
- * and the value MUST be one of
- * boolean, char, String, int, double, float, long, short, byte, byte[] 
(Consider adding DataHandler in future)
- * or the equivalent Object
- * The simple type putters are equivalent to using an Object
- * so 
- * put("paul", new Integer(38));
- * getInt("paul"); returns 38
- */
-
-public interface SimpleMap extends Map {
-       
-       public Object get(String name);
-       public void put(String name, Object value);
-       public boolean getBoolean(String name);
-       public void putBoolean(String name, boolean b);
-       public String getString(String value);
-       public void putString(String name, String value);
-       public char getChar(String name);
-       public void putChar(String name, char c);
-       public int getInt(String name);
-       public void putInt(String name, int i);
-       public short getShort(String name);
-       public void putShort(String name, short s);
-       public float getFloat(String name);
-       public void putFloat(String name, float fl);
-       public double getDouble(String name);
-       public void putDouble(String name, double d);
-       public long getLong(String name);
-       public void putLong(String name, long l);
-       public byte getByte(String name);
-       public void putByte(String name, byte b);
-       public byte[] getBytes(String name);
-       public void putBytes(String name, byte[] bytes);
-       
-
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.synapse.util;
+
+import java.util.Map;
+/*
+ * This interface is a helper for dealing with a restriction on Map messages 
+ * The key MUST be a String
+ * and the value MUST be one of
+ * boolean, char, String, int, double, float, long, short, byte, byte[] 
(Consider adding DataHandler in future)
+ * or the equivalent Object
+ * The simple type putters are equivalent to using an Object
+ * so 
+ * put("paul", new Integer(38));
+ * getInt("paul"); returns 38
+ */
+
+public interface SimpleMap extends Map {
+       
+       public Object get(String name);
+       public void put(String name, Object value);
+       public boolean getBoolean(String name);
+       public void putBoolean(String name, boolean b);
+       public String getString(String value);
+       public void putString(String name, String value);
+       public char getChar(String name);
+       public void putChar(String name, char c);
+       public int getInt(String name);
+       public void putInt(String name, int i);
+       public short getShort(String name);
+       public void putShort(String name, short s);
+       public float getFloat(String name);
+       public void putFloat(String name, float fl);
+       public double getDouble(String name);
+       public void putDouble(String name, double d);
+       public long getLong(String name);
+       public void putLong(String name, long l);
+       public byte getByte(String name);
+       public void putByte(String name, byte b);
+       public byte[] getBytes(String name);
+       public void putBytes(String name, byte[] bytes);
+       
+
+}

Modified: 
synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/util/SimpleMapImpl.java
URL: 
http://svn.apache.org/viewvc/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/util/SimpleMapImpl.java?rev=1776088&r1=1776087&r2=1776088&view=diff
==============================================================================
--- 
synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/util/SimpleMapImpl.java
 (original)
+++ 
synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/util/SimpleMapImpl.java
 Tue Dec 27 06:09:18 2016
@@ -1,311 +1,330 @@
-package org.apache.synapse.util;
-
-import java.io.ByteArrayOutputStream;
-import java.io.IOException;
-
-import java.util.HashMap;
-import java.util.Iterator;
-import java.util.Map;
-
-import javax.activation.DataHandler;
-import javax.xml.namespace.QName;
-
-import org.apache.axiom.attachments.ByteArrayDataSource;
-import org.apache.axiom.om.OMAbstractFactory;
-import org.apache.axiom.om.OMElement;
-import org.apache.axiom.om.OMFactory;
-import org.apache.axiom.om.OMNamespace;
-import org.apache.axiom.om.OMNode;
-import org.apache.axiom.om.OMText;
-
-
-public class SimpleMapImpl extends HashMap implements SimpleMap {
-
-    private static final OMNamespace attrNS = 
OMAbstractFactory.getOMFactory().createOMNamespace("", "");
-    private static final String TYPE = "type";
-
-    private static final String NAME = "name";
-
-    private static final String ENTRY = "entry";
-
-    private static final String SHORT = "short";
-
-    private static final String LONG = "long";
-
-    private static final String DOUBLE = "double";
-    private static final String INTEGER = "int";
-    private static final String FLOAT = "float";
-
-    private static final String BYTEARRAY = "byte[]";
-
-    private static final String BYTE = "byte";
-
-    private static final String STRING = "string";
-
-    private static final String BOOLEAN = "boolean";
-
-    private static final String CHAR = "char";
-
-    private static final long serialVersionUID = 1L;
-
-    public SimpleMapImpl() {
-        super();
-    }
-
-    public Object get(String name) {
-        return this.get((Object) name);
-    }
-
-    public boolean getBoolean(String name) {
-        Object o = this.get((Object) name);
-        if (o instanceof Boolean) {
-            return (Boolean) o;
-        } else {
-            throw new RuntimeException("getBoolean(" + name + "): "
-                    + o.getClass().getName() + " is not an instance of 
Boolean");
-        }
-    }
-
-    public byte getByte(String name) {
-        Object o = this.get((Object) name);
-        if (o instanceof Byte) {
-            return (Byte) o;
-        } else {
-            throw new RuntimeException("getByte(" + name + "): "
-                    + o.getClass().getName() + " is not an instance of Byte");
-        }
-    }
-
-    public byte[] getBytes(String name) {
-        Object o = this.get((Object) name);
-        if (o instanceof byte[]) {
-            return (byte[]) o;
-        } else {
-            throw new RuntimeException("getByteArray(" + name + "): "
-                    + o.getClass().getName() + " is not an instance of 
byte[]");
-        }
-    }
-
-    public char getChar(String name) {
-        Object o = this.get((Object) name);
-        if (o instanceof Character) {
-            return (Character) o;
-        } else {
-            throw new RuntimeException("getChar(" + name + "): "
-                    + o.getClass().getName()
-                    + " is not an instance of Character");
-        }
-    }
-
-    public double getDouble(String name) {
-        Object o = this.get((Object) name);
-        if (o instanceof Double) {
-            return (Double) o;
-        } else {
-            throw new RuntimeException("getDouble(" + name + "): "
-                    + o.getClass().getName() + " is not an instance of 
Double");
-        }
-    }
-
-    public float getFloat(String name) {
-        Object o = this.get((Object) name);
-        if (o instanceof Float) {
-            return (Float) o;
-        } else {
-            throw new RuntimeException("getFloat(" + name + "): "
-                    + o.getClass().getName() + " is not an instance of Float");
-        }
-    }
-
-    public int getInt(String name) {
-        Object o = this.get((Object) name);
-        if (o instanceof Integer) {
-            return (Integer) o;
-        } else {
-            throw new RuntimeException("getInt(" + name + "): "
-                    + o.getClass().getName() + " is not an instance of 
Integer");
-        }
-    }
-
-    public long getLong(String name) {
-        Object o = this.get((Object) name);
-        if (o instanceof Long) {
-            return (Long) o;
-        } else {
-            throw new RuntimeException("getLong(" + name + "): "
-                    + o.getClass().getName() + " is not an instance of Long");
-        }
-    }
-
-    public short getShort(String name) {
-        Object o = this.get((Object) name);
-        if (o instanceof Short) {
-            return (Short) o;
-        } else {
-            throw new RuntimeException("getShort(" + name + "): "
-                    + o.getClass().getName() + " is not an instance of Short");
-        }
-    }
-
-    public String getString(String name) {
-        Object o = this.get((Object) name);
-        if (o instanceof String) {
-            return ((String) o);
-        } else {
-            throw new RuntimeException("getString(" + name + "): "
-                    + o.getClass().getName() + " is not an instance of 
String");
-        }
-    }
-
-    public void put(String name, Object value) {
-        this.put((Object) name, value);
-    }
-
-    public void putBoolean(String name, boolean b) {
-        this.put((Object) name, b);
-    }
-
-    public void putByte(String name, byte b) {
-        this.put((Object) name, b);
-    }
-
-    public void putBytes(String name, byte[] bytes) {
-        this.put((Object) name, bytes);
-    }
-
-    public void putChar(String name, char c) {
-        this.put((Object) name, c);
-    }
-
-    public void putDouble(String name, double d) {
-        this.put((Object) name, d);
-    }
-
-    public void putFloat(String name, float fl) {
-        this.put((Object) name, fl);
-    }
-
-    public void putInt(String name, int i) {
-        this.put((Object) name, i);
-    }
-
-    public void putLong(String name, long l) {
-        this.put((Object) name, l);
-    }
-
-    public void putShort(String name, short s) {
-        this.put((Object) name, s);
-    }
-
-    public void putString(String name, String value) {
-        this.put((Object) name, value);
-    }
-
-    public OMElement getOMElement() {
-        return getOMElement(OMAbstractFactory.getOMFactory());
-    }
-
-    public OMElement getOMElement(OMFactory fac) {
-        OMElement mapElement = fac.createOMElement(PayloadHelper.MAPELT);
-
-        for (Object entryObj : this.entrySet()) {
-            Object key = ((Map.Entry) entryObj).getKey();
-            Object o = ((Map.Entry) entryObj).getValue();
-
-            if (key instanceof String) {
-                OMElement entry = fac.createOMElement(new QName(
-                        PayloadHelper.AXIOMPAYLOADNS, ENTRY), mapElement);
-                entry.addAttribute(NAME, (String) key, attrNS);
-
-                if (o instanceof Character) {
-                    entry.addAttribute(TYPE, CHAR, attrNS);
-                    entry.setText(o.toString());
-                } else if (o instanceof Boolean) {
-                    entry.addAttribute(TYPE, BOOLEAN, attrNS);
-                    entry.setText(o.toString());
-                } else if (o instanceof String) {
-                    entry.addAttribute(TYPE, STRING, attrNS);
-                    entry.setText(o.toString());
-                } else if (o instanceof Byte) {
-                    entry.addAttribute(TYPE, BYTE, attrNS);
-                    entry.setText(o.toString());
-                } else if (o instanceof byte[]) {
-                    entry.addAttribute(TYPE, BYTEARRAY, attrNS);
-                    OMText text = fac.createOMText(new DataHandler(
-                            new ByteArrayDataSource((byte[]) o)), true);
-                    entry.addChild(text);
-                } else if (o instanceof Float) {
-                    entry.addAttribute(TYPE, FLOAT, attrNS);
-                    entry.setText(o.toString());
-                } else if (o instanceof Double) {
-                    entry.addAttribute(TYPE, DOUBLE, attrNS);
-                    entry.setText(o.toString());
-                } else if (o instanceof Long) {
-                    entry.addAttribute(TYPE, LONG, attrNS);
-                    entry.setText(o.toString());
-                } else if (o instanceof Short) {
-                    entry.addAttribute(TYPE, SHORT, attrNS);
-                    entry.setText(o.toString());
-                } else if (o instanceof Integer) {
-                    entry.addAttribute(TYPE, INTEGER, attrNS);
-                    entry.setText(o.toString());
-                }
-
-            } else {
-                // shouldn't be any non-string keys. Ignore!
-            }
-        }
-
-        return mapElement;
-    }
-
-    // create an instance from an OMElement (if its the right shape!!!)
-    public SimpleMapImpl(OMElement el) {
-        super();
-        if (el.getQName().equals(PayloadHelper.MAPELT)) {
-            for (Iterator it = el.getChildElements(); it.hasNext(); ) {
-                OMElement child = (OMElement)it.next();
-                if (child.getLocalName().equals(ENTRY)) {
-                    String name = child.getAttributeValue(new QName("",NAME));
-                    String type = child.getAttributeValue(new QName("", TYPE));
-                    if (type == null || name == null) {
-                        //bad!
-                        continue;
-                    }
-                    OMNode data = child.getFirstOMChild();
-                    if (data.getType() != OMNode.TEXT_NODE) {
-                        continue; // BAD!
-                    }
-                    OMText text = (OMText)data;
-                    if (type.equals(INTEGER)) {
-                        this.put(name, new Integer(text.getText()));
-                    } else if (type.equals(CHAR)) {
-                        this.put(name, (text.getText().charAt(0)));
-                    } else if (type.equals(DOUBLE)) {
-                        this.put(name, new Double(text.getText()));
-                    } else if (type.equals(FLOAT)) {
-                        this.put(name, new Float(text.getText()));
-                    } else if (type.equals(BYTE)) {
-                        this.put(name, text.getText().getBytes()[0]);
-                    } else if (type.equals(SHORT)) {
-                        this.put(name, new Short(text.getText()));
-                    } else if (type.equals(LONG)) {
-                        this.put(name, new Long(text.getText()));
-                    } else if (type.equals(STRING)) {
-                        this.put(name, text.getText());
-                    } else if (type.equals(BYTEARRAY)) {
-                        DataHandler dh = (DataHandler) text.getDataHandler();
-                        ByteArrayOutputStream baos = new 
ByteArrayOutputStream();
-                        try {
-                            dh.writeTo(baos);
-                            this.put(name, baos.toByteArray());
-                        } catch (IOException e) {
-                            e.printStackTrace();
-                        }
-                    }
-                }
-            }
-        }
-    }
-
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.synapse.util;
+
+import java.io.ByteArrayOutputStream;
+import java.io.IOException;
+
+import java.util.HashMap;
+import java.util.Iterator;
+import java.util.Map;
+
+import javax.activation.DataHandler;
+import javax.xml.namespace.QName;
+
+import org.apache.axiom.attachments.ByteArrayDataSource;
+import org.apache.axiom.om.OMAbstractFactory;
+import org.apache.axiom.om.OMElement;
+import org.apache.axiom.om.OMFactory;
+import org.apache.axiom.om.OMNamespace;
+import org.apache.axiom.om.OMNode;
+import org.apache.axiom.om.OMText;
+
+
+public class SimpleMapImpl extends HashMap implements SimpleMap {
+
+    private static final OMNamespace attrNS = 
OMAbstractFactory.getOMFactory().createOMNamespace("", "");
+    private static final String TYPE = "type";
+
+    private static final String NAME = "name";
+
+    private static final String ENTRY = "entry";
+
+    private static final String SHORT = "short";
+
+    private static final String LONG = "long";
+
+    private static final String DOUBLE = "double";
+    private static final String INTEGER = "int";
+    private static final String FLOAT = "float";
+
+    private static final String BYTEARRAY = "byte[]";
+
+    private static final String BYTE = "byte";
+
+    private static final String STRING = "string";
+
+    private static final String BOOLEAN = "boolean";
+
+    private static final String CHAR = "char";
+
+    private static final long serialVersionUID = 1L;
+
+    public SimpleMapImpl() {
+        super();
+    }
+
+    public Object get(String name) {
+        return this.get((Object) name);
+    }
+
+    public boolean getBoolean(String name) {
+        Object o = this.get((Object) name);
+        if (o instanceof Boolean) {
+            return (Boolean) o;
+        } else {
+            throw new RuntimeException("getBoolean(" + name + "): "
+                    + o.getClass().getName() + " is not an instance of 
Boolean");
+        }
+    }
+
+    public byte getByte(String name) {
+        Object o = this.get((Object) name);
+        if (o instanceof Byte) {
+            return (Byte) o;
+        } else {
+            throw new RuntimeException("getByte(" + name + "): "
+                    + o.getClass().getName() + " is not an instance of Byte");
+        }
+    }
+
+    public byte[] getBytes(String name) {
+        Object o = this.get((Object) name);
+        if (o instanceof byte[]) {
+            return (byte[]) o;
+        } else {
+            throw new RuntimeException("getByteArray(" + name + "): "
+                    + o.getClass().getName() + " is not an instance of 
byte[]");
+        }
+    }
+
+    public char getChar(String name) {
+        Object o = this.get((Object) name);
+        if (o instanceof Character) {
+            return (Character) o;
+        } else {
+            throw new RuntimeException("getChar(" + name + "): "
+                    + o.getClass().getName()
+                    + " is not an instance of Character");
+        }
+    }
+
+    public double getDouble(String name) {
+        Object o = this.get((Object) name);
+        if (o instanceof Double) {
+            return (Double) o;
+        } else {
+            throw new RuntimeException("getDouble(" + name + "): "
+                    + o.getClass().getName() + " is not an instance of 
Double");
+        }
+    }
+
+    public float getFloat(String name) {
+        Object o = this.get((Object) name);
+        if (o instanceof Float) {
+            return (Float) o;
+        } else {
+            throw new RuntimeException("getFloat(" + name + "): "
+                    + o.getClass().getName() + " is not an instance of Float");
+        }
+    }
+
+    public int getInt(String name) {
+        Object o = this.get((Object) name);
+        if (o instanceof Integer) {
+            return (Integer) o;
+        } else {
+            throw new RuntimeException("getInt(" + name + "): "
+                    + o.getClass().getName() + " is not an instance of 
Integer");
+        }
+    }
+
+    public long getLong(String name) {
+        Object o = this.get((Object) name);
+        if (o instanceof Long) {
+            return (Long) o;
+        } else {
+            throw new RuntimeException("getLong(" + name + "): "
+                    + o.getClass().getName() + " is not an instance of Long");
+        }
+    }
+
+    public short getShort(String name) {
+        Object o = this.get((Object) name);
+        if (o instanceof Short) {
+            return (Short) o;
+        } else {
+            throw new RuntimeException("getShort(" + name + "): "
+                    + o.getClass().getName() + " is not an instance of Short");
+        }
+    }
+
+    public String getString(String name) {
+        Object o = this.get((Object) name);
+        if (o instanceof String) {
+            return ((String) o);
+        } else {
+            throw new RuntimeException("getString(" + name + "): "
+                    + o.getClass().getName() + " is not an instance of 
String");
+        }
+    }
+
+    public void put(String name, Object value) {
+        this.put((Object) name, value);
+    }
+
+    public void putBoolean(String name, boolean b) {
+        this.put((Object) name, b);
+    }
+
+    public void putByte(String name, byte b) {
+        this.put((Object) name, b);
+    }
+
+    public void putBytes(String name, byte[] bytes) {
+        this.put((Object) name, bytes);
+    }
+
+    public void putChar(String name, char c) {
+        this.put((Object) name, c);
+    }
+
+    public void putDouble(String name, double d) {
+        this.put((Object) name, d);
+    }
+
+    public void putFloat(String name, float fl) {
+        this.put((Object) name, fl);
+    }
+
+    public void putInt(String name, int i) {
+        this.put((Object) name, i);
+    }
+
+    public void putLong(String name, long l) {
+        this.put((Object) name, l);
+    }
+
+    public void putShort(String name, short s) {
+        this.put((Object) name, s);
+    }
+
+    public void putString(String name, String value) {
+        this.put((Object) name, value);
+    }
+
+    public OMElement getOMElement() {
+        return getOMElement(OMAbstractFactory.getOMFactory());
+    }
+
+    public OMElement getOMElement(OMFactory fac) {
+        OMElement mapElement = fac.createOMElement(PayloadHelper.MAPELT);
+
+        for (Object entryObj : this.entrySet()) {
+            Object key = ((Map.Entry) entryObj).getKey();
+            Object o = ((Map.Entry) entryObj).getValue();
+
+            if (key instanceof String) {
+                OMElement entry = fac.createOMElement(new QName(
+                        PayloadHelper.AXIOMPAYLOADNS, ENTRY), mapElement);
+                entry.addAttribute(NAME, (String) key, attrNS);
+
+                if (o instanceof Character) {
+                    entry.addAttribute(TYPE, CHAR, attrNS);
+                    entry.setText(o.toString());
+                } else if (o instanceof Boolean) {
+                    entry.addAttribute(TYPE, BOOLEAN, attrNS);
+                    entry.setText(o.toString());
+                } else if (o instanceof String) {
+                    entry.addAttribute(TYPE, STRING, attrNS);
+                    entry.setText(o.toString());
+                } else if (o instanceof Byte) {
+                    entry.addAttribute(TYPE, BYTE, attrNS);
+                    entry.setText(o.toString());
+                } else if (o instanceof byte[]) {
+                    entry.addAttribute(TYPE, BYTEARRAY, attrNS);
+                    OMText text = fac.createOMText(new DataHandler(
+                            new ByteArrayDataSource((byte[]) o)), true);
+                    entry.addChild(text);
+                } else if (o instanceof Float) {
+                    entry.addAttribute(TYPE, FLOAT, attrNS);
+                    entry.setText(o.toString());
+                } else if (o instanceof Double) {
+                    entry.addAttribute(TYPE, DOUBLE, attrNS);
+                    entry.setText(o.toString());
+                } else if (o instanceof Long) {
+                    entry.addAttribute(TYPE, LONG, attrNS);
+                    entry.setText(o.toString());
+                } else if (o instanceof Short) {
+                    entry.addAttribute(TYPE, SHORT, attrNS);
+                    entry.setText(o.toString());
+                } else if (o instanceof Integer) {
+                    entry.addAttribute(TYPE, INTEGER, attrNS);
+                    entry.setText(o.toString());
+                }
+
+            } else {
+                // shouldn't be any non-string keys. Ignore!
+            }
+        }
+
+        return mapElement;
+    }
+
+    // create an instance from an OMElement (if its the right shape!!!)
+    public SimpleMapImpl(OMElement el) {
+        super();
+        if (el.getQName().equals(PayloadHelper.MAPELT)) {
+            for (Iterator it = el.getChildElements(); it.hasNext(); ) {
+                OMElement child = (OMElement)it.next();
+                if (child.getLocalName().equals(ENTRY)) {
+                    String name = child.getAttributeValue(new QName("",NAME));
+                    String type = child.getAttributeValue(new QName("", TYPE));
+                    if (type == null || name == null) {
+                        //bad!
+                        continue;
+                    }
+                    OMNode data = child.getFirstOMChild();
+                    if (data.getType() != OMNode.TEXT_NODE) {
+                        continue; // BAD!
+                    }
+                    OMText text = (OMText)data;
+                    if (type.equals(INTEGER)) {
+                        this.put(name, new Integer(text.getText()));
+                    } else if (type.equals(CHAR)) {
+                        this.put(name, (text.getText().charAt(0)));
+                    } else if (type.equals(DOUBLE)) {
+                        this.put(name, new Double(text.getText()));
+                    } else if (type.equals(FLOAT)) {
+                        this.put(name, new Float(text.getText()));
+                    } else if (type.equals(BYTE)) {
+                        this.put(name, text.getText().getBytes()[0]);
+                    } else if (type.equals(SHORT)) {
+                        this.put(name, new Short(text.getText()));
+                    } else if (type.equals(LONG)) {
+                        this.put(name, new Long(text.getText()));
+                    } else if (type.equals(STRING)) {
+                        this.put(name, text.getText());
+                    } else if (type.equals(BYTEARRAY)) {
+                        DataHandler dh = (DataHandler) text.getDataHandler();
+                        ByteArrayOutputStream baos = new 
ByteArrayOutputStream();
+                        try {
+                            dh.writeTo(baos);
+                            this.put(name, baos.toByteArray());
+                        } catch (IOException e) {
+                            e.printStackTrace();
+                        }
+                    }
+                }
+            }
+        }
+    }
+
+}

Modified: 
synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/util/jaxp/SchemaResourceLSInput.java
URL: 
http://svn.apache.org/viewvc/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/util/jaxp/SchemaResourceLSInput.java?rev=1776088&r1=1776087&r2=1776088&view=diff
==============================================================================
--- 
synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/util/jaxp/SchemaResourceLSInput.java
 (original)
+++ 
synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/util/jaxp/SchemaResourceLSInput.java
 Tue Dec 27 06:09:18 2016
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 package org.apache.synapse.util.jaxp;
 
 import org.w3c.dom.ls.LSInput;

Modified: 
synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/util/jaxp/SchemaResourceResolver.java
URL: 
http://svn.apache.org/viewvc/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/util/jaxp/SchemaResourceResolver.java?rev=1776088&r1=1776087&r2=1776088&view=diff
==============================================================================
--- 
synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/util/jaxp/SchemaResourceResolver.java
 (original)
+++ 
synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/util/jaxp/SchemaResourceResolver.java
 Tue Dec 27 06:09:18 2016
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 package org.apache.synapse.util.jaxp;
 
 import org.apache.commons.logging.Log;

Modified: 
synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/util/jaxp/SourceBuilderFactory.java
URL: 
http://svn.apache.org/viewvc/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/util/jaxp/SourceBuilderFactory.java?rev=1776088&r1=1776087&r2=1776088&view=diff
==============================================================================
--- 
synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/util/jaxp/SourceBuilderFactory.java
 (original)
+++ 
synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/util/jaxp/SourceBuilderFactory.java
 Tue Dec 27 06:09:18 2016
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 package org.apache.synapse.util.jaxp;
 
 import org.apache.synapse.core.SynapseEnvironment;

Modified: 
synapse/trunk/java/modules/core/src/test/java/org/apache/synapse/libraries/eip/AbstractEipLibTestCase.java
URL: 
http://svn.apache.org/viewvc/synapse/trunk/java/modules/core/src/test/java/org/apache/synapse/libraries/eip/AbstractEipLibTestCase.java?rev=1776088&r1=1776087&r2=1776088&view=diff
==============================================================================
--- 
synapse/trunk/java/modules/core/src/test/java/org/apache/synapse/libraries/eip/AbstractEipLibTestCase.java
 (original)
+++ 
synapse/trunk/java/modules/core/src/test/java/org/apache/synapse/libraries/eip/AbstractEipLibTestCase.java
 Tue Dec 27 06:09:18 2016
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 package org.apache.synapse.libraries.eip;
 
 import junit.framework.TestCase;

Modified: 
synapse/trunk/java/modules/core/src/test/java/org/apache/synapse/libraries/eip/EipLibTest.java
URL: 
http://svn.apache.org/viewvc/synapse/trunk/java/modules/core/src/test/java/org/apache/synapse/libraries/eip/EipLibTest.java?rev=1776088&r1=1776087&r2=1776088&view=diff
==============================================================================
--- 
synapse/trunk/java/modules/core/src/test/java/org/apache/synapse/libraries/eip/EipLibTest.java
 (original)
+++ 
synapse/trunk/java/modules/core/src/test/java/org/apache/synapse/libraries/eip/EipLibTest.java
 Tue Dec 27 06:09:18 2016
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 package org.apache.synapse.libraries.eip;
 
 import org.apache.axiom.om.OMAbstractFactory;

Modified: 
synapse/trunk/java/modules/core/src/test/java/org/apache/synapse/mediators/eip/AbstractSplitMediatorTestCase.java
URL: 
http://svn.apache.org/viewvc/synapse/trunk/java/modules/core/src/test/java/org/apache/synapse/mediators/eip/AbstractSplitMediatorTestCase.java?rev=1776088&r1=1776087&r2=1776088&view=diff
==============================================================================
--- 
synapse/trunk/java/modules/core/src/test/java/org/apache/synapse/mediators/eip/AbstractSplitMediatorTestCase.java
 (original)
+++ 
synapse/trunk/java/modules/core/src/test/java/org/apache/synapse/mediators/eip/AbstractSplitMediatorTestCase.java
 Tue Dec 27 06:09:18 2016
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 package org.apache.synapse.mediators.eip;
 
 import org.apache.axiom.om.OMAbstractFactory;

Modified: 
synapse/trunk/java/modules/core/src/test/java/org/apache/synapse/mediators/eip/SplitTestHelperMediator.java
URL: 
http://svn.apache.org/viewvc/synapse/trunk/java/modules/core/src/test/java/org/apache/synapse/mediators/eip/SplitTestHelperMediator.java?rev=1776088&r1=1776087&r2=1776088&view=diff
==============================================================================
--- 
synapse/trunk/java/modules/core/src/test/java/org/apache/synapse/mediators/eip/SplitTestHelperMediator.java
 (original)
+++ 
synapse/trunk/java/modules/core/src/test/java/org/apache/synapse/mediators/eip/SplitTestHelperMediator.java
 Tue Dec 27 06:09:18 2016
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 package org.apache.synapse.mediators.eip;
 
 import org.apache.synapse.mediators.AbstractMediator;

Modified: 
synapse/trunk/java/modules/core/src/test/java/org/apache/synapse/mediators/elementary/EnrichMediatorTest.java
URL: 
http://svn.apache.org/viewvc/synapse/trunk/java/modules/core/src/test/java/org/apache/synapse/mediators/elementary/EnrichMediatorTest.java?rev=1776088&r1=1776087&r2=1776088&view=diff
==============================================================================
--- 
synapse/trunk/java/modules/core/src/test/java/org/apache/synapse/mediators/elementary/EnrichMediatorTest.java
 (original)
+++ 
synapse/trunk/java/modules/core/src/test/java/org/apache/synapse/mediators/elementary/EnrichMediatorTest.java
 Tue Dec 27 06:09:18 2016
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 package org.apache.synapse.mediators.elementary;
 
 import junit.framework.TestCase;

Modified: 
synapse/trunk/java/modules/core/src/test/resources/org/apache/synapse/core/registry/resource.xml
URL: 
http://svn.apache.org/viewvc/synapse/trunk/java/modules/core/src/test/resources/org/apache/synapse/core/registry/resource.xml?rev=1776088&r1=1776087&r2=1776088&view=diff
==============================================================================
--- 
synapse/trunk/java/modules/core/src/test/resources/org/apache/synapse/core/registry/resource.xml
 (original)
+++ 
synapse/trunk/java/modules/core/src/test/resources/org/apache/synapse/core/registry/resource.xml
 Tue Dec 27 06:09:18 2016
@@ -1,10 +1,30 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--Test resource in registry-->
-<table>
-    <entry id="one">
-        <value>ValueOne</value>
-    </entry>
-    <entry id="two">
-        <value>ValueTwo</value>
-    </entry>
-</table>
\ No newline at end of file
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<!--Test resource in registry-->
+<table>
+    <entry id="one">
+        <value>ValueOne</value>
+    </entry>
+    <entry id="two">
+        <value>ValueTwo</value>
+    </entry>
+</table>

Modified: 
synapse/trunk/java/modules/core/src/test/resources/org/apache/synapse/mediators/builtin/synapse-501-conf.xml
URL: 
http://svn.apache.org/viewvc/synapse/trunk/java/modules/core/src/test/resources/org/apache/synapse/mediators/builtin/synapse-501-conf.xml?rev=1776088&r1=1776087&r2=1776088&view=diff
==============================================================================
--- 
synapse/trunk/java/modules/core/src/test/resources/org/apache/synapse/mediators/builtin/synapse-501-conf.xml
 (original)
+++ 
synapse/trunk/java/modules/core/src/test/resources/org/apache/synapse/mediators/builtin/synapse-501-conf.xml
 Tue Dec 27 06:09:18 2016
@@ -1,3 +1,23 @@
+<?xml version='1.0'?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
 <validate xmlns="http://ws.apache.org/ns/synapse"; 
xmlns:s11="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:s12="http://www.w3.org/2003/05/soap-envelope"; 
source="s11:Body/child::*[position()=1] | s12:Body/child::*[position()=1]">
     <schema key="validate_schema"/>
     <on-fail>

Modified: 
synapse/trunk/java/modules/core/src/test/resources/org/apache/synapse/mediators/builtin/synapse-501-soap.xml
URL: 
http://svn.apache.org/viewvc/synapse/trunk/java/modules/core/src/test/resources/org/apache/synapse/mediators/builtin/synapse-501-soap.xml?rev=1776088&r1=1776087&r2=1776088&view=diff
==============================================================================
--- 
synapse/trunk/java/modules/core/src/test/resources/org/apache/synapse/mediators/builtin/synapse-501-soap.xml
 (original)
+++ 
synapse/trunk/java/modules/core/src/test/resources/org/apache/synapse/mediators/builtin/synapse-501-soap.xml
 Tue Dec 27 06:09:18 2016
@@ -1,3 +1,23 @@
+<?xml version='1.0'?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
 <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/";
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  xmlns:xsd="http://www.w3.org/2001/XMLSchema";

Modified: 
synapse/trunk/java/modules/core/src/test/resources/synapse-config/endpoints/epr1.xml
URL: 
http://svn.apache.org/viewvc/synapse/trunk/java/modules/core/src/test/resources/synapse-config/endpoints/epr1.xml?rev=1776088&r1=1776087&r2=1776088&view=diff
==============================================================================
--- 
synapse/trunk/java/modules/core/src/test/resources/synapse-config/endpoints/epr1.xml
 (original)
+++ 
synapse/trunk/java/modules/core/src/test/resources/synapse-config/endpoints/epr1.xml
 Tue Dec 27 06:09:18 2016
@@ -1,3 +1,23 @@
+<?xml version='1.0'?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
 <endpoint name="epr1" xmlns="http://ws.apache.org/ns/synapse";>
     <address uri="http://localhost:9000/services/LBService1"/>
-</endpoint>
\ No newline at end of file
+</endpoint>

Modified: 
synapse/trunk/java/modules/core/src/test/resources/synapse-config/proxy-services/proxy1.xml
URL: 
http://svn.apache.org/viewvc/synapse/trunk/java/modules/core/src/test/resources/synapse-config/proxy-services/proxy1.xml?rev=1776088&r1=1776087&r2=1776088&view=diff
==============================================================================
--- 
synapse/trunk/java/modules/core/src/test/resources/synapse-config/proxy-services/proxy1.xml
 (original)
+++ 
synapse/trunk/java/modules/core/src/test/resources/synapse-config/proxy-services/proxy1.xml
 Tue Dec 27 06:09:18 2016
@@ -1,7 +1,27 @@
+<?xml version='1.0'?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
 <proxy name="proxy1" xmlns="http://ws.apache.org/ns/synapse";>
     <target endpoint="epr1" inSequence="foo">
         <outSequence>
             <send/>
         </outSequence>
     </target>
-</proxy>
\ No newline at end of file
+</proxy>

Modified: 
synapse/trunk/java/modules/core/src/test/resources/synapse-config/registry.xml
URL: 
http://svn.apache.org/viewvc/synapse/trunk/java/modules/core/src/test/resources/synapse-config/registry.xml?rev=1776088&r1=1776087&r2=1776088&view=diff
==============================================================================
--- 
synapse/trunk/java/modules/core/src/test/resources/synapse-config/registry.xml 
(original)
+++ 
synapse/trunk/java/modules/core/src/test/resources/synapse-config/registry.xml 
Tue Dec 27 06:09:18 2016
@@ -1,5 +1,25 @@
+<?xml version='1.0'?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
 <registry xmlns="http://ws.apache.org/ns/synapse";
           provider="org.apache.synapse.registry.url.SimpleURLRegistry">
     <parameter name="root">file:repository/conf/sample/resources/</parameter>
     <parameter name="cachableDuration">15000</parameter>
-</registry>
\ No newline at end of file
+</registry>

Modified: 
synapse/trunk/java/modules/core/src/test/resources/synapse-config/sequences/fault.xml
URL: 
http://svn.apache.org/viewvc/synapse/trunk/java/modules/core/src/test/resources/synapse-config/sequences/fault.xml?rev=1776088&r1=1776087&r2=1776088&view=diff
==============================================================================
--- 
synapse/trunk/java/modules/core/src/test/resources/synapse-config/sequences/fault.xml
 (original)
+++ 
synapse/trunk/java/modules/core/src/test/resources/synapse-config/sequences/fault.xml
 Tue Dec 27 06:09:18 2016
@@ -1,4 +1,24 @@
+<?xml version='1.0'?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
 <sequence name="fault" xmlns="http://ws.apache.org/ns/synapse";>
     <log level="full"/>
     <send/>
-</sequence>
\ No newline at end of file
+</sequence>

Modified: 
synapse/trunk/java/modules/core/src/test/resources/synapse-config/sequences/foo.xml
URL: 
http://svn.apache.org/viewvc/synapse/trunk/java/modules/core/src/test/resources/synapse-config/sequences/foo.xml?rev=1776088&r1=1776087&r2=1776088&view=diff
==============================================================================
--- 
synapse/trunk/java/modules/core/src/test/resources/synapse-config/sequences/foo.xml
 (original)
+++ 
synapse/trunk/java/modules/core/src/test/resources/synapse-config/sequences/foo.xml
 Tue Dec 27 06:09:18 2016
@@ -1,3 +1,23 @@
+<?xml version='1.0'?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
 <sequence name="foo" xmlns="http://ws.apache.org/ns/synapse";>
     <filter source="get-property('To')" regex=".*/StockQuote.*">
         <then>
@@ -8,4 +28,4 @@
         </else>
     </filter>
     <send/>
-</sequence>
\ No newline at end of file
+</sequence>

Modified: 
synapse/trunk/java/modules/core/src/test/resources/synapse-config/sequences/main.xml
URL: 
http://svn.apache.org/viewvc/synapse/trunk/java/modules/core/src/test/resources/synapse-config/sequences/main.xml?rev=1776088&r1=1776087&r2=1776088&view=diff
==============================================================================
--- 
synapse/trunk/java/modules/core/src/test/resources/synapse-config/sequences/main.xml
 (original)
+++ 
synapse/trunk/java/modules/core/src/test/resources/synapse-config/sequences/main.xml
 Tue Dec 27 06:09:18 2016
@@ -1,3 +1,23 @@
+<?xml version='1.0'?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
 <sequence name="main" xmlns="http://ws.apache.org/ns/synapse";>
     <in>
         <log/>
@@ -7,4 +27,4 @@
             </endpoint>
         </send>
     </in>
-</sequence>
\ No newline at end of file
+</sequence>


Reply via email to