You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by vg...@apache.org on 2004/10/04 21:24:12 UTC
svn commit: rev 53741 - in cocoon/branches/BRANCH_2_1_X/src/blocks/axis/java/org/apache/cocoon: reading webservices webservices/instrument webservices/memory webservices/system
Author: vgritsenko
Date: Mon Oct 4 12:24:11 2004
New Revision: 53741
Modified:
cocoon/branches/BRANCH_2_1_X/src/blocks/axis/java/org/apache/cocoon/reading/AxisRPCReader.java
cocoon/branches/BRANCH_2_1_X/src/blocks/axis/java/org/apache/cocoon/webservices/AbstractComposableService.java
cocoon/branches/BRANCH_2_1_X/src/blocks/axis/java/org/apache/cocoon/webservices/AbstractLogEnabledService.java
cocoon/branches/BRANCH_2_1_X/src/blocks/axis/java/org/apache/cocoon/webservices/instrument/InstrumentationService.java
cocoon/branches/BRANCH_2_1_X/src/blocks/axis/java/org/apache/cocoon/webservices/instrument/InstrumentationServiceImpl.java
cocoon/branches/BRANCH_2_1_X/src/blocks/axis/java/org/apache/cocoon/webservices/memory/Memory.java
cocoon/branches/BRANCH_2_1_X/src/blocks/axis/java/org/apache/cocoon/webservices/system/System.java
Log:
tab hunt
Modified: cocoon/branches/BRANCH_2_1_X/src/blocks/axis/java/org/apache/cocoon/reading/AxisRPCReader.java
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/blocks/axis/java/org/apache/cocoon/reading/AxisRPCReader.java (original)
+++ cocoon/branches/BRANCH_2_1_X/src/blocks/axis/java/org/apache/cocoon/reading/AxisRPCReader.java Mon Oct 4 12:24:11 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.
@@ -76,26 +76,24 @@
* @author <a href="mailto:">Steve Loughran</a>
* @author <a href="mailto:dug@us.ibm.com">Doug Davis</a>
*
- * @version CVS $Id: AxisRPCReader.java,v 1.6 2004/03/05 13:01:42 bdelacretaz 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
@@ -121,14 +119,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);
@@ -205,7 +203,7 @@
msgContext.setRequestMessage(requestMsg);
String url = HttpUtils.getRequestURL(req).toString();
msgContext.setProperty(MessageContext.TRANS_URL, url);
-
+
try
{
//
@@ -246,7 +244,7 @@
//tell everyone that something is wrong
throw new Exception("no response message");
}
- }
+ }
catch (AxisFault fault)
{
if (getLogger().isErrorEnabled())
Modified: cocoon/branches/BRANCH_2_1_X/src/blocks/axis/java/org/apache/cocoon/webservices/AbstractComposableService.java
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/blocks/axis/java/org/apache/cocoon/webservices/AbstractComposableService.java (original)
+++ cocoon/branches/BRANCH_2_1_X/src/blocks/axis/java/org/apache/cocoon/webservices/AbstractComposableService.java Mon Oct 4 12:24:11 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:crafterm@apache.org">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/branches/BRANCH_2_1_X/src/blocks/axis/java/org/apache/cocoon/webservices/AbstractLogEnabledService.java
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/blocks/axis/java/org/apache/cocoon/webservices/AbstractLogEnabledService.java (original)
+++ cocoon/branches/BRANCH_2_1_X/src/blocks/axis/java/org/apache/cocoon/webservices/AbstractLogEnabledService.java Mon Oct 4 12:24:11 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:crafterm@apache.org">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/branches/BRANCH_2_1_X/src/blocks/axis/java/org/apache/cocoon/webservices/instrument/InstrumentationService.java
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/blocks/axis/java/org/apache/cocoon/webservices/instrument/InstrumentationService.java (original)
+++ cocoon/branches/BRANCH_2_1_X/src/blocks/axis/java/org/apache/cocoon/webservices/instrument/InstrumentationService.java Mon Oct 4 12:24:11 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:crafterm@apache.org">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/branches/BRANCH_2_1_X/src/blocks/axis/java/org/apache/cocoon/webservices/instrument/InstrumentationServiceImpl.java
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/blocks/axis/java/org/apache/cocoon/webservices/instrument/InstrumentationServiceImpl.java (original)
+++ cocoon/branches/BRANCH_2_1_X/src/blocks/axis/java/org/apache/cocoon/webservices/instrument/InstrumentationServiceImpl.java Mon Oct 4 12:24:11 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.
@@ -30,7 +30,7 @@
* allows you to access sample information from the InstrumentManager.
*
* @author <a href="mailto:crafterm@apache.org">Marcus Crafter</a>
- * @version CVS $Id: InstrumentationServiceImpl.java,v 1.2 2004/03/05 13:01:43 bdelacretaz 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 {@link InstrumentManager} for this service object.
*
* @param iManager an {@link InstrumentManager} instance
@@ -64,7 +64,7 @@
"InstrumentationService only supports DefaultInstrumentManager"
);
}
- }
+ }
/**
* Obtain an array of samples from a specified sample name.
@@ -136,7 +136,7 @@
for (int i = 0; i < descriptors.length; ++i) {
- // list all instruments
+ // list all instruments
InstrumentDescriptor[] insts =
descriptors[i].getInstrumentDescriptors();
Modified: cocoon/branches/BRANCH_2_1_X/src/blocks/axis/java/org/apache/cocoon/webservices/memory/Memory.java
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/blocks/axis/java/org/apache/cocoon/webservices/memory/Memory.java (original)
+++ cocoon/branches/BRANCH_2_1_X/src/blocks/axis/java/org/apache/cocoon/webservices/memory/Memory.java Mon Oct 4 12:24:11 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:crafterm@apache.org">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/branches/BRANCH_2_1_X/src/blocks/axis/java/org/apache/cocoon/webservices/system/System.java
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/blocks/axis/java/org/apache/cocoon/webservices/system/System.java (original)
+++ cocoon/branches/BRANCH_2_1_X/src/blocks/axis/java/org/apache/cocoon/webservices/system/System.java Mon Oct 4 12:24:11 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:crafterm@apache.org">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.
*