You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by ch...@apache.org on 2005/02/15 07:23:25 UTC
svn commit: r153902 [1/8] - in
webservices/axis/trunk/java/dev/scratch/prototype2/src:
java/org/apache/axis/addressing/ java/org/apache/axis/addressing/miheaders/
java/org/apache/axis/addressing/om/ java/org/apache/axis/clientapi/
java/org/apache/axis/context/ java/org/apache/axis/deployment/
java/org/apache/axis/deployment/listener/
java/org/apache/axis/deployment/repository/utill/
java/org/apache/axis/description/ java/org/apache/axis/engine/
java/org/apache/axis/handlers/ java/org/apache/axis/om/
java/org/apache/axis/om/impl/llom/ java/org/apache/axis/om/impl/llom/builder/
java/org/apache/axis/om/impl/llom/factory/
java/org/apache/axis/om/impl/llom/serialize/
java/org/apache/axis/om/impl/llom/traverse/
java/org/apache/axis/phaseresolver/ java/org/apache/axis/providers/
java/org/apache/axis/receivers/ java/org/apache/axis/transport/
java/org/apache/axis/transport/http/ java/org/apache/axis/wsdl/wsdltowom/
java/org/apache/wsdl/ java/org/apache/wsdl/impl/ java/org/apache/wsdl/util/
test/org/apache/axis/ test/org/apache/axis/addressing/
test/org/apache/axis/addressing/miheaders/ test/org/apache/axis/clientapi/
test/org/apache/axis/deployment/ test/org/apache/axis/description/
test/org/apache/axis/encoding/ test/org/apache/axis/engine/
test/org/apache/axis/integration/ test/org/apache/axis/misc/
test/org/apache/axis/om/ test/org/apache/axis/om/builder/
test/org/apache/axis/om/builder/dummy/ test/org/apache/axis/om/factory/
test/org/apache/axis/om/impl/builder/
test/org/apache/axis/om/impl/seriliazer/
test/org/apache/axis/om/impl/streamwrapper/
test/org/apache/axis/om/impl/traverse/ test/org/apache/axis/testUtils/
test/org/apache/axis/transport/ test/org/apache/wsdl/
Author: chinthaka
Date: Mon Feb 14 22:22:34 2005
New Revision: 153902
URL: http://svn.apache.org/viewcvs?view=rev&rev=153902
Log:
Optimized Imports, Reformat the whole code base
Modified:
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/addressing/AddressingConstants.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/addressing/AnyContentType.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/addressing/EndpointReference.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/addressing/ServiceName.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/addressing/miheaders/RelatesTo.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/addressing/om/AddressingHeaders.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/clientapi/AsyncResult.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/clientapi/Call.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/clientapi/Callback.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/clientapi/Correlator.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/clientapi/Invoker.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/context/MessageContext.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/deployment/DeploymentConstants.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/deployment/DeploymentEngine.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/deployment/DeploymentException.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/deployment/DeploymentParser.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/deployment/listener/RepositoryListenerImpl.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/deployment/repository/utill/UnZipJAR.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/deployment/repository/utill/WSInfoList.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/deployment/server.xml
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/AxisGlobal.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/AxisModule.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/AxisOperation.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/AxisService.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/AxisTransport.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/DescriptionConstants.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/Flow.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/FlowImpl.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/FlowInclude.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/FlowIncludeImpl.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/HandlerMetaData.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/Parameter.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/ParameterImpl.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/ParameterInclude.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/ParameterIncludeImpl.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/PhasesInclude.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/PhasesIncludeImpl.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/SimpleAxisOperationImpl.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/engine/AxisEngine.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/engine/Dispatcher.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/engine/EngineRegistry.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/engine/EngineRegistryFactory.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/engine/EngineRegistryImpl.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/engine/ExecutionChain.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/engine/Handler.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/engine/Phase.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/engine/Provider.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/handlers/AbstractHandler.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/handlers/OpNameFinder.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/FactoryFinder.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/OMAttribute.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/OMConstants.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/OMElement.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/OMFactory.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/OMFactoryException.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/OMNamedNode.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/OMNamespace.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/OMNode.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/OMSerializer.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/OMUtils.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/OMXMLParserWrapper.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/SOAPFault.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/impl/llom/OMAttributeImpl.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/impl/llom/OMElementImpl.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/impl/llom/OMNamedNodeImpl.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/impl/llom/OMNavigator.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/impl/llom/OMNodeImpl.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/impl/llom/OMStAXWrapper.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/impl/llom/OMTextImpl.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/impl/llom/SOAPBodyImpl.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/impl/llom/SOAPEnvelopeImpl.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/impl/llom/SOAPFaultImpl.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/impl/llom/SOAPHeaderBlockImpl.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/impl/llom/SOAPHeaderImpl.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/impl/llom/builder/StAXBuilder.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/impl/llom/builder/StAXOMBuilder.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/impl/llom/builder/StAXSOAPModelBuilder.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/impl/llom/factory/OMLinkedListImplFactory.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/impl/llom/factory/OMXMLBuilderFactory.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/impl/llom/serialize/StreamWriterToContentHandlerConverter.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/impl/llom/serialize/StreamingOMSerializer.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/impl/llom/traverse/OMChildrenIterator.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/impl/llom/traverse/OMChildrenQNameIterator.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/impl/llom/traverse/OMChildrenWithSpecificAttributeIterator.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/phaseresolver/PhaseHolder.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/phaseresolver/PhaseMetaData.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/phaseresolver/PhaseResolver.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/providers/AbstractProvider.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/providers/RawXMLProvider.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/receivers/InOutSyncReceiver.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/transport/AbstractTransportSender.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/transport/TransportReciver.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/transport/TransportReciverLocator.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/transport/TransportSenderLocator.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/transport/http/AxisServlet.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/transport/http/HTTPConstants.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/transport/http/HTTPTransportReciver.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/transport/http/HTTPTransportSender.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/transport/http/SimpleHTTPServer.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/wsdl/wsdltowom/WOMBuilder.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/wsdl/wsdltowom/WOMBuilderFactory.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/wsdl/wsdltowom/WSDL1ToWOMBuilder.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/wsdl/wsdltowom/WSDL2ToWOMBuilder.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/wsdl/wsdltowom/WSDL4JtoWOMPump.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/wsdl/wsdltowom/WSDLPump.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/Component.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/ExtensibleComponent.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/ExtensionElement.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/FaultReference.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/MessageReference.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLBinding.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLBindingFault.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLBindingMessageReference.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLBindingOperation.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLConstants.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLDescription.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLEndpoint.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLFault.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLFeature.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLImport.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLInclude.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLInterface.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLOperation.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLProperty.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLService.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLTypes.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/ComponentImpl.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/ExtensibleComponentImpl.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/ExtensionElementImpl.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/FaultReferenceImpl.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/MessageReferenceImpl.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WDSLPropertyImpl.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WSDLBindingFaultImpl.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WSDLBindingImpl.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WSDLBindingMessageReferenceImpl.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WSDLBindingOperationImpl.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WSDLDescriptionImpl.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WSDLEndpointImpl.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WSDLFaultImpl.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WSDLFeatureImpl.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WSDLImportImpl.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WSDLIncludeImpl.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WSDLInterfaceImpl.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WSDLOperationImpl.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WSDLProcessingException.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WSDLPropertyImpl.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WSDLServiceImpl.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WSDLTypesImpl.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/util/Style.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/util/Utils.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/AbstractTestCase.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/addressing/AnyContentTypeTest.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/addressing/EndpointReferenceTypeTest.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/addressing/miheaders/RelatesToTest.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/clientapi/TestSendReceive.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/clientapi/TestSendReceiveAsync.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/deployment/BadModuleTest.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/deployment/BadServerXMLTest.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/deployment/BadServiceXMLTest.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/deployment/BuildERWithDeploymentTest.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/deployment/DeploymentotalTest.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/deployment/TransportDeploymentTest.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/description/MockFlow.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/description/RegistryTest.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/description/SpeakingHandler.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/description/SpeakingHandler1.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/description/SpeakingProvider.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/encoding/EncodingTest.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/engine/CallUnregisterdServiceTest.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/engine/Echo.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/engine/EchoRawXMLTest.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/engine/EchoTest.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/engine/EngineTest.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/engine/EngineUtils.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/engine/HandlerFaliureTest.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/engine/MessageContextTest.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/engine/MessageWithServerTest.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/engine/SimpleAxisServerTest.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/integration/EchoTest.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/integration/UtilServer.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/misc/MiscTest.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/om/BadInputTest.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/om/CompareOMWithDOMTest.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/om/IteratorTester.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/om/MessagesTest.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/om/OMBodyTest.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/om/OMChildrenQNameIteratorTest.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/om/OMEnvelopeTest.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/om/OMHeaderBlockTest.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/om/OMHeaderTest.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/om/OMNavigatorTest.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/om/OMTest.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/om/OMTestCase.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/om/OMTestUtils.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/om/SOAPFaultTest.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/om/builder/ObjectToOMBuilderTest.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/om/builder/dummy/DummyOutObject.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/om/factory/OMLinkedListImplFactoryTest.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/om/impl/builder/StAXOMBuilderTest.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/om/impl/seriliazer/ElementSerializerTest.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/om/impl/seriliazer/OMSerailizerTest.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/om/impl/streamwrapper/OMStaxStreamingWrapperTest.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/om/impl/streamwrapper/OmStAXBuilderTest.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/om/impl/traverse/OMChildrenWithSpecificAttributeIteratorTest.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/testUtils/ArrayTypeEncoder.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/testUtils/Encoder.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/testUtils/ObjectToOMBuilder.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/testUtils/SimpleJavaProvider.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/testUtils/SimpleTypeEncoder.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/testUtils/SimpleTypeEncodingUtils.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/transport/HTTPTrasportHeaderParsingTest.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/wsdl/InterfaceTest.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/wsdl/WOMBuilderTest.java
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/addressing/AddressingConstants.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/addressing/AddressingConstants.java?view=diff&r1=153901&r2=153902
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/addressing/AddressingConstants.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/addressing/AddressingConstants.java Mon Feb 14 22:22:34 2005
@@ -14,7 +14,7 @@
* 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.
- *
+ * <p/>
* This will hold all the constants related WS-Addressing
*/
public interface AddressingConstants {
@@ -26,6 +26,6 @@
public static final String WSA_FROM = "From";
public static final String WSA_REPLY_TO = "ReplyTo";
public static final String WSA_FAULT_TO = "FaultTo";
-
+
}
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/addressing/AnyContentType.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/addressing/AnyContentType.java?view=diff&r1=153901&r2=153902
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/addressing/AnyContentType.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/addressing/AnyContentType.java Mon Feb 14 22:22:34 2005
@@ -31,11 +31,11 @@
valueHolder = new HashMap(5);
}
- public void addReferenceValue(QName name, String value){
+ public void addReferenceValue(QName name, String value) {
valueHolder.put(name, value);
}
- public String getReferenceValue(QName name){
+ public String getReferenceValue(QName name) {
return (String) valueHolder.get(name);
}
}
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/addressing/EndpointReference.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/addressing/EndpointReference.java?view=diff&r1=153901&r2=153902
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/addressing/EndpointReference.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/addressing/EndpointReference.java Mon Feb 14 22:22:34 2005
@@ -35,13 +35,10 @@
private ServiceName serviceName;
/**
- *
- * @param messageInformationHeaderType
- * this can be one of the followings
- * AddressingConstants.WSA_FROM
- * AddressingConstants.WSA_REPLY_TO
- * AddressingConstants.WSA_FAULT_TO
- *
+ * @param messageInformationHeaderType this can be one of the followings
+ * AddressingConstants.WSA_FROM
+ * AddressingConstants.WSA_REPLY_TO
+ * AddressingConstants.WSA_FAULT_TO
* @param address
*/
public EndpointReference(String messageInformationHeaderType, String address) {
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/addressing/ServiceName.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/addressing/ServiceName.java?view=diff&r1=153901&r2=153902
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/addressing/ServiceName.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/addressing/ServiceName.java Mon Feb 14 22:22:34 2005
@@ -23,15 +23,13 @@
private String portName;
/**
- *
* @param name
*/
public ServiceName(QName name) {
- this.name = name;
+ this.name = name;
}
/**
- *
* @param name
* @param portName
*/
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/addressing/miheaders/RelatesTo.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/addressing/miheaders/RelatesTo.java?view=diff&r1=153901&r2=153902
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/addressing/miheaders/RelatesTo.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/addressing/miheaders/RelatesTo.java Mon Feb 14 22:22:34 2005
@@ -14,7 +14,7 @@
* 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.
- *
+ * <p/>
* This will map to the was:relatsTo
*/
public class RelatesTo {
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/addressing/om/AddressingHeaders.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/addressing/om/AddressingHeaders.java?view=diff&r1=153901&r2=153902
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/addressing/om/AddressingHeaders.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/addressing/om/AddressingHeaders.java Mon Feb 14 22:22:34 2005
@@ -31,6 +31,7 @@
/**
* Addressing Header MUST have a to and an action
+ *
* @param wsaTo
* @param action
*/
@@ -39,8 +40,8 @@
this.action = action;
}
- public void toOM(SOAPHeader soapHeader){
-
+ public void toOM(SOAPHeader soapHeader) {
+
}
// ------------------- Setters and Getters --------------------------------------
@@ -102,7 +103,6 @@
// --------------------------------------------------------------------------------------------
-
}
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/clientapi/AsyncResult.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/clientapi/AsyncResult.java?view=diff&r1=153901&r2=153902
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/clientapi/AsyncResult.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/clientapi/AsyncResult.java Mon Feb 14 22:22:34 2005
@@ -28,7 +28,7 @@
this.result = result;
}
- public SOAPEnvelope getResponseEnvelope(){
+ public SOAPEnvelope getResponseEnvelope() {
return result;
}
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/clientapi/Call.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/clientapi/Call.java?view=diff&r1=153901&r2=153902
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/clientapi/Call.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/clientapi/Call.java Mon Feb 14 22:22:34 2005
@@ -1,10 +1,5 @@
package org.apache.axis.clientapi;
-import java.io.IOException;
-import java.io.OutputStream;
-import java.net.URL;
-import java.net.URLConnection;
-
import org.apache.axis.addressing.EndpointReference;
import org.apache.axis.context.MessageContext;
import org.apache.axis.description.AxisGlobal;
@@ -20,6 +15,11 @@
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
+import java.io.IOException;
+import java.io.OutputStream;
+import java.net.URL;
+import java.net.URLConnection;
+
/**
* Copyright 2001-2004 The Apache Software Foundation.
* <p/>
@@ -34,11 +34,11 @@
* 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.
- *
- * Dec 16, 2004
- * 12:28:00 PM
+ * <p/>
+ * Dec 16, 2004
+ * 12:28:00 PM
*/
-public class Call {
+public class Call {
private EngineRegistry registry;
protected Log log = LogFactory.getLog(getClass());
private EndpointReference targetEPR;
@@ -59,14 +59,17 @@
/**
* todo
* inoder to have asyn support for tansport , it shoud call this method
+ *
* @param transport
*/
public void setListenerTransport(String transport, boolean blocked) {
this.blocked = blocked;
this.transport = transport;
}
+
/**
* todo
+ *
* @param action
*/
public void setAction(String action) {
@@ -76,6 +79,7 @@
/**
* Fire and forget MEP
* todo
+ *
* @param envelope
*/
public void sendAsync(SOAPEnvelope envelope) throws AxisFault {
@@ -88,14 +92,13 @@
final AxisEngine engine = new AxisEngine(registry);
urlConnect.setDoOutput(true);
- MessageContext msgctx = new MessageContext(registry,null);
+ MessageContext msgctx = new MessageContext(registry, null);
msgctx.setEnvelope(envelope);
out = urlConnect.getOutputStream();
msgctx.setProperty(MessageContext.TRANSPORT_WRITER, out);
- msgctx.setProperty(
- MessageContext.TRANSPORT_TYPE,
- TransportSenderLocator.TRANSPORT_HTTP);
+ msgctx.setProperty(MessageContext.TRANSPORT_TYPE,
+ TransportSenderLocator.TRANSPORT_HTTP);
msgctx.setTo(targetEPR);
engine.send(msgctx);
@@ -110,28 +113,27 @@
}
}
}
+
public void send(SOAPEnvelope envelope) throws AxisFault {
try {
final AxisEngine engine = new AxisEngine(registry);
- MessageContext msgctx = new MessageContext(registry,null);
+ MessageContext msgctx = new MessageContext(registry, null);
msgctx.setEnvelope(envelope);
- msgctx.setProperty(
- MessageContext.TRANSPORT_TYPE,
- TransportSenderLocator.TRANSPORT_HTTP);
+ msgctx.setProperty(MessageContext.TRANSPORT_TYPE,
+ TransportSenderLocator.TRANSPORT_HTTP);
msgctx.setTo(targetEPR);
engine.send(msgctx);
//todo dose the 202 response come throgh the same connection
//This is purely HTTP specific.
//Handle the HTTP 202 respose
- MessageContext response = new MessageContext(registry,msgctx.getProperties());
+ MessageContext response = new MessageContext(registry, msgctx.getProperties());
response.setServerSide(false);
- response.setProperty(
- MessageContext.TRANSPORT_TYPE,
- TransportSenderLocator.TRANSPORT_HTTP);
+ response.setProperty(MessageContext.TRANSPORT_TYPE,
+ TransportSenderLocator.TRANSPORT_HTTP);
TransportReciver reciver = TransportReciverLocator.locate(response);
reciver.invoke(response);
} catch (IOException e) {
@@ -144,22 +146,20 @@
try {
AxisEngine engine = new AxisEngine(registry);
- MessageContext msgctx = new MessageContext(registry,null);
+ MessageContext msgctx = new MessageContext(registry, null);
msgctx.setEnvelope(envelope);
- msgctx.setProperty(
- MessageContext.TRANSPORT_TYPE,
- TransportSenderLocator.TRANSPORT_HTTP);
+ msgctx.setProperty(MessageContext.TRANSPORT_TYPE,
+ TransportSenderLocator.TRANSPORT_HTTP);
msgctx.setTo(targetEPR);
engine.send(msgctx);
- MessageContext response = new MessageContext(registry,msgctx.getProperties());
+ MessageContext response = new MessageContext(registry, msgctx.getProperties());
response.setServerSide(false);
- response.setProperty(
- MessageContext.TRANSPORT_TYPE,
- TransportSenderLocator.TRANSPORT_HTTP);
+ response.setProperty(MessageContext.TRANSPORT_TYPE,
+ TransportSenderLocator.TRANSPORT_HTTP);
TransportReciver reciver = TransportReciverLocator.locate(response);
reciver.invoke(response);
SOAPEnvelope resenvelope = response.getEnvelope();
@@ -173,30 +173,27 @@
}
/**
- *
* @param envelope
* @param callback
*/
- public void sendReceiveAsync(
- SOAPEnvelope envelope,
- final Callback callback)
- throws AxisFault {
+ public void sendReceiveAsync(SOAPEnvelope envelope,
+ final Callback callback)
+ throws AxisFault {
try {
// URL url =new URL(targetEPR.getAddress());
AxisEngine engine = new AxisEngine(registry);
- final MessageContext msgctx = new MessageContext(registry,null);
+ final MessageContext msgctx = new MessageContext(registry, null);
msgctx.setEnvelope(envelope);
- msgctx.setProperty(
- MessageContext.TRANSPORT_TYPE,
- TransportSenderLocator.TRANSPORT_HTTP);
+ msgctx.setProperty(MessageContext.TRANSPORT_TYPE,
+ TransportSenderLocator.TRANSPORT_HTTP);
msgctx.setTo(targetEPR);
// only the transport blocked , client dose not hang
if (blocked) {
//TODO This shoudld be taken from a pool of inovkers.
Invoker invoker =
- new Invoker(msgctx, engine, registry, callback);
+ new Invoker(msgctx, engine, registry, callback);
Thread th = new Thread(invoker);
th.start();
} else {
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/clientapi/Callback.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/clientapi/Callback.java?view=diff&r1=153901&r2=153902
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/clientapi/Callback.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/clientapi/Callback.java Mon Feb 14 22:22:34 2005
@@ -21,5 +21,6 @@
*/
public interface Callback {
void onComplete(AsyncResult result);
+
void reportError(Exception e);
}
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/clientapi/Correlator.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/clientapi/Correlator.java?view=diff&r1=153901&r2=153902
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/clientapi/Correlator.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/clientapi/Correlator.java Mon Feb 14 22:22:34 2005
@@ -11,7 +11,6 @@
* 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.
- *
*/
public class Correlator {
private static Correlator instance;
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/clientapi/Invoker.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/clientapi/Invoker.java?view=diff&r1=153901&r2=153902
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/clientapi/Invoker.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/clientapi/Invoker.java Mon Feb 14 22:22:34 2005
@@ -27,11 +27,10 @@
private Callback callback;
- public Invoker(
- MessageContext msgContext,
- AxisEngine engine,
- EngineRegistry reg,
- Callback callback) {
+ public Invoker(MessageContext msgContext,
+ AxisEngine engine,
+ EngineRegistry reg,
+ Callback callback) {
this.engine = engine;
this.reqMsgContext = msgContext;
this.callback = callback;
@@ -47,25 +46,23 @@
reqMsgContext.setMessageID(messageID);
engine.send(reqMsgContext);
- correlator.addCorrelationInfo(
- reqMsgContext.getMessageID(),
- callback);
+ correlator.addCorrelationInfo(reqMsgContext.getMessageID(),
+ callback);
- MessageContext resMsgContext = new MessageContext(registry,reqMsgContext.getProperties());
+ MessageContext resMsgContext = new MessageContext(registry, reqMsgContext.getProperties());
resMsgContext.setServerSide(false);
- resMsgContext.setProperty(
- MessageContext.TRANSPORT_TYPE,
- TransportSenderLocator.TRANSPORT_HTTP);
+ resMsgContext.setProperty(MessageContext.TRANSPORT_TYPE,
+ TransportSenderLocator.TRANSPORT_HTTP);
TransportReciver reciver =
- TransportReciverLocator.locate(resMsgContext);
+ TransportReciverLocator.locate(resMsgContext);
reciver.invoke(resMsgContext);
AsyncResult result = new AsyncResult();
result.setResult(resMsgContext.getEnvelope());
resMsgContext.setMessageID(messageID);
callback =
- correlator.getCorrelationInfo(resMsgContext.getMessageID());
+ correlator.getCorrelationInfo(resMsgContext.getMessageID());
callback.onComplete(result);
} catch (Exception e) {
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/context/MessageContext.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/context/MessageContext.java?view=diff&r1=153901&r2=153902
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/context/MessageContext.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/context/MessageContext.java Mon Feb 14 22:22:34 2005
@@ -28,11 +28,10 @@
import org.apache.axis.om.OMElement;
import org.apache.axis.om.SOAPEnvelope;
+import javax.xml.stream.XMLStreamReader;
import java.util.HashMap;
import java.util.Map;
-import javax.xml.stream.XMLStreamReader;
-
/**
* The palce where all the service specific states are kept.
* All the Global states kept in the <code>EngineRegistry</code> and all the
@@ -58,7 +57,7 @@
private RelatesTo relatesTo;
private EndpointReference replyTo;
private EndpointReference faultTo;
-
+
private ExecutionChain chain;
private AxisTransport transport;
@@ -82,7 +81,7 @@
public MessageContext(EngineRegistry er, Map initialProperties) throws AxisFault {
this.globalContext = new GlobalContext(er);
this.sessionContext = new SimpleSessionContext();
- if(initialProperties == null){
+ if (initialProperties == null) {
initialProperties = new HashMap();
}
properties = initialProperties;
@@ -233,7 +232,6 @@
}
/**
- *
* @param key
* @param value
*/
@@ -340,9 +338,9 @@
public void setMessageStyle(int i) {
messageStyle = i;
}
-
- public ExecutionChain getExecutionChain() {
+
+ public ExecutionChain getExecutionChain() {
return this.chain;
}
@@ -368,33 +366,33 @@
this.transport = transport;
}
- /**
- * @return
- */
- public XMLStreamReader getXpp() {
- return xpp;
- }
-
- /**
- * @param reader
- */
- public void setXpp(XMLStreamReader reader) {
- xpp = reader;
- }
-
- /**
- * @return
- */
- public OMElement getSoapOperationElement() {
- return soapOperationElement;
- }
-
- /**
- * @param element
- */
- public void setSoapOperationElement(OMElement element) {
- soapOperationElement = element;
- }
+ /**
+ * @return
+ */
+ public XMLStreamReader getXpp() {
+ return xpp;
+ }
+
+ /**
+ * @param reader
+ */
+ public void setXpp(XMLStreamReader reader) {
+ xpp = reader;
+ }
+
+ /**
+ * @return
+ */
+ public OMElement getSoapOperationElement() {
+ return soapOperationElement;
+ }
+
+ /**
+ * @param element
+ */
+ public void setSoapOperationElement(OMElement element) {
+ soapOperationElement = element;
+ }
/**
* @return
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/deployment/DeploymentConstants.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/deployment/DeploymentConstants.java?view=diff&r1=153901&r2=153902
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/deployment/DeploymentConstants.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/deployment/DeploymentConstants.java Mon Feb 14 22:22:34 2005
@@ -56,7 +56,7 @@
String ATTNAME = "name";
String ATTLOCKED = "locked";
- // for operatiins
+ // for operatiins
String ATQNAME = "name";
String ATUSE = "use";
@@ -74,6 +74,6 @@
String JAVAIMPL = "implementation";
String TRANSPORTSTAG = "transports";
- String TRANSPORTTAG ="transport";
+ String TRANSPORTTAG = "transport";
}
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/deployment/DeploymentEngine.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/deployment/DeploymentEngine.java?view=diff&r1=153901&r2=153902
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/deployment/DeploymentEngine.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/deployment/DeploymentEngine.java Mon Feb 14 22:22:34 2005
@@ -1,42 +1,28 @@
package org.apache.axis.deployment;
-import java.io.File;
-import java.io.FileInputStream;
-import java.io.FileNotFoundException;
-import java.io.FileOutputStream;
-import java.io.IOException;
-import java.io.InputStream;
-import java.net.MalformedURLException;
-import java.net.URL;
-import java.net.URLClassLoader;
-import java.util.ArrayList;
-import java.util.Iterator;
-import java.util.List;
-
-import javax.xml.namespace.QName;
-import javax.xml.stream.XMLStreamException;
-
import org.apache.axis.deployment.repository.utill.HDFileItem;
import org.apache.axis.deployment.repository.utill.UnZipJAR;
import org.apache.axis.deployment.repository.utill.WSInfo;
import org.apache.axis.deployment.scheduler.DeploymentIterator;
import org.apache.axis.deployment.scheduler.Scheduler;
import org.apache.axis.deployment.scheduler.SchedulerTask;
-import org.apache.axis.description.AxisGlobal;
-import org.apache.axis.description.AxisModule;
-import org.apache.axis.description.AxisService;
-import org.apache.axis.description.Flow;
-import org.apache.axis.description.HandlerMetaData;
-import org.apache.axis.engine.AxisFault;
-import org.apache.axis.engine.EngineRegistry;
-import org.apache.axis.engine.EngineRegistryImpl;
-import org.apache.axis.engine.Handler;
-import org.apache.axis.engine.Provider;
+import org.apache.axis.description.*;
+import org.apache.axis.engine.*;
import org.apache.axis.phaseresolver.PhaseException;
import org.apache.axis.phaseresolver.PhaseResolver;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
+import javax.xml.namespace.QName;
+import javax.xml.stream.XMLStreamException;
+import java.io.*;
+import java.net.MalformedURLException;
+import java.net.URL;
+import java.net.URLClassLoader;
+import java.util.ArrayList;
+import java.util.Iterator;
+import java.util.List;
+
/**
* Copyright 2001-2004 The Apache Software Foundation.
@@ -98,32 +84,33 @@
*/
public DeploymentEngine(String RepositaryName) throws DeploymentException {
- this(RepositaryName,"server.xml");
-
+ this(RepositaryName, "server.xml");
+
}
+
public DeploymentEngine(String RepositaryName, String serverXMLFile) throws DeploymentException {
this.folderName = RepositaryName;
File repository = new File(RepositaryName);
- if(!repository.exists()){
+ if (!repository.exists()) {
repository.mkdirs();
- File servcies = new File(repository,"services");
- File modules = new File(repository,"modules");
+ File servcies = new File(repository, "services");
+ File modules = new File(repository, "modules");
modules.mkdirs();
servcies.mkdirs();
}
- File serverConf = new File(repository,serverXMLFile);
- if(!serverConf.exists()){
+ File serverConf = new File(repository, serverXMLFile);
+ if (!serverConf.exists()) {
ClassLoader cl = Thread.currentThread().getContextClassLoader();
InputStream in = cl.getResourceAsStream("org/apache/axis/deployment/server.xml");
- if(in != null){
+ if (in != null) {
try {
serverConf.createNewFile();
FileOutputStream out = new FileOutputStream(serverConf);
int BUFSIZE = 512; // since only a test file going to load , the size has selected
byte[] buf = new byte[BUFSIZE];
int read;
- while((read = in.read(buf)) > 0){
- out.write(buf,0,read);
+ while ((read = in.read(buf)) > 0) {
+ out.write(buf, 0, read);
}
in.close();
out.close();
@@ -132,12 +119,12 @@
}
- } else{
+ } else {
throw new DeploymentException("can not found org/apache/axis/deployment/server.xml");
}
}
- this.serverconfigName = RepositaryName + '/' + serverXMLFile;
+ this.serverconfigName = RepositaryName + '/' + serverXMLFile;
}
// public DeploymentEngine(String RepositaryName , String configFileName) {
@@ -152,6 +139,7 @@
/**
* tio get ER
+ *
* @return
*/
public EngineRegistry getEngineRegistry() {
@@ -167,7 +155,7 @@
*/
public EngineRegistry start() throws AxisFault, PhaseException, DeploymentException, XMLStreamException {
//String fileName;
- if(serverconfigName == null) {
+ if (serverconfigName == null) {
throw new DeploymentException("path to Server.xml can not be NUll");
}
File tempfile = new File(serverconfigName);
@@ -177,11 +165,11 @@
DeploymentParser parser = new DeploymentParser(in, this);
parser.procesServerXML(server);
} catch (FileNotFoundException e) {
- throw new AxisFault("Exception at deployment",e);
+ throw new AxisFault("Exception at deployment", e);
}
startSearch(this);
- valideServerModule() ;
+ valideServerModule();
return engineRegistry;
}
@@ -189,11 +177,11 @@
* This methode used to check the modules referd by server.xml
* are exist , or they have deployed
*/
- private void valideServerModule() throws AxisFault, PhaseException{
- Iterator itr= server.getModules().iterator();
+ private void valideServerModule() throws AxisFault, PhaseException {
+ Iterator itr = server.getModules().iterator();
while (itr.hasNext()) {
QName qName = (QName) itr.next();
- if(getModule(qName) == null ){
+ if (getModule(qName) == null) {
throw new AxisFault(server + " Refer to invalid module " + qName + " has not bean deployed yet !");
}
}
@@ -216,7 +204,7 @@
scheduler.schedule(new SchedulerTask(engine, folderName), new DeploymentIterator());
}
- private EngineRegistry createEngineRegistry() {
+ private EngineRegistry createEngineRegistry() {
EngineRegistry newEngineRegisty;
server = new AxisGlobal();
@@ -230,28 +218,28 @@
ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
- loadServiceClass(serviceMetaData,classLoader);
+ loadServiceClass(serviceMetaData, classLoader);
Flow inflow = serviceMetaData.getInFlow();
- if(inflow != null ){
- addFlowHandlers(inflow,classLoader);
+ if (inflow != null) {
+ addFlowHandlers(inflow, classLoader);
}
Flow outFlow = serviceMetaData.getOutFlow();
- if(outFlow != null){
- addFlowHandlers(outFlow,classLoader);
+ if (outFlow != null) {
+ addFlowHandlers(outFlow, classLoader);
}
Flow faultFlow = serviceMetaData.getFaultFlow();
- if(faultFlow != null) {
- addFlowHandlers(faultFlow,classLoader);
+ if (faultFlow != null) {
+ addFlowHandlers(faultFlow, classLoader);
}
- PhaseResolver reolve = new PhaseResolver(engineRegistry,serviceMetaData);
+ PhaseResolver reolve = new PhaseResolver(engineRegistry, serviceMetaData);
reolve.buildchains();
engineRegistry.addService(serviceMetaData);
}
- private void loadServiceClass(AxisService service, ClassLoader parent) throws AxisFault{
+ private void loadServiceClass(AxisService service, ClassLoader parent) throws AxisFault {
File file = currentFileItem.getFile();
Class serviceclass = null;
URLClassLoader loader1 = null;
@@ -264,23 +252,23 @@
urlsToLoadFrom = new URL[]{file.toURL()};
loader1 = new URLClassLoader(urlsToLoadFrom, parent);
service.setClassLoader(loader1);
-
+
String readInClass = currentFileItem.getClassName();
-
- if(readInClass != null && !"".equals(readInClass)){
+
+ if (readInClass != null && !"".equals(readInClass)) {
serviceclass = Class.forName(currentFileItem.getClassName(), true, loader1);
}
- service.setServiceClass(serviceclass);
-
+ service.setServiceClass(serviceclass);
+
String readInProviderName = currentFileItem.getProvideName();
- if(readInProviderName != null && ! "".equals(readInProviderName)){
- Class provider =Class.forName(currentFileItem.getProvideName(), true, loader1);
- service.setProvider((Provider)provider.newInstance());
+ if (readInProviderName != null && !"".equals(readInProviderName)) {
+ Class provider = Class.forName(currentFileItem.getProvideName(), true, loader1);
+ service.setProvider((Provider) provider.newInstance());
}
} catch (MalformedURLException e) {
- throw new AxisFault(e.getMessage(),e);
+ throw new AxisFault(e.getMessage(), e);
} catch (Exception e) {
- throw new AxisFault(e.getMessage(),e);
+ throw new AxisFault(e.getMessage(), e);
}
}
@@ -343,13 +331,13 @@
ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
Flow inflow = moduelmetada.getInFlow();
- addFlowHandlers(inflow,classLoader);
+ addFlowHandlers(inflow, classLoader);
Flow outFlow = moduelmetada.getOutFlow();
- addFlowHandlers(outFlow,classLoader);
+ addFlowHandlers(outFlow, classLoader);
Flow faultFlow = moduelmetada.getFaultFlow();
- addFlowHandlers(faultFlow,classLoader);
+ addFlowHandlers(faultFlow, classLoader);
engineRegistry.addMdoule(moduelmetada);
}
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/deployment/DeploymentException.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/deployment/DeploymentException.java?view=diff&r1=153901&r2=153902
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/deployment/DeploymentException.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/deployment/DeploymentException.java Mon Feb 14 22:22:34 2005
@@ -14,7 +14,6 @@
* 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.
- *
*/
public class DeploymentException extends Exception {
public DeploymentException(Throwable cause) {
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/deployment/DeploymentParser.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/deployment/DeploymentParser.java?view=diff&r1=153901&r2=153902
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/deployment/DeploymentParser.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/deployment/DeploymentParser.java Mon Feb 14 22:22:34 2005
@@ -126,7 +126,7 @@
} else if (TRANSPORTSTAG.equals(ST)) {
ArrayList trasports = processTransport();
for (int i = 0; i < trasports.size(); i++) {
- dpengine.getEngineRegistry().addTransport((AxisTransport)trasports.get(i));
+ dpengine.getEngineRegistry().addTransport((AxisTransport) trasports.get(i));
}
} else if (TYPEMAPPINGST.equals(ST)) {
@@ -143,10 +143,10 @@
}
}
} else if (PHASE_ORDER.equals(ST)) {
- ((EngineRegistryImpl)dpengine.getEngineRegistry()).setPhases(processPhaseOrder());
- } else if(SERVERST.equals(ST)){
+ ((EngineRegistryImpl) dpengine.getEngineRegistry()).setPhases(processPhaseOrder());
+ } else if (SERVERST.equals(ST)) {
//TODO process attributes
- } else {
+ } else {
throw new UnsupportedOperationException(ST + " element is not allowed in the server.xml");
}
}
@@ -180,11 +180,11 @@
transport = new AxisTransport(new QName(attvalue));
transportList.add(transport);
}
- }else if (transport != null && PARAMETERST.equals(tagnae)) {
- Parameter parameter = processParameter();
+ } else if (transport != null && PARAMETERST.equals(tagnae)) {
+ Parameter parameter = processParameter();
transport.addParameter(parameter);
//axisService. .appParameter(parameter);
- } else if (transport != null && INFLOWST.equals(tagnae)) {
+ } else if (transport != null && INFLOWST.equals(tagnae)) {
Flow inFlow = processInFlow();
transport.setInFlow(inFlow);
} else if (transport != null && OUTFLOWST.equals(tagnae)) {
@@ -193,8 +193,8 @@
} else if (transport != null && FAILTFLOWST.equals(tagnae)) {
Flow faultFlow = processFaultFlow();
transport.setFaultFlow(faultFlow);
- } else{
- throw new DeploymentException("Unknown element "+ tagnae);
+ } else {
+ throw new DeploymentException("Unknown element " + tagnae);
}
} else if (eventType == XMLStreamConstants.END_ELEMENT) {
String endtagname = pullparser.getLocalName();
@@ -224,7 +224,7 @@
String attname = pullparser.getAttributeLocalName(i);
String attvalue = pullparser.getAttributeValue(i);
if (PROVIDERNAME.equals(attname)) {
- if(dpengine != null && dpengine.getCurrentFileItem() != null) {
+ if (dpengine != null && dpengine.getCurrentFileItem() != null) {
dpengine.getCurrentFileItem().setProvideName(attvalue);
}
} else if (STYLENAME.equals(attname)) {
@@ -237,7 +237,7 @@
}
}
} else
- throw new DeploymentException("Bad arguments" + axisService.getName());
+ throw new DeploymentException("Bad arguments" + axisService.getName());
//*********************************************************************************************//
// This is to process remainng part of the document
@@ -256,11 +256,11 @@
String ST = pullparser.getLocalName(); //Staring tag name
if (PARAMETERST.equals(ST)) {
- Parameter parameter = processParameter();
+ Parameter parameter = processParameter();
axisService.addParameter(parameter);
//axisService. .appParameter(parameter);
- } else if (JAVAIMPL.equals(ST)){
- if(JAVAST.equals(pullparser.getNamespaceURI())){
+ } else if (JAVAIMPL.equals(ST)) {
+ if (JAVAST.equals(pullparser.getNamespaceURI())) {
attribCount = pullparser.getAttributeCount();
if (attribCount > 0) {
for (int i = 0; i < attribCount; i++) {
@@ -271,7 +271,7 @@
} else {
throw new UnsupportedOperationException("Illegal namespace");
}
- }else if (TYPEMAPPINGST.equals(ST)) {
+ } else if (TYPEMAPPINGST.equals(ST)) {
throw new UnsupportedOperationException();
// todo this should implemnt latter
// processTypeMapping();
@@ -280,7 +280,7 @@
// todo this should implemnt latter
// processBeanMapping();
} else if (OPRATIONST.equals(ST)) {
- AxisOperation operation = processOperation();
+ AxisOperation operation = processOperation();
axisService.addOperation(operation);
} else if (INFLOWST.equals(ST)) {
Flow inFlow = processInFlow();
@@ -298,7 +298,7 @@
String attname = pullparser.getAttributeLocalName(i);
String attvalue = pullparser.getAttributeValue(i);
if (REF.equals(attname)) {
- if(dpengine.getModule(new QName(attvalue)) == null){
+ if (dpengine.getModule(new QName(attvalue)) == null) {
throw new DeploymentException(ST + " module is invalid or dose not have bean deployed");
} else
axisService.addModule(new QName(attvalue));
@@ -319,8 +319,6 @@
}
-
-
private Parameter processParameter() throws DeploymentException {
Parameter parameter = new ParameterImpl();
int attribCount = pullparser.getAttributeCount();
@@ -328,7 +326,7 @@
for (int i = 0; i < attribCount; i++) {
String attname = pullparser.getAttributeLocalName(i);
String attvalue = pullparser.getAttributeValue(i);
- if (ATTNAME.equals(attname)){
+ if (ATTNAME.equals(attname)) {
parameter.setName(attvalue);
} else if (ATTLOCKED.equals(attname)) {
String boolval = getValue(attvalue);
@@ -783,7 +781,7 @@
if (HANDERST.equals(tagnae)) {
HandlerMetaData handler = processHandler();
faultFlow.addHandler(handler);
- } else {
+ } else {
throw new DeploymentException("parser Exception : un supported element" + tagnae);
}
} else if (eventType == XMLStreamConstants.END_ELEMENT) {
@@ -822,7 +820,7 @@
if (ATTNAME.equals(attname)) {
pahseList.add(attvalue);
}
- } else {
+ } else {
throw new DeploymentException("parser Exception : un supported element" + tagnae);
}
} else if (eventType == XMLStreamConstants.END_ELEMENT) {
@@ -864,15 +862,16 @@
/**
* This method is used to retrive service name form the arechive file name
* if the archive file name is service1.aar , then axis service name would be service1
+ *
* @param fileName
* @return
*/
- private String getAxisServiceName(String fileName){
+ private String getAxisServiceName(String fileName) {
char seperator = '.';
String value = null;
int index = fileName.indexOf(seperator);
if (index > 0) {
- value = fileName.substring(0 , index);
+ value = fileName.substring(0, index);
return value;
}
return fileName;
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/deployment/listener/RepositoryListenerImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/deployment/listener/RepositoryListenerImpl.java?view=diff&r1=153901&r2=153902
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/deployment/listener/RepositoryListenerImpl.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/deployment/listener/RepositoryListenerImpl.java Mon Feb 14 22:22:34 2005
@@ -1,13 +1,13 @@
package org.apache.axis.deployment.listener;
-import java.io.File;
-import java.util.ArrayList;
-import java.util.List;
-
import org.apache.axis.deployment.DeploymentConstants;
import org.apache.axis.deployment.DeploymentEngine;
import org.apache.axis.deployment.repository.utill.WSInfoList;
+import java.io.File;
+import java.util.ArrayList;
+import java.util.List;
+
/**
* Copyright 2001-2004 The Apache Software Foundation.
* <p/>
@@ -90,7 +90,7 @@
public void init() {
wsinfoList.init();
checkModules();
- checkServices();
+ checkServices();
update();
}
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/deployment/repository/utill/UnZipJAR.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/deployment/repository/utill/UnZipJAR.java?view=diff&r1=153901&r2=153902
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/deployment/repository/utill/UnZipJAR.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/deployment/repository/utill/UnZipJAR.java Mon Feb 14 22:22:34 2005
@@ -16,10 +16,6 @@
* limitations under the License.
*/
-import java.io.FileInputStream;
-import java.util.zip.ZipEntry;
-import java.util.zip.ZipInputStream;
-
import org.apache.axis.deployment.DeploymentConstants;
import org.apache.axis.deployment.DeploymentEngine;
import org.apache.axis.deployment.DeploymentException;
@@ -27,6 +23,10 @@
import org.apache.axis.description.AxisModule;
import org.apache.axis.description.AxisService;
+import java.io.FileInputStream;
+import java.util.zip.ZipEntry;
+import java.util.zip.ZipInputStream;
+
public class UnZipJAR implements DeploymentConstants {
//final int BUFFER = 2048;
@@ -55,15 +55,15 @@
}
// zin.closeEntry();
zin.close();
- if(! foundServiceXML){
- throw new DeploymentException("service.xml not found");
+ if (!foundServiceXML) {
+ throw new DeploymentException("service.xml not found");
}
} catch (Exception e) {
- throw new DeploymentException(e.getMessage());
+ throw new DeploymentException(e.getMessage());
}
}
- public void unzipModule(String filename, DeploymentEngine engine,AxisModule module) throws DeploymentException {
+ public void unzipModule(String filename, DeploymentEngine engine, AxisModule module) throws DeploymentException {
// get attribute values
boolean foundmoduleXML = false;
String strArchive = filename;
@@ -81,8 +81,8 @@
}
// zin.closeEntry();
zin.close();
- if(! foundmoduleXML){
- throw new DeploymentException("module.xml not found");
+ if (!foundmoduleXML) {
+ throw new DeploymentException("module.xml not found");
}
} catch (Exception e) {
throw new DeploymentException(e.getMessage());
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/deployment/repository/utill/WSInfoList.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/deployment/repository/utill/WSInfoList.java?view=diff&r1=153901&r2=153902
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/deployment/repository/utill/WSInfoList.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/deployment/repository/utill/WSInfoList.java Mon Feb 14 22:22:34 2005
@@ -1,12 +1,12 @@
package org.apache.axis.deployment.repository.utill;
+import org.apache.axis.deployment.DeploymentConstants;
+import org.apache.axis.deployment.DeploymentEngine;
+
import java.io.File;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
-
-import org.apache.axis.deployment.DeploymentConstants;
-import org.apache.axis.deployment.DeploymentEngine;
/**
* Copyright 2001-2004 The Apache Software Foundation.
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/deployment/server.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/deployment/server.xml?view=diff&r1=153901&r2=153902
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/deployment/server.xml (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/deployment/server.xml Mon Feb 14 22:22:34 2005
@@ -1,9 +1,9 @@
-<server name ="AxisJava2.0" >
- <transports>
- <transport name ="http"/>
- <transport name ="smtp"/>
+<server name="AxisJava2.0">
+ <transports>
+ <transport name="http"/>
+ <transport name="smtp"/>
</transports>
- <phaseOrder>
+ <phaseOrder>
<phase name="global"/>
<phase name="transport"/>
<phase name="p2"/>
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/AxisGlobal.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/AxisGlobal.java?view=diff&r1=153901&r2=153902
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/AxisGlobal.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/AxisGlobal.java Mon Feb 14 22:22:34 2005
@@ -15,43 +15,43 @@
*/
package org.apache.axis.description;
+import org.apache.axis.engine.AxisFault;
+
+import javax.xml.namespace.QName;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
-import javax.xml.namespace.QName;
-
-import org.apache.axis.engine.AxisFault;
-
/**
- * <p>This holds the information shown in the global scope. The information are all
- * that not goes in to the Transport or a Service. This has two types of Info. </p>
+ * <p>This holds the information shown in the global scope. The information are all
+ * that not goes in to the Transport or a Service. This has two types of Info. </p>
* <ol>
- * <li>parameters<li>
- * <li>ordered phases<li>
- * <li>names of modules that are ref by the server.xml file, real modues are in the
- * Registry.<li>
- * <ol>
- * <p>Note: handlers in the server.xml file are not suported for M1, only way to put a
- * global handler is via a modules</p>
+ * <li>parameters<li>
+ * <li>ordered phases<li>
+ * <li>names of modules that are ref by the server.xml file, real modues are in the
+ * Registry.<li>
+ * <ol>
+ * <p>Note: handlers in the server.xml file are not suported for M1, only way to put a
+ * global handler is via a modules</p>
*/
-public class AxisGlobal implements ParameterInclude,PhasesInclude {
+public class AxisGlobal implements ParameterInclude, PhasesInclude {
protected ParameterInclude paramInclude;
protected PhasesInclude phasesInclude;
protected List modules;
//TODO provide a way to store name (name attribute value server.xml)
- public AxisGlobal(){
+ public AxisGlobal() {
paramInclude = new ParameterIncludeImpl();
phasesInclude = new PhasesIncludeImpl();
modules = new ArrayList();
}
public void addModule(QName moduleref) {
- modules.add(moduleref);
+ modules.add(moduleref);
}
+
public Collection getModules() {
- return modules;
+ return modules;
}
public Parameter getParameter(String name) {
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/AxisModule.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/AxisModule.java?view=diff&r1=153901&r2=153902
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/AxisModule.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/AxisModule.java Mon Feb 14 22:22:34 2005
@@ -19,18 +19,18 @@
import javax.xml.namespace.QName;
/**
- * <p>This holds the information about a Module. </p>
+ * <p>This holds the information about a Module. </p>
* <ol>
- * <li>parameters<li>
- * <li>handlers<li>
+ * <li>parameters<li>
+ * <li>handlers<li>
* <ol>
* <p>Handler are registered once they are avlible but they avalibe to all services if server.xml
- * has a module ref="." or avalible to a single service if service.xml have module ref=".."</p>
+ * has a module ref="." or avalible to a single service if service.xml have module ref=".."</p>
*/
-public class AxisModule implements FlowInclude,ParameterInclude{
-
+public class AxisModule implements FlowInclude, ParameterInclude {
+
private QName name;
-
+
private FlowInclude flowInclude = new FlowIncludeImpl();
private ParameterInclude parameters = new ParameterIncludeImpl();
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/AxisOperation.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/AxisOperation.java?view=diff&r1=153901&r2=153902
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/AxisOperation.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/AxisOperation.java Mon Feb 14 22:22:34 2005
@@ -16,8 +16,9 @@
package org.apache.axis.description;
import org.apache.wsdl.WSDLOperation;
+
/**
- * for the time been operation can have only the parameters
+ * for the time been operation can have only the parameters
*/
-public interface AxisOperation extends WSDLOperation,ParameterInclude {
+public interface AxisOperation extends WSDLOperation, ParameterInclude {
}