Author: vgritsenko Date: Mon Oct 4 12:26:02 2004 New Revision: 53742 Modified: cocoon/trunk/src/blocks/axis/java/org/apache/cocoon/reading/AxisRPCReader.java cocoon/trunk/src/blocks/axis/java/org/apache/cocoon/webservices/AbstractComposableService.java cocoon/trunk/src/blocks/axis/java/org/apache/cocoon/webservices/AbstractLogEnabledService.java cocoon/trunk/src/blocks/axis/java/org/apache/cocoon/webservices/instrument/InstrumentationService.java cocoon/trunk/src/blocks/axis/java/org/apache/cocoon/webservices/instrument/InstrumentationServiceImpl.java cocoon/trunk/src/blocks/axis/java/org/apache/cocoon/webservices/memory/Memory.java cocoon/trunk/src/blocks/axis/java/org/apache/cocoon/webservices/system/System.java Log: tab hunt
Modified: cocoon/trunk/src/blocks/axis/java/org/apache/cocoon/reading/AxisRPCReader.java ============================================================================== --- cocoon/trunk/src/blocks/axis/java/org/apache/cocoon/reading/AxisRPCReader.java (original) +++ cocoon/trunk/src/blocks/axis/java/org/apache/cocoon/reading/AxisRPCReader.java Mon Oct 4 12:26:02 2004 @@ -1,12 +1,12 @@ /* * Copyright 1999-2004 The Apache Software Foundation. - * + * * Licensed 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. @@ -75,26 +75,24 @@ * @author <a href="mailto:">Steve Loughran</a> * @author <a href="mailto:[EMAIL PROTECTED]">Doug Davis</a> * - * @version CVS $Id: AxisRPCReader.java,v 1.7 2004/07/12 13:34:42 cziegeler Exp $ + * @version CVS $Id$ */ public class AxisRPCReader extends ServiceableReader - implements Configurable, Disposable -{ + implements Configurable, Disposable { // soap server reference private SoapServer m_server; - + /** Are we in development stage ? */ private boolean m_isDevelompent = false; - /* (non-Javadoc) - * @see org.apache.avalon.framework.configuration.Configurable#configure(org.apache.avalon.framework.configuration.Configuration) - */ - public void configure(Configuration config) throws ConfigurationException - { + /* (non-Javadoc) + * @see org.apache.avalon.framework.configuration.Configurable#configure(org.apache.avalon.framework.configuration.Configuration) + */ + public void configure(Configuration config) throws ConfigurationException { m_isDevelompent = config.getChild("development-stage").getValueAsBoolean(m_isDevelompent ); - } - + } + public void service(final ServiceManager manager) throws ServiceException { super.service(manager); // set soap server reference @@ -120,14 +118,14 @@ * @exception SAXException if an error occurs */ public void setup( - final SourceResolver resolver, + final SourceResolver resolver, final Map objectModel, final String src, final Parameters parameters ) throws ProcessingException, IOException, SAXException { - super.setup(resolver, objectModel, src, parameters); + super.setup(resolver, objectModel, src, parameters); checkHTTPPost(objectModel); @@ -204,7 +202,7 @@ msgContext.setRequestMessage(requestMsg); String url = req.getRequestURL().toString(); msgContext.setProperty(MessageContext.TRANS_URL, url); - + try { // @@ -245,7 +243,7 @@ //tell everyone that something is wrong throw new Exception("no response message"); } - } + } catch (AxisFault fault) { if (getLogger().isErrorEnabled()) Modified: cocoon/trunk/src/blocks/axis/java/org/apache/cocoon/webservices/AbstractComposableService.java ============================================================================== --- cocoon/trunk/src/blocks/axis/java/org/apache/cocoon/webservices/AbstractComposableService.java (original) +++ cocoon/trunk/src/blocks/axis/java/org/apache/cocoon/webservices/AbstractComposableService.java Mon Oct 4 12:26:02 2004 @@ -1,12 +1,12 @@ /* * Copyright 1999-2004 The Apache Software Foundation. - * + * * Licensed 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. @@ -36,12 +36,12 @@ * </p> * * @author <a href="mailto:[EMAIL PROTECTED]">Marcus Crafter</a> - * @version CVS $Id: AbstractComposableService.java,v 1.2 2004/03/05 13:01:43 bdelacretaz Exp $ + * @version CVS $Id$ */ public abstract class AbstractComposableService - extends AbstractLogEnabledService - implements Composable { - + extends AbstractLogEnabledService + implements Composable { + // component manager reference protected ComponentManager m_manager; Modified: cocoon/trunk/src/blocks/axis/java/org/apache/cocoon/webservices/AbstractLogEnabledService.java ============================================================================== --- cocoon/trunk/src/blocks/axis/java/org/apache/cocoon/webservices/AbstractLogEnabledService.java (original) +++ cocoon/trunk/src/blocks/axis/java/org/apache/cocoon/webservices/AbstractLogEnabledService.java Mon Oct 4 12:26:02 2004 @@ -1,12 +1,12 @@ /* * Copyright 1999-2004 The Apache Software Foundation. - * + * * Licensed 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. @@ -39,12 +39,12 @@ * </p> * * @author <a href="mailto:[EMAIL PROTECTED]">Marcus Crafter</a> - * @version CVS $Id: AbstractLogEnabledService.java,v 1.2 2004/03/05 13:01:43 bdelacretaz Exp $ + * @version CVS $Id$ */ public abstract class AbstractLogEnabledService - extends AbstractLogEnabled - implements ServiceLifecycle { - + extends AbstractLogEnabled + implements ServiceLifecycle { + // servlet endpoint context reference protected ServletEndpointContext m_endPointContext; @@ -87,7 +87,7 @@ } /** - * Helper method to obtain the Avalon <code>Logger</code> object out of + * Helper method to obtain the Avalon <code>Logger</code> object out of * the context object and enable logging for this service. */ private void setLogger() { Modified: cocoon/trunk/src/blocks/axis/java/org/apache/cocoon/webservices/instrument/InstrumentationService.java ============================================================================== --- cocoon/trunk/src/blocks/axis/java/org/apache/cocoon/webservices/instrument/InstrumentationService.java (original) +++ cocoon/trunk/src/blocks/axis/java/org/apache/cocoon/webservices/instrument/InstrumentationService.java Mon Oct 4 12:26:02 2004 @@ -1,12 +1,12 @@ /* * Copyright 1999-2004 The Apache Software Foundation. - * + * * Licensed 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. @@ -19,14 +19,14 @@ import org.apache.excalibur.instrument.InstrumentManageable; /** - * Component interface for retrieving sample information from the + * Component interface for retrieving sample information from the * InstrumentManager. * * @author <a href="mailto:[EMAIL PROTECTED]">Marcus Crafter</a> - * @version CVS $Id: InstrumentationService.java,v 1.3 2004/03/05 13:01:43 bdelacretaz Exp $ + * @version CVS $Id$ */ public interface InstrumentationService extends InstrumentManageable, Component { - + /** * Component ROLE name */ Modified: cocoon/trunk/src/blocks/axis/java/org/apache/cocoon/webservices/instrument/InstrumentationServiceImpl.java ============================================================================== --- cocoon/trunk/src/blocks/axis/java/org/apache/cocoon/webservices/instrument/InstrumentationServiceImpl.java (original) +++ cocoon/trunk/src/blocks/axis/java/org/apache/cocoon/webservices/instrument/InstrumentationServiceImpl.java Mon Oct 4 12:26:02 2004 @@ -30,7 +30,7 @@ * allows you to access sample information from the InstrumentManager. * * @author <a href="mailto:[EMAIL PROTECTED]">Marcus Crafter</a> - * @version CVS $Id: InstrumentationServiceImpl.java,v 1.3 2004/06/03 12:38:54 vgritsenko Exp $ + * @version CVS $Id$ */ public final class InstrumentationServiceImpl extends AbstractLogEnabled implements InstrumentationService { @@ -39,9 +39,9 @@ private static final String[] EMPTY_STRING_ARRAY = {}; // instrument manager reference - private DefaultInstrumentManager m_iManager; + private DefaultInstrumentManager m_iManager; - /** + /** * Sets the [EMAIL PROTECTED] InstrumentManager} for this service object. * * @param iManager an [EMAIL PROTECTED] InstrumentManager} instance @@ -63,7 +63,7 @@ "InstrumentationService only supports DefaultInstrumentManager" ); } - } + } /** * Obtain an array of samples from a specified sample name. Modified: cocoon/trunk/src/blocks/axis/java/org/apache/cocoon/webservices/memory/Memory.java ============================================================================== --- cocoon/trunk/src/blocks/axis/java/org/apache/cocoon/webservices/memory/Memory.java (original) +++ cocoon/trunk/src/blocks/axis/java/org/apache/cocoon/webservices/memory/Memory.java Mon Oct 4 12:26:02 2004 @@ -1,12 +1,12 @@ /* * Copyright 1999-2004 The Apache Software Foundation. - * + * * Licensed 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. @@ -19,10 +19,10 @@ * Class which provides JVM memory related SOAP services. * * @author <a href="mailto:[EMAIL PROTECTED]">Marcus Crafter</a> - * @version CVS $Id: Memory.java,v 1.2 2004/03/05 13:01:43 bdelacretaz Exp $ + * @version CVS $Id$ */ public class Memory { - + // static reference to the runtime object. private static final Runtime runtime = Runtime.getRuntime(); Modified: cocoon/trunk/src/blocks/axis/java/org/apache/cocoon/webservices/system/System.java ============================================================================== --- cocoon/trunk/src/blocks/axis/java/org/apache/cocoon/webservices/system/System.java (original) +++ cocoon/trunk/src/blocks/axis/java/org/apache/cocoon/webservices/system/System.java Mon Oct 4 12:26:02 2004 @@ -1,12 +1,12 @@ /* * Copyright 1999-2004 The Apache Software Foundation. - * + * * Licensed 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. @@ -22,10 +22,10 @@ * Class which provides JVM system related SOAP services. * * @author <a href="mailto:[EMAIL PROTECTED]">Marcus Crafter</a> - * @version CVS $Id: System.java,v 1.2 2004/03/05 13:01:45 bdelacretaz Exp $ + * @version CVS $Id$ */ public class System { - + /** * <code>getProperties</code> returns the current System Properties object. *