You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by di...@apache.org on 2005/12/23 15:49:11 UTC
svn commit: r358814 - in /webservices/axis2/trunk/java/modules:
core/src/org/apache/axis2/ core/src/org/apache/axis2/context/
core/src/org/apache/axis2/deployment/
core/src/org/apache/axis2/description/ core/src/org/apache/axis2/util/
core/test/org/apa...
Author: dims
Date: Fri Dec 23 06:48:59 2005
New Revision: 358814
URL: http://svn.apache.org/viewcvs?rev=358814&view=rev
Log:
- lower the case for the scopes.
- remove @author tags (Folks, *PLEASE* adjust your IDE settings according to coding guidelines)
- added a bit of javadoc
Modified:
webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/Constants.java
webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/ConfigurationContext.java
webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/AxisServiceBuilder.java
webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/AxisService2WOM.java
webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/util/SessionUtils.java
webservices/axis2/trunk/java/modules/core/test/org/apache/axis2/deployment/AxisServiceBuilderTest.java
webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/util/profiling/ContextMemoryHandlingUtil.java
webservices/axis2/trunk/java/modules/saaj/src/org/apache/axis2/om/DOOMAbstractFactory.java
webservices/axis2/trunk/java/modules/wsdl/src/org/apache/axis2/wsdl/java2wsdl/SchemaGenerator.java
webservices/axis2/trunk/java/modules/wsdl/src/org/apache/axis2/wsdl/java2wsdl/bytecode/ClassReader.java
webservices/axis2/trunk/java/modules/wsdl/src/org/apache/axis2/wsdl/java2wsdl/bytecode/MethodTable.java
webservices/axis2/trunk/java/modules/wsdl/src/org/apache/axis2/wsdl/java2wsdl/bytecode/ParamNameExtractor.java
webservices/axis2/trunk/java/modules/wsdl/src/org/apache/axis2/wsdl/java2wsdl/bytecode/ParamReader.java
Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/Constants.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/Constants.java?rev=358814&r1=358813&r2=358814&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/Constants.java (original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/Constants.java Fri Dec 23 06:48:59 2005
@@ -70,10 +70,10 @@
/**
* Field APPLICATION_SCOPE
*/
- public static final String APPLICATION_SCOPE = "Application";
- public static final String SOAP_SESSION_SCOPE = "SOAPSession";
- public static final String TRANSPORT_SESSION_SCOPE = "TransportSession";
- public static final String REQUEST_SCOPE = "Request";
+ public static final String APPLICATION_SCOPE = "application";
+ public static final String SOAP_SESSION_SCOPE = "soapsession";
+ public static final String TRANSPORT_SESSION_SCOPE = "transportsession";
+ public static final String REQUEST_SCOPE = "request";
public static final String AXIS2_HOME = "axis2home";
Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/ConfigurationContext.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/ConfigurationContext.java?rev=358814&r1=358813&r2=358814&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/ConfigurationContext.java (original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/ConfigurationContext.java Fri Dec 23 06:48:59 2005
@@ -110,7 +110,7 @@
}
/**
- * 1. Check the max scope of the service gruop , if it is grater than TarnsportSession
+ * 1. Check the max scope of the service gruop , if it is grater than TransportSession
* then need to store in configurationContext
* 2. Else need to store in SessionContext , and need to store both service context and
* service group context
Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/AxisServiceBuilder.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/AxisServiceBuilder.java?rev=358814&r1=358813&r2=358814&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/AxisServiceBuilder.java (original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/AxisServiceBuilder.java Fri Dec 23 06:48:59 2005
@@ -61,8 +61,6 @@
* AxisServiceBuilder builds an AxisService using a WSDL document which is feed
* as a javax.wsdl.Definition or as an InputStream. If there are multiple
* javax.wsdl.Service elements in the WSDL, the first is picked.
- *
- * @author Sanka Samaranayake (sanka@apache.org)
*/
public class AxisServiceBuilder {
Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/AxisService2WOM.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/AxisService2WOM.java?rev=358814&r1=358813&r2=358814&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/AxisService2WOM.java (original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/AxisService2WOM.java Fri Dec 23 06:48:59 2005
@@ -32,8 +32,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*
-* @author : Deepal Jayasinghe (deepal@apache.org)
-*
*/
public class AxisService2WOM {
Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/util/SessionUtils.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/util/SessionUtils.java?rev=358814&r1=358813&r2=358814&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/util/SessionUtils.java (original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/util/SessionUtils.java Fri Dec 23 06:48:59 2005
@@ -20,12 +20,16 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*
-* @author : Deepal Jayasinghe (deepal@apache.org)
-*
*/
public class SessionUtils {
+ /**
+ * Walk through the list of services and use the minimum of the scopes as the scope for the whole service group
+ *
+ * @param axisServiceGroup
+ * @return scope for the service group
+ */
public static String calculateMaxScopeForServiceGroup(AxisServiceGroup axisServiceGroup) {
Iterator servics = axisServiceGroup.getServices();
int maxScope = 1;
@@ -39,6 +43,12 @@
return getScopeString(maxScope);
}
+ /**
+ * convert scope into a numerical value
+ *
+ * @param scope
+ * @return integer
+ */
private static int getScopeIntValue(String scope) {
if (Constants.REQUEST_SCOPE.equals(scope)) {
return 1;
@@ -53,6 +63,12 @@
}
}
+ /**
+ * Get the actual scope string given the numerical value
+ *
+ * @param scope
+ * @return string
+ */
private static String getScopeString(int scope) {
switch (scope) {
case 1 : {
Modified: webservices/axis2/trunk/java/modules/core/test/org/apache/axis2/deployment/AxisServiceBuilderTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/test/org/apache/axis2/deployment/AxisServiceBuilderTest.java?rev=358814&r1=358813&r2=358814&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/test/org/apache/axis2/deployment/AxisServiceBuilderTest.java (original)
+++ webservices/axis2/trunk/java/modules/core/test/org/apache/axis2/deployment/AxisServiceBuilderTest.java Fri Dec 23 06:48:59 2005
@@ -29,8 +29,6 @@
/**
* TestCase for AxisServiceBuilder.
- *
- * @author Thilini Gunawardhana (thilini@wso2.com)
*/
public class AxisServiceBuilderTest extends TestCase {
private AxisServiceBuilder builder;
Modified: webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/util/profiling/ContextMemoryHandlingUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/util/profiling/ContextMemoryHandlingUtil.java?rev=358814&r1=358813&r2=358814&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/util/profiling/ContextMemoryHandlingUtil.java (original)
+++ webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/util/profiling/ContextMemoryHandlingUtil.java Fri Dec 23 06:48:59 2005
@@ -16,8 +16,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.
- *
- * @author : Eran Chinthaka (chinthaka@apache.org)
*/
public class ContextMemoryHandlingUtil extends EchoRawXMLTest {
Modified: webservices/axis2/trunk/java/modules/saaj/src/org/apache/axis2/om/DOOMAbstractFactory.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/saaj/src/org/apache/axis2/om/DOOMAbstractFactory.java?rev=358814&r1=358813&r2=358814&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/saaj/src/org/apache/axis2/om/DOOMAbstractFactory.java (original)
+++ webservices/axis2/trunk/java/modules/saaj/src/org/apache/axis2/om/DOOMAbstractFactory.java Fri Dec 23 06:48:59 2005
@@ -8,10 +8,6 @@
import org.apache.axis2.soap.impl.dom.soap11.SOAP11Factory;
import org.apache.axis2.soap.impl.dom.soap12.SOAP12Factory;
-/**
- *
- * @author Ruchith Fernando (ruchith.fernando@gmail.com)
- */
public class DOOMAbstractFactory {
public static OMFactory getOMFactory() {
Modified: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/axis2/wsdl/java2wsdl/SchemaGenerator.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/wsdl/src/org/apache/axis2/wsdl/java2wsdl/SchemaGenerator.java?rev=358814&r1=358813&r2=358814&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/wsdl/src/org/apache/axis2/wsdl/java2wsdl/SchemaGenerator.java (original)
+++ webservices/axis2/trunk/java/modules/wsdl/src/org/apache/axis2/wsdl/java2wsdl/SchemaGenerator.java Fri Dec 23 06:48:59 2005
@@ -23,8 +23,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*
-* @author : Deepal Jayasinghe (deepal@apache.org)
-*
*/
public class SchemaGenerator {
Modified: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/axis2/wsdl/java2wsdl/bytecode/ClassReader.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/wsdl/src/org/apache/axis2/wsdl/java2wsdl/bytecode/ClassReader.java?rev=358814&r1=358813&r2=358814&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/wsdl/src/org/apache/axis2/wsdl/java2wsdl/bytecode/ClassReader.java (original)
+++ webservices/axis2/trunk/java/modules/wsdl/src/org/apache/axis2/wsdl/java2wsdl/bytecode/ClassReader.java Fri Dec 23 06:48:59 2005
@@ -18,8 +18,6 @@
* <p/>
* don't get tricky, it's the bare minimum. Instances of this class
* are not threadsafe -- don't share them. <p>
- *
- * @author Edwin Smith, Macromedia
*/
public class ClassReader extends ByteArrayInputStream {
// constants values that appear in java class files,
Modified: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/axis2/wsdl/java2wsdl/bytecode/MethodTable.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/wsdl/src/org/apache/axis2/wsdl/java2wsdl/bytecode/MethodTable.java?rev=358814&r1=358813&r2=358814&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/wsdl/src/org/apache/axis2/wsdl/java2wsdl/bytecode/MethodTable.java (original)
+++ webservices/axis2/trunk/java/modules/wsdl/src/org/apache/axis2/wsdl/java2wsdl/bytecode/MethodTable.java Fri Dec 23 06:48:59 2005
@@ -17,8 +17,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*
-* @author : Deepal Jayasinghe (deepal@apache.org)
-*
*/
public class MethodTable {
Modified: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/axis2/wsdl/java2wsdl/bytecode/ParamNameExtractor.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/wsdl/src/org/apache/axis2/wsdl/java2wsdl/bytecode/ParamNameExtractor.java?rev=358814&r1=358813&r2=358814&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/wsdl/src/org/apache/axis2/wsdl/java2wsdl/bytecode/ParamNameExtractor.java (original)
+++ webservices/axis2/trunk/java/modules/wsdl/src/org/apache/axis2/wsdl/java2wsdl/bytecode/ParamNameExtractor.java Fri Dec 23 06:48:59 2005
@@ -11,8 +11,6 @@
/**
* This class retrieves function parameter names from bytecode built with
* debugging symbols. Used as a last resort when creating WSDL.
- *
- * @author <a href="mailto:tomj@macromedia.com">Tom Jordahl</a>
*/
public class ParamNameExtractor {
Modified: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/axis2/wsdl/java2wsdl/bytecode/ParamReader.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/wsdl/src/org/apache/axis2/wsdl/java2wsdl/bytecode/ParamReader.java?rev=358814&r1=358813&r2=358814&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/wsdl/src/org/apache/axis2/wsdl/java2wsdl/bytecode/ParamReader.java (original)
+++ webservices/axis2/trunk/java/modules/wsdl/src/org/apache/axis2/wsdl/java2wsdl/bytecode/ParamReader.java Fri Dec 23 06:48:59 2005
@@ -21,8 +21,6 @@
* <p/>
* don't get tricky, it's the bare minimum. Instances of this class
* are not threadsafe -- don't share them. <p>
- *
- * @author Edwin Smith, Macromedia
*/
public class ParamReader
extends ClassReader {