You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by as...@apache.org on 2007/03/17 17:18:47 UTC
svn commit: r519363 [1/16] - in /webservices/synapse/trunk/java:
modules/core/ modules/core/src/main/java/org/apache/synapse/
modules/core/src/main/java/org/apache/synapse/config/
modules/core/src/main/java/org/apache/synapse/config/xml/ modules/core/s...
Author: asankha
Date: Sat Mar 17 09:18:32 2007
New Revision: 519363
URL: http://svn.apache.org/viewvc?view=rev&rev=519363
Log:
set eol-style=native for java, xml, html and properties files
eol-style=LF for sh and eol-style=CRLF for bat
Modified:
webservices/synapse/trunk/java/modules/core/pom.xml (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/Constants.java (contents, props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/FaultHandler.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/Mediator.java (contents, props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/MessageContext.java (contents, props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/SynapseException.java (contents, props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/SynapseServer.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/Entry.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/SynapseConfiguration.java (contents, props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/SynapseConfigurationBuilder.java (contents, props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/Util.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/XMLToObjectMapper.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/AbstractListMediatorFactory.java (contents, props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/AbstractListMediatorSerializer.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/AbstractMediatorFactory.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/AbstractMediatorSerializer.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/AnonymousListMediator.java (contents, props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/AnonymousListMediatorFactory.java (contents, props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/AnonymousListMediatorSerializer.java (contents, props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/ClassMediatorFactory.java (contents, props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/ClassMediatorSerializer.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/Constants.java (contents, props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/DropMediatorFactory.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/DropMediatorSerializer.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/EntryFactory.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/EntrySerializer.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/FaultMediatorFactory.java (contents, props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/FaultMediatorSerializer.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/FilterMediatorFactory.java (contents, props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/FilterMediatorSerializer.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/HeaderMediatorFactory.java (contents, props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/HeaderMediatorSerializer.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/InMediatorFactory.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/InMediatorSerializer.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/LogMediatorFactory.java (contents, props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/LogMediatorSerializer.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/MediatorFactory.java (contents, props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/MediatorFactoryFinder.java (contents, props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/MediatorPropertyFactory.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/MediatorSerializer.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/MediatorSerializerFinder.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/OMElementUtils.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/OutMediatorFactory.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/OutMediatorSerializer.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/PropertyMediatorFactory.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/PropertyMediatorSerializer.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/ProxyServiceFactory.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/ProxyServiceSerializer.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/RMSequenceMediatorFactory.java (contents, props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/RMSequenceMediatorSerializer.java (contents, props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/RegistryFactory.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/RegistrySerializer.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/SendMediatorFactory.java (contents, props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/SendMediatorSerializer.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/SequenceMediatorFactory.java (contents, props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/SequenceMediatorSerializer.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/SwitchCase.java (contents, props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/SwitchMediatorFactory.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/SwitchMediatorSerializer.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/SynapseMediatorFactory.java (contents, props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/SynapseMediatorSerializer.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/XMLConfigurationBuilder.java (contents, props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/XMLConfigurationSerializer.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/endpoints/AddressEndpointFactory.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/endpoints/AddressEndpointSerializer.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/endpoints/EndpointAbstractFactory.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/endpoints/EndpointAbstractSerializer.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/endpoints/EndpointFactory.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/endpoints/EndpointSerializer.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/endpoints/FailoverEndpointFactory.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/endpoints/FailoverEndpointSerializer.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/endpoints/IndirectEndpointFactory.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/endpoints/IndirectEndpointSerializer.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/endpoints/LoadbalanceEndpointFactory.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/endpoints/LoadbalanceEndpointSerializer.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/endpoints/WSDLEndpointFactory.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/endpoints/WSDLEndpointSerializer.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/endpoints/XMLToEndpointMapper.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/endpoints/utils/LoadbalanceAlgorithmFactory.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/endpoints/utils/WSDL11EndpointBuilder.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/endpoints/utils/WSDL20EndpointBuilder.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/SynapseEnvironment.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/axis2/AnonymousServiceFactory.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/axis2/AsyncCallback.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/axis2/Axis2FlexibleMEPClient.java (contents, props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/axis2/Axis2MessageContext.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/axis2/Axis2Sender.java (contents, props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/axis2/Axis2SynapseEnvironment.java (contents, props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/axis2/DynamicAxisOperation.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/axis2/MessageContextCreatorForAxis2.java (contents, props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/axis2/ProxyService.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/axis2/ProxyServiceMessageReceiver.java (contents, props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/axis2/SynapseCallbackReceiver.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/axis2/SynapseDispatcher.java (contents, props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/axis2/SynapseMessageReceiver.java (contents, props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/axis2/SynapseModule.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/endpoints/AddressEndpoint.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/endpoints/Endpoint.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/endpoints/FailoverEndpoint.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/endpoints/IndirectEndpoint.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/endpoints/LoadbalanceEndpoint.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/endpoints/WSDLEndpoint.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/endpoints/algorithms/LoadbalanceAlgorithm.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/endpoints/algorithms/RoundRobin.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/endpoints/utils/EndpointDefinition.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/AbstractListMediator.java (contents, props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/AbstractMediator.java (contents, props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/FilterMediator.java (contents, props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/GetPropertyFunction.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/ListMediator.java (contents, props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/MediatorFaultHandler.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/MediatorProperty.java (contents, props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/base/SequenceMediator.java (contents, props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/base/SynapseMediator.java (contents, props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/builtin/DropMediator.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/builtin/LogMediator.java (contents, props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/builtin/PropertyMediator.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/builtin/RMSequenceMediator.java (contents, props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/builtin/SendMediator.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/ext/ClassMediator.java (contents, props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/filters/FilterMediator.java (contents, props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/filters/InMediator.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/filters/OutMediator.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/filters/SwitchMediator.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/transform/FaultMediator.java (contents, props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/transform/HeaderMediator.java (contents, props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/metrics/Constants.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/metrics/Counter.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/metrics/GlobalRequestCountHandler.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/metrics/MetricsAggregatorModule.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/registry/AbstractRegistry.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/registry/Registry.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/registry/RegistryEntry.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/registry/url/SimpleURLRegistry.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/registry/url/URLRegistryEntry.java (props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/statistics/Statistics.java (contents, props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/statistics/StatisticsCollector.java (contents, props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/statistics/StatisticsHolder.java (contents, props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/statistics/StatisticsStack.java (contents, props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/statistics/StatisticsUtils.java (contents, props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/statistics/impl/EndPointStatisticsStack.java (contents, props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/statistics/impl/ProxyServiceStatisticsStack.java (contents, props changed)
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/statistics/impl/SequenceStatisticsStack.java (contents, props changed)
webservices/synapse/trunk/java/modules/core/src/main/resources/log4j.properties (props changed)
webservices/synapse/trunk/java/modules/core/src/test/java/org/apache/synapse/TestMessageContext.java (props changed)
webservices/synapse/trunk/java/modules/core/src/test/java/org/apache/synapse/config/xml/AbstractTestCase.java (contents, props changed)
webservices/synapse/trunk/java/modules/core/src/test/java/org/apache/synapse/config/xml/ClassMediatorSerializationTest.java (contents, props changed)
webservices/synapse/trunk/java/modules/core/src/test/java/org/apache/synapse/config/xml/DropMediatorSerializationTest.java (contents, props changed)
webservices/synapse/trunk/java/modules/core/src/test/java/org/apache/synapse/config/xml/FaultMediatorSerializationTest.java (contents, props changed)
webservices/synapse/trunk/java/modules/core/src/test/java/org/apache/synapse/config/xml/FilterMediatorSerializationTest.java (contents, props changed)
webservices/synapse/trunk/java/modules/core/src/test/java/org/apache/synapse/config/xml/HeaderMediatorSerializationTest.java (contents, props changed)
webservices/synapse/trunk/java/modules/core/src/test/java/org/apache/synapse/config/xml/InMediatorSerializationTest.java (contents, props changed)
webservices/synapse/trunk/java/modules/core/src/test/java/org/apache/synapse/config/xml/LogMediatorSerializationTest.java (contents, props changed)
webservices/synapse/trunk/java/modules/core/src/test/java/org/apache/synapse/config/xml/OutMediatorSerializationTest.java (contents, props changed)
webservices/synapse/trunk/java/modules/core/src/test/java/org/apache/synapse/config/xml/PropertyMediatorSerializationTest.java (contents, props changed)
webservices/synapse/trunk/java/modules/core/src/test/java/org/apache/synapse/config/xml/ProxyServiceSerializationTest.java (contents, props changed)
webservices/synapse/trunk/java/modules/core/src/test/java/org/apache/synapse/config/xml/RegistrySerializationTest.java (contents, props changed)
webservices/synapse/trunk/java/modules/core/src/test/java/org/apache/synapse/config/xml/SendMediatorSerializationTest.java (contents, props changed)
webservices/synapse/trunk/java/modules/core/src/test/java/org/apache/synapse/config/xml/SequenceMediatorSerializationTest.java (contents, props changed)
webservices/synapse/trunk/java/modules/core/src/test/java/org/apache/synapse/config/xml/SwitchMediatorSerializationTest.java (contents, props changed)
webservices/synapse/trunk/java/modules/core/src/test/java/org/apache/synapse/config/xml/TestMediator.java (contents, props changed)
webservices/synapse/trunk/java/modules/core/src/test/java/org/apache/synapse/mediators/TestMediateHandler.java (props changed)
webservices/synapse/trunk/java/modules/core/src/test/java/org/apache/synapse/mediators/TestMediator.java (props changed)
webservices/synapse/trunk/java/modules/core/src/test/java/org/apache/synapse/mediators/TestUtils.java (props changed)
webservices/synapse/trunk/java/modules/core/src/test/java/org/apache/synapse/mediators/base/SequenceMediatorTest.java (props changed)
webservices/synapse/trunk/java/modules/core/src/test/java/org/apache/synapse/mediators/builtin/DropMediatorTest.java (props changed)
webservices/synapse/trunk/java/modules/core/src/test/java/org/apache/synapse/mediators/builtin/PropertyMediatorTest.java (props changed)
webservices/synapse/trunk/java/modules/core/src/test/java/org/apache/synapse/mediators/ext/ClassMediatorTest.java (props changed)
webservices/synapse/trunk/java/modules/core/src/test/java/org/apache/synapse/mediators/ext/ClassMediatorTestMediator.java (props changed)
webservices/synapse/trunk/java/modules/core/src/test/java/org/apache/synapse/mediators/filters/FilterMediatorTest.java (props changed)
webservices/synapse/trunk/java/modules/core/src/test/java/org/apache/synapse/mediators/filters/SwitchMediatorTest.java (props changed)
webservices/synapse/trunk/java/modules/core/src/test/java/org/apache/synapse/mediators/transform/FaultMediatorTest.java (props changed)
webservices/synapse/trunk/java/modules/core/src/test/java/org/apache/synapse/mediators/transform/HeaderMediatorTest.java (props changed)
webservices/synapse/trunk/java/modules/core/src/test/java/org/apache/synapse/n2n/SynapseCommodityServiceTest.java (props changed)
webservices/synapse/trunk/java/modules/core/src/test/java/org/apache/synapse/registry/url/SimpleURLRegistryTest.java (props changed)
webservices/synapse/trunk/java/modules/core/src/test/java/org/apache/synapse/utils/Services.java (props changed)
webservices/synapse/trunk/java/modules/core/src/test/resources/log4j.properties (props changed)
webservices/synapse/trunk/java/modules/extensions/src/main/java/org/apache/synapse/mediators/bsf/ScriptMediator.java (contents, props changed)
webservices/synapse/trunk/java/modules/extensions/src/main/java/org/apache/synapse/mediators/bsf/ScriptMediatorFactory.java (contents, props changed)
webservices/synapse/trunk/java/modules/extensions/src/main/java/org/apache/synapse/mediators/bsf/ScriptMediatorSerializer.java (contents, props changed)
webservices/synapse/trunk/java/modules/extensions/src/main/java/org/apache/synapse/mediators/bsf/ScriptMessageContext.java (contents, props changed)
webservices/synapse/trunk/java/modules/extensions/src/main/java/org/apache/synapse/mediators/bsf/convertors/DefaultOMElementConvertor.java (contents, props changed)
webservices/synapse/trunk/java/modules/extensions/src/main/java/org/apache/synapse/mediators/bsf/convertors/JSOMElementConvertor.java (contents, props changed)
webservices/synapse/trunk/java/modules/extensions/src/main/java/org/apache/synapse/mediators/bsf/convertors/OMElementConvertor.java (contents, props changed)
webservices/synapse/trunk/java/modules/extensions/src/main/java/org/apache/synapse/mediators/bsf/convertors/RBOMElementConvertor.java (contents, props changed)
webservices/synapse/trunk/java/modules/extensions/src/main/java/org/apache/synapse/mediators/spring/SpringMediator.java (contents, props changed)
webservices/synapse/trunk/java/modules/extensions/src/main/java/org/apache/synapse/mediators/spring/SpringMediatorFactory.java (contents, props changed)
webservices/synapse/trunk/java/modules/extensions/src/main/java/org/apache/synapse/mediators/spring/SpringMediatorSerializer.java (props changed)
webservices/synapse/trunk/java/modules/extensions/src/main/java/org/apache/synapse/mediators/throttle/ThrottleMediator.java (contents, props changed)
webservices/synapse/trunk/java/modules/extensions/src/main/java/org/apache/synapse/mediators/throttle/ThrottleMediatorFactory.java (contents, props changed)
webservices/synapse/trunk/java/modules/extensions/src/main/java/org/apache/synapse/mediators/throttle/ThrottleMediatorSerializer.java (contents, props changed)
webservices/synapse/trunk/java/modules/extensions/src/main/java/org/apache/synapse/mediators/transform/XSLTMediator.java (contents, props changed)
webservices/synapse/trunk/java/modules/extensions/src/main/java/org/apache/synapse/mediators/transform/XSLTMediatorFactory.java (props changed)
webservices/synapse/trunk/java/modules/extensions/src/main/java/org/apache/synapse/mediators/transform/XSLTMediatorSerializer.java (props changed)
webservices/synapse/trunk/java/modules/extensions/src/main/java/org/apache/synapse/mediators/validate/ValidateMediator.java (props changed)
webservices/synapse/trunk/java/modules/extensions/src/main/java/org/apache/synapse/mediators/validate/ValidateMediatorFactory.java (props changed)
webservices/synapse/trunk/java/modules/extensions/src/main/java/org/apache/synapse/mediators/validate/ValidateMediatorSerializer.java (props changed)
webservices/synapse/trunk/java/modules/extensions/src/test/java/org/apache/synapse/TestMediateHandler.java (props changed)
webservices/synapse/trunk/java/modules/extensions/src/test/java/org/apache/synapse/TestMediator.java (props changed)
webservices/synapse/trunk/java/modules/extensions/src/test/java/org/apache/synapse/TestMessageContext.java (props changed)
webservices/synapse/trunk/java/modules/extensions/src/test/java/org/apache/synapse/mediators/AbstractTestCase.java (contents, props changed)
webservices/synapse/trunk/java/modules/extensions/src/test/java/org/apache/synapse/mediators/TestUtils.java (props changed)
webservices/synapse/trunk/java/modules/extensions/src/test/java/org/apache/synapse/mediators/bsf/ScriptMediatorFactoryTest.java (contents, props changed)
webservices/synapse/trunk/java/modules/extensions/src/test/java/org/apache/synapse/mediators/bsf/ScriptMediatorSerializationTest.java (contents, props changed)
webservices/synapse/trunk/java/modules/extensions/src/test/java/org/apache/synapse/mediators/bsf/ScriptMediatorTest.java (contents, props changed)
webservices/synapse/trunk/java/modules/extensions/src/test/java/org/apache/synapse/mediators/spring/SpringMediatorTest.java (props changed)
webservices/synapse/trunk/java/modules/extensions/src/test/java/org/apache/synapse/mediators/spring/SpringTestBean.java (props changed)
webservices/synapse/trunk/java/modules/extensions/src/test/java/org/apache/synapse/mediators/spring/TestMediateHandlerImpl.java (props changed)
webservices/synapse/trunk/java/modules/extensions/src/test/java/org/apache/synapse/mediators/throttle/ThrottleMediatorSerializationTest.java (contents, props changed)
webservices/synapse/trunk/java/modules/extensions/src/test/java/org/apache/synapse/mediators/throttle/ThrottleMediatorTest.java (contents, props changed)
webservices/synapse/trunk/java/modules/extensions/src/test/java/org/apache/synapse/mediators/transform/XSLTMediatorTest.java (props changed)
webservices/synapse/trunk/java/modules/extensions/src/test/java/org/apache/synapse/mediators/validate/ValidateMediatorSerializationTest.java (contents, props changed)
webservices/synapse/trunk/java/modules/extensions/src/test/java/org/apache/synapse/mediators/validate/ValidateMediatorTest.java (props changed)
webservices/synapse/trunk/java/modules/extensions/src/test/resources/log4j.properties (props changed)
webservices/synapse/trunk/java/modules/mar/pom.xml (props changed)
webservices/synapse/trunk/java/modules/nhttp/pom.xml (props changed)
webservices/synapse/trunk/java/modules/nhttp/src/org/apache/axis2/transport/nhttp/Axis2HttpRequest.java (props changed)
webservices/synapse/trunk/java/modules/nhttp/src/org/apache/axis2/transport/nhttp/ClientHandler.java (props changed)
webservices/synapse/trunk/java/modules/nhttp/src/org/apache/axis2/transport/nhttp/ClientWorker.java (props changed)
webservices/synapse/trunk/java/modules/nhttp/src/org/apache/axis2/transport/nhttp/ConnectionPool.java (props changed)
webservices/synapse/trunk/java/modules/nhttp/src/org/apache/axis2/transport/nhttp/HostnameVerifier.java (props changed)
webservices/synapse/trunk/java/modules/nhttp/src/org/apache/axis2/transport/nhttp/HttpCoreNIOListener.java (props changed)
webservices/synapse/trunk/java/modules/nhttp/src/org/apache/axis2/transport/nhttp/HttpCoreNIOSSLListener.java (props changed)
webservices/synapse/trunk/java/modules/nhttp/src/org/apache/axis2/transport/nhttp/HttpCoreNIOSSLSender.java (props changed)
webservices/synapse/trunk/java/modules/nhttp/src/org/apache/axis2/transport/nhttp/HttpCoreNIOSender.java (props changed)
webservices/synapse/trunk/java/modules/nhttp/src/org/apache/axis2/transport/nhttp/LoggingIOSession.java (props changed)
webservices/synapse/trunk/java/modules/nhttp/src/org/apache/axis2/transport/nhttp/LoggingNHttpClientHandler.java (props changed)
webservices/synapse/trunk/java/modules/nhttp/src/org/apache/axis2/transport/nhttp/LoggingNHttpServiceHandler.java (props changed)
webservices/synapse/trunk/java/modules/nhttp/src/org/apache/axis2/transport/nhttp/PlainClientIOEventDispatch.java (props changed)
webservices/synapse/trunk/java/modules/nhttp/src/org/apache/axis2/transport/nhttp/PlainServerIOEventDispatch.java (props changed)
webservices/synapse/trunk/java/modules/nhttp/src/org/apache/axis2/transport/nhttp/SSLClientIOEventDispatch.java (props changed)
webservices/synapse/trunk/java/modules/nhttp/src/org/apache/axis2/transport/nhttp/SSLServerIOEventDispatch.java (props changed)
webservices/synapse/trunk/java/modules/nhttp/src/org/apache/axis2/transport/nhttp/ServerHandler.java (props changed)
webservices/synapse/trunk/java/modules/nhttp/src/org/apache/axis2/transport/nhttp/ServerWorker.java (props changed)
webservices/synapse/trunk/java/modules/nhttp/src/org/apache/axis2/transport/nhttp/Util.java (props changed)
webservices/synapse/trunk/java/modules/samples/pom.xml (props changed)
webservices/synapse/trunk/java/modules/samples/services/FastStockQuoteService/src/samples/services/FastStockQuoteService.java (props changed)
webservices/synapse/trunk/java/modules/samples/services/FastStockQuoteService/src/samples/services/GetQuote.java (props changed)
webservices/synapse/trunk/java/modules/samples/services/FastStockQuoteService/src/samples/services/GetQuoteResponse.java (props changed)
webservices/synapse/trunk/java/modules/samples/services/FastStockQuoteService/src/samples/services/PlaceOrder.java (props changed)
webservices/synapse/trunk/java/modules/samples/services/MTOMSampleService/src/samples/services/MTOMSampleService.java (props changed)
webservices/synapse/trunk/java/modules/samples/services/SecureStockQuoteService1/src/samples/services/GetQuote.java (props changed)
webservices/synapse/trunk/java/modules/samples/services/SecureStockQuoteService1/src/samples/services/GetQuoteResponse.java (props changed)
webservices/synapse/trunk/java/modules/samples/services/SecureStockQuoteService1/src/samples/services/PlaceOrder.java (props changed)
webservices/synapse/trunk/java/modules/samples/services/SecureStockQuoteService1/src/samples/services/SimpleStockQuoteService.java (props changed)
webservices/synapse/trunk/java/modules/samples/services/SecureStockQuoteService3/src/samples/services/GetQuote.java (props changed)
webservices/synapse/trunk/java/modules/samples/services/SecureStockQuoteService3/src/samples/services/GetQuoteResponse.java (props changed)
webservices/synapse/trunk/java/modules/samples/services/SecureStockQuoteService3/src/samples/services/PlaceOrder.java (props changed)
webservices/synapse/trunk/java/modules/samples/services/SecureStockQuoteService3/src/samples/services/SimpleStockQuoteService.java (props changed)
webservices/synapse/trunk/java/modules/samples/services/SimpleStockQuoteService/src/samples/services/GetQuote.java (props changed)
webservices/synapse/trunk/java/modules/samples/services/SimpleStockQuoteService/src/samples/services/GetQuoteResponse.java (props changed)
webservices/synapse/trunk/java/modules/samples/services/SimpleStockQuoteService/src/samples/services/PlaceOrder.java (props changed)
webservices/synapse/trunk/java/modules/samples/services/SimpleStockQuoteService/src/samples/services/SimpleStockQuoteService.java (props changed)
webservices/synapse/trunk/java/modules/samples/services/SimpleStockQuoteService1/src/samples/services/GetQuote.java (props changed)
webservices/synapse/trunk/java/modules/samples/services/SimpleStockQuoteService1/src/samples/services/GetQuoteResponse.java (props changed)
webservices/synapse/trunk/java/modules/samples/services/SimpleStockQuoteService1/src/samples/services/PlaceOrder.java (props changed)
webservices/synapse/trunk/java/modules/samples/services/SimpleStockQuoteService1/src/samples/services/SimpleStockQuoteService.java (props changed)
webservices/synapse/trunk/java/modules/samples/src/main/java/samples/common/StockQuoteHandler.java (props changed)
webservices/synapse/trunk/java/modules/samples/src/main/java/samples/common/Util.java (props changed)
webservices/synapse/trunk/java/modules/samples/src/main/java/samples/userguide/CustomStockQuoteClient.java (props changed)
webservices/synapse/trunk/java/modules/samples/src/main/java/samples/userguide/DumbStockQuoteClient.java (contents, props changed)
webservices/synapse/trunk/java/modules/samples/src/main/java/samples/userguide/GenericJMSClient.java (props changed)
webservices/synapse/trunk/java/modules/samples/src/main/java/samples/userguide/PWCallback.java (props changed)
webservices/synapse/trunk/java/modules/samples/src/main/java/samples/userguide/PlaceOrderClient.java (props changed)
webservices/synapse/trunk/java/modules/samples/src/main/java/samples/userguide/ProxyStockQuoteClient.java (contents, props changed)
webservices/synapse/trunk/java/modules/samples/src/main/java/samples/userguide/StockQuoteClient.java (contents, props changed)
webservices/synapse/trunk/java/modules/samples/src/main/java/samples/util/SampleAxis2Server.java (contents, props changed)
webservices/synapse/trunk/java/modules/samples/src/main/scripts/axis2server.bat (props changed)
webservices/synapse/trunk/java/modules/samples/src/main/scripts/axis2server.sh (props changed)
webservices/synapse/trunk/java/repository/conf/axis2.xml (contents, props changed)
webservices/synapse/trunk/java/repository/conf/sample/resources/endpoint/dynamic_endpt_1.xml (contents, props changed)
webservices/synapse/trunk/java/repository/conf/sample/resources/misc/axis2.xml (contents, props changed)
webservices/synapse/trunk/java/repository/conf/sample/resources/misc/synapse.xml (props changed)
webservices/synapse/trunk/java/repository/conf/sample/resources/policy/client_policy_3.xml (props changed)
webservices/synapse/trunk/java/repository/conf/sample/resources/policy/policy_1.xml (props changed)
webservices/synapse/trunk/java/repository/conf/sample/resources/policy/policy_3.xml (props changed)
webservices/synapse/trunk/java/repository/conf/sample/resources/policy/sample_policy_1.xml (contents, props changed)
webservices/synapse/trunk/java/repository/conf/sample/resources/policy/sample_rm_policy_1.xml (contents, props changed)
webservices/synapse/trunk/java/repository/conf/sample/resources/policy/throttle_policy.xml (contents, props changed)
webservices/synapse/trunk/java/repository/conf/sample/resources/sequence/dynamic_seq_1.xml (contents, props changed)
webservices/synapse/trunk/java/repository/conf/sample/resources/spring/springsample.xml (contents, props changed)
webservices/synapse/trunk/java/repository/conf/sample/resources/spring/synapse_spring_unittest.xml (contents, props changed)
webservices/synapse/trunk/java/repository/conf/sample/resources/synapse.xml (contents, props changed)
webservices/synapse/trunk/java/repository/conf/sample/synapse_sample_0.xml (contents, props changed)
webservices/synapse/trunk/java/repository/conf/sample/synapse_sample_1.xml (contents, props changed)
webservices/synapse/trunk/java/repository/conf/sample/synapse_sample_10.xml (contents, props changed)
webservices/synapse/trunk/java/repository/conf/sample/synapse_sample_100.xml (contents, props changed)
webservices/synapse/trunk/java/repository/conf/sample/synapse_sample_101.xml (contents, props changed)
webservices/synapse/trunk/java/repository/conf/sample/synapse_sample_102.xml (contents, props changed)
webservices/synapse/trunk/java/repository/conf/sample/synapse_sample_103.xml (contents, props changed)
webservices/synapse/trunk/java/repository/conf/sample/synapse_sample_104.xml (props changed)
webservices/synapse/trunk/java/repository/conf/sample/synapse_sample_105.xml (contents, props changed)
webservices/synapse/trunk/java/repository/conf/sample/synapse_sample_11.xml (contents, props changed)
webservices/synapse/trunk/java/repository/conf/sample/synapse_sample_110.xml (contents, props changed)
webservices/synapse/trunk/java/repository/conf/sample/synapse_sample_111.xml (contents, props changed)
webservices/synapse/trunk/java/repository/conf/sample/synapse_sample_2.xml (contents, props changed)
webservices/synapse/trunk/java/repository/conf/sample/synapse_sample_3.xml (contents, props changed)
webservices/synapse/trunk/java/repository/conf/sample/synapse_sample_4.xml (contents, props changed)
webservices/synapse/trunk/java/repository/conf/sample/synapse_sample_400.xml (contents, props changed)
webservices/synapse/trunk/java/repository/conf/sample/synapse_sample_401.xml (contents, props changed)
webservices/synapse/trunk/java/repository/conf/sample/synapse_sample_5.xml (contents, props changed)
webservices/synapse/trunk/java/repository/conf/sample/synapse_sample_50.xml (contents, props changed)
webservices/synapse/trunk/java/repository/conf/sample/synapse_sample_6.xml (contents, props changed)
webservices/synapse/trunk/java/repository/conf/sample/synapse_sample_7.xml (contents, props changed)
webservices/synapse/trunk/java/repository/conf/sample/synapse_sample_8.xml (contents, props changed)
webservices/synapse/trunk/java/repository/conf/sample/synapse_sample_9.xml (contents, props changed)
webservices/synapse/trunk/java/repository/conf/synapse.xml (contents, props changed)
webservices/synapse/trunk/java/src/main/bin/synapse.bat (props changed)
webservices/synapse/trunk/java/src/main/bin/synapse.sh (props changed)
webservices/synapse/trunk/java/src/site/resources/Synapse_Extending.html (props changed)
webservices/synapse/trunk/java/src/site/resources/Synapse_Userguide.html (props changed)
webservices/synapse/trunk/java/src/site/resources/download.html (props changed)
webservices/synapse/trunk/java/src/site/resources/download/0.90/download.html (props changed)
webservices/synapse/trunk/java/src/site/resources/download/0.91/download.html (props changed)
webservices/synapse/trunk/java/src/site/resources/download/M1/download.html (props changed)
webservices/synapse/trunk/java/src/site/resources/download/M2/download.html (props changed)
Propchange: webservices/synapse/trunk/java/modules/core/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native
Modified: webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/Constants.java
URL: http://svn.apache.org/viewvc/webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/Constants.java?view=diff&rev=519363&r1=519362&r2=519363
==============================================================================
--- webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/Constants.java (original)
+++ webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/Constants.java Sat Mar 17 09:18:32 2007
@@ -1,176 +1,176 @@
-/*
- * 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;
-
-import org.apache.axiom.om.OMNamespace;
-import org.apache.axiom.om.OMAbstractFactory;
-
-import javax.xml.namespace.QName;
-
-/**
- * Global constants for the Synapse project
- */
-public interface Constants {
-
- /** The Synapse namespace */
- public static final String SYNAPSE_NAMESPACE = "http://ws.apache.org/ns/synapse";
-
- public static final String MAIN_SEQUENCE_KEY = "main";
- public static final String FAULT_SEQUENCE_KEY = "fault";
-
- public static final OMNamespace SYNAPSE_OMNAMESPACE =
- OMAbstractFactory.getOMFactory().createOMNamespace(SYNAPSE_NAMESPACE, "syn");
-
- // -- keys related to Axis2 configuration and Synapse initialization --
- /** The key name used to store the Synapse configuration into the Axis2 config */
- String SYNAPSE_CONFIG = "synapse.config";
-
- /** The key name used to store the Synapse environment into the Axis2 config */
- String SYNAPSE_ENV = "synapse.env";
-
- /** The system property used to specify/override the synapse configuration XML location */
- String SYNAPSE_XML = "synapse.xml";
-
- /** If the message context contains a Boolean.TRUE with this key, WS-A would be turned on send */
- String OUTFLOW_ADDRESSING_ON = "OUTFLOW_ADDRESSING_ON";
-
- /** If the message context contains a Boolean.TRUE with this key, RM would be turned on send */
- String OUTFLOW_RM_ON = "OUTFLOW_RM_ON";
-
- /** The message context property name which holds the RM 'Policy' object for outgoing messages */
- String OUTFLOW_RM_POLICY = "OUTFLOW_RM_POLICY";
-
- /** If the message context contains a Boolean.TRUE with this key, Rampart would be engaged on send */
- String OUTFLOW_SECURITY_ON = "OUTFLOW_SECURITY_ON";
-
- /** The message context property name which holds the Security 'Policy' object for outgoing messages */
- String OUTFLOW_SEC_POLICY = "OUTFLOW_SEC_POLICY";
-
-
- // -- Synapse message context property keys --
- /** The scope for the synapse message context properties */
- String SCOPE_DEFAULT = "default";
-
- /**
- * The scope for a set-property mediator, when the property should be set
- * on the underlying Axis2 message context
- */
- String SCOPE_AXIS2 = "axis2";
-
- /**
- * The scope for a set-property mediator, when the property should be set
- * on the underlying transport
- */
- String SCOPE_TRANSPORT = "transport";
-
- /** An string name which holds the out sequence property in the MessageContext */
- String PROXY_SERVICE = "proxy.name";
-
- /** A key with this name on the message context set to Boolean.TRUE, indicates that this is a response */
- String ISRESPONSE_PROPERTY = "synapse.isresponse";
-
- /** If message context property contains Boolean.TRUE then Axis2 will send this with a separate listener engaged **/
- public static final String OUTFLOW_USE_SEPARATE_LISTENER = "OUTFLOW_USE_SEPARATE_LISTENER";
-
- /** The message context property name which holds the error code for the last encountered exception */
- String ERROR_CODE = "ERROR_CODE";
-
- /** The message context property name which holds the error message for the last encountered exception */
- String ERROR_MESSAGE = "ERROR_MESSAGE";
-
- /** The message context property name which holds the error detail (stack trace) for the last encountered exception */
- String ERROR_DETAIL = "ERROR_DETAIL";
-
- // -- names of modules to be engaged at runtime --
- /** The QName of the WS-RM Sandesha module */
- QName SANDESHA2_MODULE_NAME = new QName("sandesha2");
-
- /** The QName of the WS-A Addressing module */
- QName ADDRESSING_MODULE_NAME = new QName("addressing");
-
- /** The QName of the WS-Security Rampart module */
- QName RAMPART_MODULE_NAME = new QName("rampart");
-
- /** Refers the To header */
- String HEADER_TO = "To";
- /** Refers the From header */
- String HEADER_FROM = "From";
- /** Refers the FaultTo header */
- String HEADER_FAULT = "FaultTo";
- /** Refers the Action header */
- String HEADER_ACTION = "Action";
- /** Refers the ReplyTo header */
- String HEADER_REPLY_TO = "ReplyTo";
-
- String RESPONSE = "RESPONSE";
-
- /** The tracing state -off */
- int TRACING_OFF =0;
- /** The tracing state-on */
- int TRACING_ON =1;
- /** The tracing state-unset */
- int TRACING_UNSET=2;
- /** Tracing logger */
- String TRACE_LOGGER ="TRACE_LOGGER";
-
- // -- Synapse property values for WS-RM sequence handling --
- /** WS-RM version 1.0*/
- String SEQUENCE_VERSION_1_0 = "1.0";
- /** WS-RM version 1.1*/
- String SEQUENCE_VERSION_1_1 = "1.1";
-
- /** Sandesha last message property name */
- String SANDESHA_LAST_MESSAGE = "Sandesha2LastMessage";
- /** Sandesha last sequence key property name */
- String SANDESHA_SEQUENCE_KEY = "Sandesha2SequenceKey";
- /** Sandesha WS-RM specification version property name */
- String SANDESHA_SPEC_VERSION = "Sandesha2RMSpecVersion";
-
- /** The statistics state -off */
- int STATISTICS_OFF =0;
- /** The statistics state-on */
- int STATISTICS_ON =1;
- /** The statistics state-unset */
- int STATISTICS_UNSET=2;
-
- /** */
- String SYNAPSE_ERROR ="syapse_error" ;
-
- /** key for lookup sequence statistics stack */
- String SEQUENCE_STATISTICS_STACK ="sequence_statistics_stack";
-
- /** key for lookup Proxy Service statistics stack */
- String PROXYSERVICE_STATISTICS_STACK ="proxyservice_statistics_stack";
-
- /** key for lookup Proxy Service statistics stack */
- String SYNAPSESERVICE_STATISTICS_STACK ="synapseservice_statistics_stack";
-
- /** key for lookup Endpoint statistics stack */
- String ENDPOINT_STATISTICS_STACK ="endpoint_statistics_stack";
-
- /** Sequence statistics category*/
- int SEQUENCE_STATISTICS = 0;
-
- /** Proxy Service statistics category */
- int PROXYSERVICE_STATISTICS = 1;
-
- /** Endpoint statistics category*/
- int ENDPOINT_STATISTICS = 2;
-}
+/*
+ * 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;
+
+import org.apache.axiom.om.OMNamespace;
+import org.apache.axiom.om.OMAbstractFactory;
+
+import javax.xml.namespace.QName;
+
+/**
+ * Global constants for the Synapse project
+ */
+public interface Constants {
+
+ /** The Synapse namespace */
+ public static final String SYNAPSE_NAMESPACE = "http://ws.apache.org/ns/synapse";
+
+ public static final String MAIN_SEQUENCE_KEY = "main";
+ public static final String FAULT_SEQUENCE_KEY = "fault";
+
+ public static final OMNamespace SYNAPSE_OMNAMESPACE =
+ OMAbstractFactory.getOMFactory().createOMNamespace(SYNAPSE_NAMESPACE, "syn");
+
+ // -- keys related to Axis2 configuration and Synapse initialization --
+ /** The key name used to store the Synapse configuration into the Axis2 config */
+ String SYNAPSE_CONFIG = "synapse.config";
+
+ /** The key name used to store the Synapse environment into the Axis2 config */
+ String SYNAPSE_ENV = "synapse.env";
+
+ /** The system property used to specify/override the synapse configuration XML location */
+ String SYNAPSE_XML = "synapse.xml";
+
+ /** If the message context contains a Boolean.TRUE with this key, WS-A would be turned on send */
+ String OUTFLOW_ADDRESSING_ON = "OUTFLOW_ADDRESSING_ON";
+
+ /** If the message context contains a Boolean.TRUE with this key, RM would be turned on send */
+ String OUTFLOW_RM_ON = "OUTFLOW_RM_ON";
+
+ /** The message context property name which holds the RM 'Policy' object for outgoing messages */
+ String OUTFLOW_RM_POLICY = "OUTFLOW_RM_POLICY";
+
+ /** If the message context contains a Boolean.TRUE with this key, Rampart would be engaged on send */
+ String OUTFLOW_SECURITY_ON = "OUTFLOW_SECURITY_ON";
+
+ /** The message context property name which holds the Security 'Policy' object for outgoing messages */
+ String OUTFLOW_SEC_POLICY = "OUTFLOW_SEC_POLICY";
+
+
+ // -- Synapse message context property keys --
+ /** The scope for the synapse message context properties */
+ String SCOPE_DEFAULT = "default";
+
+ /**
+ * The scope for a set-property mediator, when the property should be set
+ * on the underlying Axis2 message context
+ */
+ String SCOPE_AXIS2 = "axis2";
+
+ /**
+ * The scope for a set-property mediator, when the property should be set
+ * on the underlying transport
+ */
+ String SCOPE_TRANSPORT = "transport";
+
+ /** An string name which holds the out sequence property in the MessageContext */
+ String PROXY_SERVICE = "proxy.name";
+
+ /** A key with this name on the message context set to Boolean.TRUE, indicates that this is a response */
+ String ISRESPONSE_PROPERTY = "synapse.isresponse";
+
+ /** If message context property contains Boolean.TRUE then Axis2 will send this with a separate listener engaged **/
+ public static final String OUTFLOW_USE_SEPARATE_LISTENER = "OUTFLOW_USE_SEPARATE_LISTENER";
+
+ /** The message context property name which holds the error code for the last encountered exception */
+ String ERROR_CODE = "ERROR_CODE";
+
+ /** The message context property name which holds the error message for the last encountered exception */
+ String ERROR_MESSAGE = "ERROR_MESSAGE";
+
+ /** The message context property name which holds the error detail (stack trace) for the last encountered exception */
+ String ERROR_DETAIL = "ERROR_DETAIL";
+
+ // -- names of modules to be engaged at runtime --
+ /** The QName of the WS-RM Sandesha module */
+ QName SANDESHA2_MODULE_NAME = new QName("sandesha2");
+
+ /** The QName of the WS-A Addressing module */
+ QName ADDRESSING_MODULE_NAME = new QName("addressing");
+
+ /** The QName of the WS-Security Rampart module */
+ QName RAMPART_MODULE_NAME = new QName("rampart");
+
+ /** Refers the To header */
+ String HEADER_TO = "To";
+ /** Refers the From header */
+ String HEADER_FROM = "From";
+ /** Refers the FaultTo header */
+ String HEADER_FAULT = "FaultTo";
+ /** Refers the Action header */
+ String HEADER_ACTION = "Action";
+ /** Refers the ReplyTo header */
+ String HEADER_REPLY_TO = "ReplyTo";
+
+ String RESPONSE = "RESPONSE";
+
+ /** The tracing state -off */
+ int TRACING_OFF =0;
+ /** The tracing state-on */
+ int TRACING_ON =1;
+ /** The tracing state-unset */
+ int TRACING_UNSET=2;
+ /** Tracing logger */
+ String TRACE_LOGGER ="TRACE_LOGGER";
+
+ // -- Synapse property values for WS-RM sequence handling --
+ /** WS-RM version 1.0*/
+ String SEQUENCE_VERSION_1_0 = "1.0";
+ /** WS-RM version 1.1*/
+ String SEQUENCE_VERSION_1_1 = "1.1";
+
+ /** Sandesha last message property name */
+ String SANDESHA_LAST_MESSAGE = "Sandesha2LastMessage";
+ /** Sandesha last sequence key property name */
+ String SANDESHA_SEQUENCE_KEY = "Sandesha2SequenceKey";
+ /** Sandesha WS-RM specification version property name */
+ String SANDESHA_SPEC_VERSION = "Sandesha2RMSpecVersion";
+
+ /** The statistics state -off */
+ int STATISTICS_OFF =0;
+ /** The statistics state-on */
+ int STATISTICS_ON =1;
+ /** The statistics state-unset */
+ int STATISTICS_UNSET=2;
+
+ /** */
+ String SYNAPSE_ERROR ="syapse_error" ;
+
+ /** key for lookup sequence statistics stack */
+ String SEQUENCE_STATISTICS_STACK ="sequence_statistics_stack";
+
+ /** key for lookup Proxy Service statistics stack */
+ String PROXYSERVICE_STATISTICS_STACK ="proxyservice_statistics_stack";
+
+ /** key for lookup Proxy Service statistics stack */
+ String SYNAPSESERVICE_STATISTICS_STACK ="synapseservice_statistics_stack";
+
+ /** key for lookup Endpoint statistics stack */
+ String ENDPOINT_STATISTICS_STACK ="endpoint_statistics_stack";
+
+ /** Sequence statistics category*/
+ int SEQUENCE_STATISTICS = 0;
+
+ /** Proxy Service statistics category */
+ int PROXYSERVICE_STATISTICS = 1;
+
+ /** Endpoint statistics category*/
+ int ENDPOINT_STATISTICS = 2;
+}
Propchange: webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/Constants.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/FaultHandler.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/Mediator.java
URL: http://svn.apache.org/viewvc/webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/Mediator.java?view=diff&rev=519363&r1=519362&r2=519363
==============================================================================
--- webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/Mediator.java (original)
+++ webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/Mediator.java Sat Mar 17 09:18:32 2007
@@ -1,59 +1,59 @@
-/*
- * 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;
-
-import org.apache.synapse.MessageContext;
-
-/**
- * All Synapse mediators must implement this Mediator interface. As a message passes
- * through the synapse system, each mediator's mediate() method is invoked in the
- * sequence/order defined in the SynapseConfiguration.
- */
-public interface Mediator {
-
- /**
- * Invokes the mediator passing the current message for mediation. Each
- * mediator performs its mediation action, and returns true if mediation
- * should continue, or false if further mediation should be aborted.
- *
- * @param synCtx the current message for mediation
- * @return true if further mediation should continue
- */
- public boolean mediate(MessageContext synCtx);
-
- /**
- * This is used for debugging purposes and exposes the type of the current
- * mediator for logging and debugging purposes
- * @return a String representation of the mediator type
- */
- public String getType();
-
- /**
- * This is used to check whether the tracing should be enabled on the current mediator or not
- * @return value that indicate whether tracing is on, off or unset
- */
- public int getTraceState();
-
- /**
- * This is used to set the value of tracing enable variable
- * @param traceState Set whether the tracing is enabled or not
- */
- public void setTraceState(int traceState);
-}
+/*
+ * 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;
+
+import org.apache.synapse.MessageContext;
+
+/**
+ * All Synapse mediators must implement this Mediator interface. As a message passes
+ * through the synapse system, each mediator's mediate() method is invoked in the
+ * sequence/order defined in the SynapseConfiguration.
+ */
+public interface Mediator {
+
+ /**
+ * Invokes the mediator passing the current message for mediation. Each
+ * mediator performs its mediation action, and returns true if mediation
+ * should continue, or false if further mediation should be aborted.
+ *
+ * @param synCtx the current message for mediation
+ * @return true if further mediation should continue
+ */
+ public boolean mediate(MessageContext synCtx);
+
+ /**
+ * This is used for debugging purposes and exposes the type of the current
+ * mediator for logging and debugging purposes
+ * @return a String representation of the mediator type
+ */
+ public String getType();
+
+ /**
+ * This is used to check whether the tracing should be enabled on the current mediator or not
+ * @return value that indicate whether tracing is on, off or unset
+ */
+ public int getTraceState();
+
+ /**
+ * This is used to set the value of tracing enable variable
+ * @param traceState Set whether the tracing is enabled or not
+ */
+ public void setTraceState(int traceState);
+}
Propchange: webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/Mediator.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/MessageContext.java
URL: http://svn.apache.org/viewvc/webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/MessageContext.java?view=diff&rev=519363&r1=519362&r2=519363
==============================================================================
--- webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/MessageContext.java (original)
+++ webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/MessageContext.java Sat Mar 17 09:18:32 2007
@@ -1,317 +1,317 @@
-/*
- * 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;
-
-
-import org.apache.axiom.soap.SOAPEnvelope;
-import org.apache.axis2.AxisFault;
-import org.apache.axis2.addressing.EndpointReference;
-import org.apache.axis2.addressing.RelatesTo;
-import org.apache.synapse.config.SynapseConfiguration;
-import org.apache.synapse.core.SynapseEnvironment;
-import org.apache.synapse.endpoints.Endpoint;
-
-import java.util.Set;
-import java.util.Stack;
-
-
-/**
- * The Synapse Message Context is available to all mediators through which it flows. It
- * allows one to call to the underlying SynapseEnvironment (i.e. the SOAP engine
- * - such as Axis2) where required. It also allows one to access the current
- * SynapseConfiguration. Additionally it holds per message properties (i.e. local
- * properties valid for the lifetime of the message), and the current SOAPEnvelope
- */
-public interface MessageContext {
-
- /**
- * Get a reference to the current SynapseConfiguration
- *
- * @return the current synapse configuration
- */
- public SynapseConfiguration getConfiguration();
-
- /**
- * Set or replace the Synapse Configuration instance to be used. May be used to
- * programatically change the configuration at runtime etc.
- *
- * @param cfg The new synapse configuration instance
- */
- public void setConfiguration(SynapseConfiguration cfg);
-
- /**
- * Returns a reference to the host Synapse Environment
- * @return the Synapse Environment
- */
- public SynapseEnvironment getEnvironment();
-
- /**
- * Sets the SynapseEnvironment reference to this context
- * @param se the reference to the Synapse Environment
- */
- public void setEnvironment(SynapseEnvironment se);
-
- /**
- * Return the main sequence from the configuration, or the local message context
- * This method looks up for the sequence named Constants.MAIN_SEQUENCE_KEY from
- * the local message context to make this look up transactional - i.e. a request and
- * response message pair will not see a difference in the main sequence if the main
- * sequence was dynamic and changed in between at the registry
- * @return the main sequence to be used for mediation
- */
- public Mediator getMainSequence();
-
- /**
- * Return the fault sequence from the configuration, or the local message context
- * This method looks up for the sequence named Constants.FAULT_SEQUENCE_KEY from
- * the local message context to make this look up transactional - i.e. a request and
- * response message pair will not see a difference in the fault sequence if the fault
- * sequence was dynamic and changed in between at the registry
- * @return the fault sequence to be used for mediation
- */
- public Mediator getFaultSequence();
-
- /**
- * Return the sequence with the given key from the configuration, or the local message
- * context. This method looks up for the sequence with the given key from the local
- * message context to make this look up transactional - i.e. a request and response
- * message pair will not see a difference in the said sequence if it was dynamic and
- * changed in between at the registry
- * @param key the sequence key to be looked up
- * @return the sequence mediator mapped to the key
- */
- public Mediator getSequence(String key);
-
- /**
- * Return the endpoint with the given key from the configuration, or the local message
- * context. This method looks up for the endpoint with the given key from the local
- * message context to make this look up transactional - i.e. a request and response
- * message pair will not see a difference in the said endpoint if it was dynamic and
- * changed in between at the registry
- * @param key the endpoint key to be looked up
- * @return the endpoint mapped to the key
- */
- public Endpoint getEndpoint(String key);
-
- /**
- * Get the value of a custom (local) property set on the message instance
- * @param key key to look up property
- * @return value for the given key
- */
- public Object getProperty(String key);
-
- /**
- * Get the value of a property set on the message instance, from the local registry
- * or the remote registry - by cascading through
- * @param key key to look up property
- * @return value for the given key
- */
- public Object getEntry(String key);
-
- /**
- * Set a custom (local) property with the given name on the message instance
- * @param key key to be used
- * @param value value to be saved
- */
- public void setProperty(String key, Object value);
-
- /**
- * Returns the Set of keys over the properties on this message context
- * @return a Set of keys over message properties
- */
- public Set getPropertyKeySet();
-
- /**
- * Get the SOAP envelope of this message
- * @return the SOAP envelope of the message
- */
- public SOAPEnvelope getEnvelope();
-
- /**
- * Sets the given envelope as the current SOAPEnvelope for this message
- * @param envelope the envelope to be set
- * @throws org.apache.axis2.AxisFault on exception
- */
- public void setEnvelope(SOAPEnvelope envelope) throws AxisFault;
-
- // --- SOAP Message related methods ------
- /** Get the faultTo EPR if available */
- public EndpointReference getFaultTo();
-
- /** Set the faultTo EPR */
- public void setFaultTo(EndpointReference reference);
-
- /** Get the from EPR if available */
- public EndpointReference getFrom();
-
- /** Set the from EPR */
- public void setFrom(EndpointReference reference);
-
- /** Get the message id if available */
- public String getMessageID();
-
- /** Set the message id */
- public void setMessageID(String string);
-
- /** Get the relatesTo of this message */
- public RelatesTo getRelatesTo();
-
- /**
- * Sets the relatesTo references for this message
- * @param reference the relatesTo references array
- */
- public void setRelatesTo(RelatesTo[] reference);
-
- /** Set the replyTo EPR */
- public EndpointReference getReplyTo();
-
- /** Get the replyTo EPR if available */
- public void setReplyTo(EndpointReference reference);
-
- /** Get the To EPR */
- public EndpointReference getTo();
-
- /**
- * Set the To EPR
- * @param reference the To EPR
- */
- public void setTo(EndpointReference reference);
-
- /**
- * Sets the WSAAction
- * @param actionURI the WSAAction
- */
- public void setWSAAction(String actionURI);
-
- /**
- * Returns the WSAAction
- * @return the WSAAction
- */
- public String getWSAAction();
-
- /**
- * Returns the SOAPAction of the message
- * @return the SOAPAction
- */
- public String getSoapAction();
-
- /**
- * Set the SOAPAction
- * @param string the SOAP Action
- */
- public void setSoapAction(String string);
-
- /**
- * Set the message if
- * @param messageID
- */
- public void setWSAMessageID(String messageID);
-
- /**
- * Gets the message id
- * @return the WSA MessageID
- */
- public String getWSAMessageID();
-
- /**
- * If this message using MTOM?
- * @return true if using MTOM
- */
- public boolean isDoingMTOM();
-
- /**
- * If this message using SWA?
- * @return true if using SWA
- */
- public boolean isDoingSWA();
-
- /**
- * Marks as using MTOM
- * @param b true to mark as using MTOM
- */
- public void setDoingMTOM(boolean b);
-
- /**
- * Marks as using SWA
- * @param b true to mark as using SWA
- */
- public void setDoingSWA(boolean b);
-
- /**
- * Is this message over POX?
- * @return true if over POX
- */
- public boolean isDoingPOX();
-
- /**
- * Marks this message as over REST
- * @param b true to mark as REST
- */
- public void setDoingPOX(boolean b);
-
- /**
- * Is this message a SOAP 1.1 message?
- * @return true if this is a SOAP 1.1 message
- */
- public boolean isSOAP11();
-
- /**
- * Mark this message as a response or not.
- * @see org.apache.synapse.MessageContext#isResponse()
- * @param b true to set this as a response
- */
- public void setResponse(boolean b);
-
- /**
- * Is this message a response to a synchronous message sent out through Synapse?
- * @return true if this message is a response message
- */
- public boolean isResponse();
-
- /**
- * Marks this message as a fault response
- * @see org.apache.synapse.MessageContext#isFaultResponse()
- * @param b true to mark this as a fault response
- */
- public void setFaultResponse(boolean b);
-
- /**
- * Is this message a response to a fault message?
- * @return true if this is a response to a fault message
- */
- public boolean isFaultResponse();
-
- /**
- * This is used to check whether the tracing should be enabled on the current mediator or not
- * @return indicate whether tracing is on, off or unset
- */
- public int getTracingState();
-
- /**
- * This is used to set the value of tracing enable variable
- * @param tracingState Set whether the tracing is enabled or not
- */
- public void setTracingState(int tracingState);
-
- public Stack getFaultStack();
-
- public void pushFaultHandler(FaultHandler fault);
-
-}
+/*
+ * 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;
+
+
+import org.apache.axiom.soap.SOAPEnvelope;
+import org.apache.axis2.AxisFault;
+import org.apache.axis2.addressing.EndpointReference;
+import org.apache.axis2.addressing.RelatesTo;
+import org.apache.synapse.config.SynapseConfiguration;
+import org.apache.synapse.core.SynapseEnvironment;
+import org.apache.synapse.endpoints.Endpoint;
+
+import java.util.Set;
+import java.util.Stack;
+
+
+/**
+ * The Synapse Message Context is available to all mediators through which it flows. It
+ * allows one to call to the underlying SynapseEnvironment (i.e. the SOAP engine
+ * - such as Axis2) where required. It also allows one to access the current
+ * SynapseConfiguration. Additionally it holds per message properties (i.e. local
+ * properties valid for the lifetime of the message), and the current SOAPEnvelope
+ */
+public interface MessageContext {
+
+ /**
+ * Get a reference to the current SynapseConfiguration
+ *
+ * @return the current synapse configuration
+ */
+ public SynapseConfiguration getConfiguration();
+
+ /**
+ * Set or replace the Synapse Configuration instance to be used. May be used to
+ * programatically change the configuration at runtime etc.
+ *
+ * @param cfg The new synapse configuration instance
+ */
+ public void setConfiguration(SynapseConfiguration cfg);
+
+ /**
+ * Returns a reference to the host Synapse Environment
+ * @return the Synapse Environment
+ */
+ public SynapseEnvironment getEnvironment();
+
+ /**
+ * Sets the SynapseEnvironment reference to this context
+ * @param se the reference to the Synapse Environment
+ */
+ public void setEnvironment(SynapseEnvironment se);
+
+ /**
+ * Return the main sequence from the configuration, or the local message context
+ * This method looks up for the sequence named Constants.MAIN_SEQUENCE_KEY from
+ * the local message context to make this look up transactional - i.e. a request and
+ * response message pair will not see a difference in the main sequence if the main
+ * sequence was dynamic and changed in between at the registry
+ * @return the main sequence to be used for mediation
+ */
+ public Mediator getMainSequence();
+
+ /**
+ * Return the fault sequence from the configuration, or the local message context
+ * This method looks up for the sequence named Constants.FAULT_SEQUENCE_KEY from
+ * the local message context to make this look up transactional - i.e. a request and
+ * response message pair will not see a difference in the fault sequence if the fault
+ * sequence was dynamic and changed in between at the registry
+ * @return the fault sequence to be used for mediation
+ */
+ public Mediator getFaultSequence();
+
+ /**
+ * Return the sequence with the given key from the configuration, or the local message
+ * context. This method looks up for the sequence with the given key from the local
+ * message context to make this look up transactional - i.e. a request and response
+ * message pair will not see a difference in the said sequence if it was dynamic and
+ * changed in between at the registry
+ * @param key the sequence key to be looked up
+ * @return the sequence mediator mapped to the key
+ */
+ public Mediator getSequence(String key);
+
+ /**
+ * Return the endpoint with the given key from the configuration, or the local message
+ * context. This method looks up for the endpoint with the given key from the local
+ * message context to make this look up transactional - i.e. a request and response
+ * message pair will not see a difference in the said endpoint if it was dynamic and
+ * changed in between at the registry
+ * @param key the endpoint key to be looked up
+ * @return the endpoint mapped to the key
+ */
+ public Endpoint getEndpoint(String key);
+
+ /**
+ * Get the value of a custom (local) property set on the message instance
+ * @param key key to look up property
+ * @return value for the given key
+ */
+ public Object getProperty(String key);
+
+ /**
+ * Get the value of a property set on the message instance, from the local registry
+ * or the remote registry - by cascading through
+ * @param key key to look up property
+ * @return value for the given key
+ */
+ public Object getEntry(String key);
+
+ /**
+ * Set a custom (local) property with the given name on the message instance
+ * @param key key to be used
+ * @param value value to be saved
+ */
+ public void setProperty(String key, Object value);
+
+ /**
+ * Returns the Set of keys over the properties on this message context
+ * @return a Set of keys over message properties
+ */
+ public Set getPropertyKeySet();
+
+ /**
+ * Get the SOAP envelope of this message
+ * @return the SOAP envelope of the message
+ */
+ public SOAPEnvelope getEnvelope();
+
+ /**
+ * Sets the given envelope as the current SOAPEnvelope for this message
+ * @param envelope the envelope to be set
+ * @throws org.apache.axis2.AxisFault on exception
+ */
+ public void setEnvelope(SOAPEnvelope envelope) throws AxisFault;
+
+ // --- SOAP Message related methods ------
+ /** Get the faultTo EPR if available */
+ public EndpointReference getFaultTo();
+
+ /** Set the faultTo EPR */
+ public void setFaultTo(EndpointReference reference);
+
+ /** Get the from EPR if available */
+ public EndpointReference getFrom();
+
+ /** Set the from EPR */
+ public void setFrom(EndpointReference reference);
+
+ /** Get the message id if available */
+ public String getMessageID();
+
+ /** Set the message id */
+ public void setMessageID(String string);
+
+ /** Get the relatesTo of this message */
+ public RelatesTo getRelatesTo();
+
+ /**
+ * Sets the relatesTo references for this message
+ * @param reference the relatesTo references array
+ */
+ public void setRelatesTo(RelatesTo[] reference);
+
+ /** Set the replyTo EPR */
+ public EndpointReference getReplyTo();
+
+ /** Get the replyTo EPR if available */
+ public void setReplyTo(EndpointReference reference);
+
+ /** Get the To EPR */
+ public EndpointReference getTo();
+
+ /**
+ * Set the To EPR
+ * @param reference the To EPR
+ */
+ public void setTo(EndpointReference reference);
+
+ /**
+ * Sets the WSAAction
+ * @param actionURI the WSAAction
+ */
+ public void setWSAAction(String actionURI);
+
+ /**
+ * Returns the WSAAction
+ * @return the WSAAction
+ */
+ public String getWSAAction();
+
+ /**
+ * Returns the SOAPAction of the message
+ * @return the SOAPAction
+ */
+ public String getSoapAction();
+
+ /**
+ * Set the SOAPAction
+ * @param string the SOAP Action
+ */
+ public void setSoapAction(String string);
+
+ /**
+ * Set the message if
+ * @param messageID
+ */
+ public void setWSAMessageID(String messageID);
+
+ /**
+ * Gets the message id
+ * @return the WSA MessageID
+ */
+ public String getWSAMessageID();
+
+ /**
+ * If this message using MTOM?
+ * @return true if using MTOM
+ */
+ public boolean isDoingMTOM();
+
+ /**
+ * If this message using SWA?
+ * @return true if using SWA
+ */
+ public boolean isDoingSWA();
+
+ /**
+ * Marks as using MTOM
+ * @param b true to mark as using MTOM
+ */
+ public void setDoingMTOM(boolean b);
+
+ /**
+ * Marks as using SWA
+ * @param b true to mark as using SWA
+ */
+ public void setDoingSWA(boolean b);
+
+ /**
+ * Is this message over POX?
+ * @return true if over POX
+ */
+ public boolean isDoingPOX();
+
+ /**
+ * Marks this message as over REST
+ * @param b true to mark as REST
+ */
+ public void setDoingPOX(boolean b);
+
+ /**
+ * Is this message a SOAP 1.1 message?
+ * @return true if this is a SOAP 1.1 message
+ */
+ public boolean isSOAP11();
+
+ /**
+ * Mark this message as a response or not.
+ * @see org.apache.synapse.MessageContext#isResponse()
+ * @param b true to set this as a response
+ */
+ public void setResponse(boolean b);
+
+ /**
+ * Is this message a response to a synchronous message sent out through Synapse?
+ * @return true if this message is a response message
+ */
+ public boolean isResponse();
+
+ /**
+ * Marks this message as a fault response
+ * @see org.apache.synapse.MessageContext#isFaultResponse()
+ * @param b true to mark this as a fault response
+ */
+ public void setFaultResponse(boolean b);
+
+ /**
+ * Is this message a response to a fault message?
+ * @return true if this is a response to a fault message
+ */
+ public boolean isFaultResponse();
+
+ /**
+ * This is used to check whether the tracing should be enabled on the current mediator or not
+ * @return indicate whether tracing is on, off or unset
+ */
+ public int getTracingState();
+
+ /**
+ * This is used to set the value of tracing enable variable
+ * @param tracingState Set whether the tracing is enabled or not
+ */
+ public void setTracingState(int tracingState);
+
+ public Stack getFaultStack();
+
+ public void pushFaultHandler(FaultHandler fault);
+
+}
Propchange: webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/MessageContext.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/SynapseException.java
URL: http://svn.apache.org/viewvc/webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/SynapseException.java?view=diff&rev=519363&r1=519362&r2=519363
==============================================================================
--- webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/SynapseException.java (original)
+++ webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/SynapseException.java Sat Mar 17 09:18:32 2007
@@ -1,41 +1,41 @@
-/*
- * 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;
-
-/**
- * <p>Runtime exception for Synapse code to throw
- */
-public class SynapseException extends RuntimeException {
-
- private static final long serialVersionUID = -7244032125641596311L;
-
- public SynapseException(String string) {
- super(string);
- }
-
- public SynapseException(String msg, Throwable e) {
- super(msg, e);
- }
-
- public SynapseException(Throwable t) {
- super(t);
- }
-
-}
+/*
+ * 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;
+
+/**
+ * <p>Runtime exception for Synapse code to throw
+ */
+public class SynapseException extends RuntimeException {
+
+ private static final long serialVersionUID = -7244032125641596311L;
+
+ public SynapseException(String string) {
+ super(string);
+ }
+
+ public SynapseException(String msg, Throwable e) {
+ super(msg, e);
+ }
+
+ public SynapseException(Throwable t) {
+ super(t);
+ }
+
+}
Propchange: webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/SynapseException.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/SynapseServer.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/Entry.java
------------------------------------------------------------------------------
svn:eol-style = native
---------------------------------------------------------------------
To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org