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/02 21:01:33 UTC
svn commit: r351824 - in /webservices/axis2/trunk/java/modules:
codegen/src/org/apache/axis2/rpc/client/
codegen/src/org/apache/axis2/rpc/receivers/
codegen/src/org/apache/axis2/util/ common/src/org/apache/axis2/i18n/
core/src/org/apache/axis2/deployme...
Author: dims
Date: Fri Dec 2 12:01:01 2005
New Revision: 351824
URL: http://svn.apache.org/viewcvs?rev=351824&view=rev
Log:
s/Parmeter/Parameter/g
s/parmeter/parameter/g
Added:
webservices/axis2/trunk/java/modules/core/test/org/apache/axis2/engine/ParameterAddTest.java
- copied, changed from r351807, webservices/axis2/trunk/java/modules/core/test/org/apache/axis2/engine/ParamterAddTest.java
webservices/axis2/trunk/java/modules/core/test/org/apache/axis2/engine/ParameterLocked.java
- copied, changed from r351744, webservices/axis2/trunk/java/modules/core/test/org/apache/axis2/engine/ParamterLocked.java
Removed:
webservices/axis2/trunk/java/modules/core/test/org/apache/axis2/engine/ParamterAddTest.java
webservices/axis2/trunk/java/modules/core/test/org/apache/axis2/engine/ParamterLocked.java
Modified:
webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/rpc/client/RPCCall.java
webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/rpc/receivers/SimpleTypeMapper.java
webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/util/BeanSerializerUtil.java
webservices/axis2/trunk/java/modules/common/src/org/apache/axis2/i18n/resource.properties
webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/AxisConfigBuilder.java
webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/DescriptionBuilder.java
webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/ModuleBuilder.java
webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/ServiceBuilder.java
webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/ServiceGroupBuilder.java
webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/axis2.xml
webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/AxisMessage.java
webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/AxisOperation.java
webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/AxisService.java
webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/AxisServiceGroup.java
webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/HandlerDescription.java
webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/ModuleConfiguration.java
webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/ModuleDescription.java
webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/Parameter.java
webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/ParameterInclude.java
webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/ParameterIncludeImpl.java
webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/TransportInDescription.java
webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/TransportOutDescription.java
webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/engine/AxisConfiguration.java
webservices/axis2/trunk/java/modules/core/test-resources/deployment/hostConfigrepo/axis2.xml
webservices/axis2/trunk/java/modules/core/test/org/apache/axis2/deployment/AxisObserverImpl.java
webservices/axis2/trunk/java/modules/tool/ideaplugin/plugin/org/apache/idaeplugin/ParameterDialog.java
webservices/axis2/trunk/java/modules/tool/ideaplugin/plugin/org/apache/idaeplugin/bean/OprationObj.java
webservices/axis2/trunk/java/modules/tool/ideaplugin/plugin/org/apache/idaeplugin/frames/DescriptorFile.java
webservices/axis2/trunk/java/modules/tool/ideaplugin/plugin/org/apache/idaeplugin/frames/table/ArchiveTableModel.java
webservices/axis2/trunk/java/modules/wsdl/src/org/apache/axis2/wsdl/java2wsdl/SchemaGenerator.java
Modified: webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/rpc/client/RPCCall.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/rpc/client/RPCCall.java?rev=351824&r1=351823&r2=351824&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/rpc/client/RPCCall.java (original)
+++ webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/rpc/client/RPCCall.java Fri Dec 2 12:01:01 2005
@@ -137,7 +137,7 @@
/**
* This method is used to get OMElement out from an Object array , the object array can contain
- * either RPCRequestParamter or Object (if it is object that should be either JavaBean or a Simple
+ * either RPCRequestParameter or Object (if it is object that should be either JavaBean or a Simple
* TypeObject , other types of object can not handle yet)
* @param opName
* @param args
Modified: webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/rpc/receivers/SimpleTypeMapper.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/rpc/receivers/SimpleTypeMapper.java?rev=351824&r1=351823&r2=351824&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/rpc/receivers/SimpleTypeMapper.java (original)
+++ webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/rpc/receivers/SimpleTypeMapper.java Fri Dec 2 12:01:01 2005
@@ -53,42 +53,42 @@
private static final String FLOAT = "float";
private static final String CHAR = "char";
- public static Object getSimpleTypeObject(Class paramter, OMElement value) {
- if (paramter.getName().equals(STRING)) {
+ public static Object getSimpleTypeObject(Class parameter, OMElement value) {
+ if (parameter.getName().equals(STRING)) {
return value.getText();
- } else if (paramter.getName().equals(INT)) {
+ } else if (parameter.getName().equals(INT)) {
return new Integer(value.getText());
- } else if (paramter.getName().equals(BOOLEAN)) {
+ } else if (parameter.getName().equals(BOOLEAN)) {
return Boolean.valueOf(value.getText());
- } else if (paramter.getName().equals(BYTE)) {
+ } else if (parameter.getName().equals(BYTE)) {
return new Byte(value.getText());
- } else if (paramter.getName().equals(DOUBLE)) {
+ } else if (parameter.getName().equals(DOUBLE)) {
return new Double(value.getText());
- } else if (paramter.getName().equals(SHORT)) {
+ } else if (parameter.getName().equals(SHORT)) {
return new Short(value.getText());
- } else if (paramter.getName().equals(LONG)) {
+ } else if (parameter.getName().equals(LONG)) {
return new Long(value.getText());
- } else if (paramter.getName().equals(FLOAT)) {
+ } else if (parameter.getName().equals(FLOAT)) {
return new Float(value.getText());
- } else if (paramter.getName().equals(CHAR)) {
+ } else if (parameter.getName().equals(CHAR)) {
return new Character(value.getText().toCharArray()[0]);
- } else if (paramter.getName().equals(W_INT)) {
+ } else if (parameter.getName().equals(W_INT)) {
return new Integer(value.getText());
- } else if (paramter.getName().equals(W_BOOLEAN)) {
+ } else if (parameter.getName().equals(W_BOOLEAN)) {
return Boolean.valueOf(value.getText());
- } else if (paramter.getName().equals(W_BYTE)) {
+ } else if (parameter.getName().equals(W_BYTE)) {
return new Byte(value.getText());
- } else if (paramter.getName().equals(W_DOUBLE)) {
+ } else if (parameter.getName().equals(W_DOUBLE)) {
return new Double(value.getText());
- } else if (paramter.getName().equals(W_SHORT)) {
+ } else if (parameter.getName().equals(W_SHORT)) {
return new Short(value.getText());
- } else if (paramter.getName().equals(W_LONG)) {
+ } else if (parameter.getName().equals(W_LONG)) {
return new Long(value.getText());
- } else if (paramter.getName().equals(W_FLOAT)) {
+ } else if (parameter.getName().equals(W_FLOAT)) {
return new Float(value.getText());
- } else if (paramter.getName().equals(W_CHAR)) {
+ } else if (parameter.getName().equals(W_CHAR)) {
return new Character(value.getText().toCharArray()[0]);
- } else if (paramter.getName().equals(W_CALANDER)) {
+ } else if (parameter.getName().equals(W_CALANDER)) {
return makeCalendar(value.getText(),false);
}else {
return null;
Modified: webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/util/BeanSerializerUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/util/BeanSerializerUtil.java?rev=351824&r1=351823&r2=351824&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/util/BeanSerializerUtil.java (original)
+++ webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/util/BeanSerializerUtil.java Fri Dec 2 12:01:01 2005
@@ -233,7 +233,7 @@
*/
public static Object [] deserialize(OMElement response, Object [] javaTypes) throws AxisFault {
/**
- * Take the number of paramters in the method and , only take that much of child elements
+ * Take the number of parameters in the method and , only take that much of child elements
* from the OMElement , other are ignore , as an example
* if the method is , foo(String a , int b)
* and if the OMElemet
@@ -268,7 +268,7 @@
//have to check the instnceof
MultirefHelper helper = new MultirefHelper((OMElement) response.getParent());
boolean hasRef = false;
- //to support array . if the paramter type is array , then all the omelemnts with that paramtre name
+ //to support array . if the parameter type is array , then all the omelemnts with that paramtre name
// has to get and add to the list
Class classType;
while (parts.hasNext() && count < length) {
@@ -330,9 +330,9 @@
int argCount = 0;
for (int i = 0; i < args.length; i++) {
Object arg = args[i];
-//todo if the request paramter has name other than argi (0<i<n) , there should be a
+//todo if the request parameter has name other than argi (0<i<n) , there should be a
//was to do that , to solve that problem we need to have RPCRequestParameter
-//note that The value of request paramter can either be simple type or JavaBean
+//note that The value of request parameter can either be simple type or JavaBean
if (SimpleTypeMapper.isSimpleType(arg)) {
objects.add("arg" + argCount);
objects.add(arg.toString());
Modified: webservices/axis2/trunk/java/modules/common/src/org/apache/axis2/i18n/resource.properties
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/common/src/org/apache/axis2/i18n/resource.properties?rev=351824&r1=351823&r2=351824&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/common/src/org/apache/axis2/i18n/resource.properties (original)
+++ webservices/axis2/trunk/java/modules/common/src/org/apache/axis2/i18n/resource.properties Fri Dec 2 12:01:01 2005
@@ -124,7 +124,7 @@
obsererror=Observer Implementation Class is required
invalidmoduleconfig=Invalid module configuration
invalidhandler=Invalid Handler {0}
-parameterlockederror=The paramter {0} has been locked at top level can not overide
+parameterlockederror=The parameter {0} has been locked at top level can not overide
op_error=Processing Operations Modules {0}
servicenameeror=Service name required
invalid_op=Invalid Operation {0}
Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/AxisConfigBuilder.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/AxisConfigBuilder.java?rev=351824&r1=351823&r2=351824&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/AxisConfigBuilder.java (original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/AxisConfigBuilder.java Fri Dec 2 12:01:01 2005
@@ -54,8 +54,8 @@
try {
OMElement config_element = buildOM();
- //processing Paramters
- //Processing service level paramters
+ //processing Parameters
+ //Processing service level parameters
Iterator itr = config_element.getChildrenWithName(
new QName(PARAMETER));
processParameters(itr, axisConfiguration, axisConfiguration);
@@ -194,8 +194,8 @@
transportout.setSender(transportSender);
//process Parameters
- //processing Paramters
- //Processing service level paramters
+ //processing Parameters
+ //Processing service level parameters
Iterator itr = transport.getChildrenWithName(
new QName(PARAMETER));
processParameters(itr, transportout, axisConfiguration);
@@ -280,8 +280,8 @@
try {
//process Parameters
- //processing Paramters
- //Processing service level paramters
+ //processing Parameters
+ //Processing service level parameters
Iterator itr = transport.getChildrenWithName(
new QName(PARAMETER));
processParameters(itr, transportIN, axisConfiguration);
@@ -363,8 +363,8 @@
Class observerclass = Class.forName(clasName, true, Thread.currentThread().
getContextClassLoader());
observer = (AxisObserver) observerclass.newInstance();
- //processing Paramters
- //Processing service level paramters
+ //processing Parameters
+ //Processing service level parameters
Iterator itr = observerelement.getChildrenWithName(
new QName(PARAMETER));
processParameters(itr, observer, axisConfiguration);
@@ -412,8 +412,8 @@
String module = moduleName_att.getAttributeValue();
ModuleConfiguration moduleConfiguration =
new ModuleConfiguration(new QName(module), parent);
- Iterator paramters = moduleConfig.getChildrenWithName(new QName(PARAMETER));
- processParameters(paramters, moduleConfiguration, parent);
+ Iterator parameters = moduleConfig.getChildrenWithName(new QName(PARAMETER));
+ processParameters(parameters, moduleConfiguration, parent);
config.addModuleConfig(moduleConfiguration);
}
}
Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/DescriptionBuilder.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/DescriptionBuilder.java?rev=351824&r1=351823&r2=351824&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/DescriptionBuilder.java (original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/DescriptionBuilder.java Fri Dec 2 12:01:01 2005
@@ -178,7 +178,7 @@
}
/**
- * To get the Paramter object out from the OM
+ * To get the Parameter object out from the OM
* @param parameters <code>Parameter</code>
* @param parameterInclude <code>ParameterInclude</code>
* @param parent <code>ParameterInclude</code>
@@ -207,7 +207,7 @@
}
parameter.setName(paraName.getAttributeValue());
- //setting paramter Value (the chiled elemnt of the paramter)
+ //setting parameter Value (the chiled elemnt of the parameter)
OMElement paraValue = parameterElement.getFirstElement();
if(paraValue !=null){
parameter.setValue(parameterElement);
@@ -244,7 +244,7 @@
}
if(Constants.WSA_ACTION.equals(paraName.getAttributeValue())){
wsamapping.add(parameter);
- // no need to add this paramter , since this is just for mapping
+ // no need to add this parameter , since this is just for mapping
continue;
}
try {
Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/ModuleBuilder.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/ModuleBuilder.java?rev=351824&r1=351823&r2=351824&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/ModuleBuilder.java (original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/ModuleBuilder.java Fri Dec 2 12:01:01 2005
@@ -72,8 +72,8 @@
}
}
- //processing Paramters
- //Processing service level paramters
+ //processing Parameters
+ //Processing service level parameters
Iterator itr = moduleElement.getChildrenWithName(
new QName(PARAMETER));
processParameters(itr,module,module.getParent());
@@ -173,10 +173,10 @@
// AxisOperation op_descrip = new AxisOperation();
op_descrip.setName(new QName(opname));
- //Operation Paramters
- Iterator paramters = operation.getChildrenWithName(
+ //Operation Parameters
+ Iterator parameters = operation.getChildrenWithName(
new QName(PARAMETER));
- ArrayList wsamapping = processParameters(paramters,op_descrip,module);
+ ArrayList wsamapping = processParameters(parameters,op_descrip,module);
op_descrip.setWsamappingList(wsamapping);
Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/ServiceBuilder.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/ServiceBuilder.java?rev=351824&r1=351823&r2=351824&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/ServiceBuilder.java (original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/ServiceBuilder.java Fri Dec 2 12:01:01 2005
@@ -63,7 +63,7 @@
public AxisService populateService(OMElement service_element) throws DeploymentException {
try {
- //Processing service level paramters
+ //Processing service level parameters
Iterator itr = service_element.getChildrenWithName(
new QName(PARAMETER));
processParameters(itr, service, service.getParent());
@@ -128,8 +128,8 @@
AxisOperation operationDesc = (AxisOperation) ops.get(i);
ArrayList wsamappings = operationDesc.getWsamappingList();
for (int j = 0; j < wsamappings.size(); j++) {
- Parameter paramter = (Parameter) wsamappings.get(j);
- service.addMapping((String) paramter.getValue(), operationDesc);
+ Parameter parameter = (Parameter) wsamappings.get(j);
+ service.addMapping((String) parameter.getValue(), operationDesc);
}
service.addOperation(operationDesc);
}
@@ -197,10 +197,10 @@
}
}
- //Operation Paramters
- Iterator paramters = operation.getChildrenWithName(
+ //Operation Parameters
+ Iterator parameters = operation.getChildrenWithName(
new QName(PARAMETER));
- ArrayList wsamappings = processParameters(paramters, op_descrip, service);
+ ArrayList wsamappings = processParameters(parameters, op_descrip, service);
op_descrip.setWsamappingList(wsamappings);
// loading the message receivers
OMElement receiverElement = operation.getFirstChildWithName(
@@ -248,8 +248,8 @@
throw new DeploymentException("message lebel can not be null");
}
AxisMessage message = new AxisMessage();
- Iterator paramters = messageElement.getChildrenWithName(new QName(PARAMETER));
- processParameters(paramters, message, operation);
+ Iterator parameters = messageElement.getChildrenWithName(new QName(PARAMETER));
+ processParameters(parameters, message, operation);
operation.addMessage(message, lable.getAttributeValue().trim());
}
@@ -269,8 +269,8 @@
String module = moduleName_att.getAttributeValue();
ModuleConfiguration moduleConfiguration =
new ModuleConfiguration(new QName(module), parent);
- Iterator paramters = moduleConfig.getChildrenWithName(new QName(PARAMETER));
- processParameters(paramters, moduleConfiguration, parent);
+ Iterator parameters = moduleConfig.getChildrenWithName(new QName(PARAMETER));
+ processParameters(parameters, moduleConfiguration, parent);
service.addModuleConfig(moduleConfiguration);
}
}
@@ -291,8 +291,8 @@
String module = moduleName_att.getAttributeValue();
ModuleConfiguration moduleConfiguration =
new ModuleConfiguration(new QName(module), parent);
- Iterator paramters = moduleConfig.getChildrenWithName(new QName(PARAMETER));
- processParameters(paramters, moduleConfiguration, parent);
+ Iterator parameters = moduleConfig.getChildrenWithName(new QName(PARAMETER));
+ processParameters(parameters, moduleConfiguration, parent);
operation.addModuleConfig(moduleConfiguration);
}
}
Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/ServiceGroupBuilder.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/ServiceGroupBuilder.java?rev=351824&r1=351823&r2=351824&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/ServiceGroupBuilder.java (original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/ServiceGroupBuilder.java Fri Dec 2 12:01:01 2005
@@ -48,7 +48,7 @@
public ArrayList populateServiceGroup(AxisServiceGroup axisServiceGroup) throws DeploymentException {
ArrayList serviceList = new ArrayList();
try {
- //Processing service level paramters
+ //Processing service level parameters
Iterator itr = servcice.getChildrenWithName(
new QName(PARAMETER));
processParameters(itr, axisServiceGroup, axisServiceGroup.getParent());
@@ -105,8 +105,8 @@
String module = moduleName_att.getAttributeValue();
ModuleConfiguration moduleConfiguration =
new ModuleConfiguration(new QName(module), parent);
- Iterator paramters = moduleConfig.getChildrenWithName(new QName(PARAMETER));
- processParameters(paramters, moduleConfiguration, parent);
+ Iterator parameters = moduleConfig.getChildrenWithName(new QName(PARAMETER));
+ processParameters(parameters, moduleConfiguration, parent);
axisService.addModuleConfig(moduleConfiguration);
}
}
Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/axis2.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/axis2.xml?rev=351824&r1=351823&r2=351824&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/axis2.xml (original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/axis2.xml Fri Dec 2 12:01:01 2005
@@ -86,7 +86,7 @@
<module ref="addressing"/>
- <!--Configuring module , providing paramters for modules whether they refer or not-->
+ <!--Configuring module , providing parameters for modules whether they refer or not-->
<!--<moduleConfig name="addressing">-->
<!--<parameter name="addressingPara" locked="false">N/A</parameter>-->
<!--</moduleConfig>-->
Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/AxisMessage.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/AxisMessage.java?rev=351824&r1=351823&r2=351824&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/AxisMessage.java (original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/AxisMessage.java Fri Dec 2 12:01:01 2005
@@ -30,12 +30,12 @@
public class AxisMessage implements ParameterInclude {
- private ParameterInclude paramterinclude;
+ private ParameterInclude parameterinclude;
private ArrayList operationFlow;
private AxisOperation parent;
public AxisMessage() {
- paramterinclude = new ParameterIncludeImpl();
+ parameterinclude = new ParameterIncludeImpl();
operationFlow = new ArrayList();
}
@@ -46,34 +46,34 @@
if (isParameterLocked(param.getName())) {
throw new AxisFault("Parmter is locked can not overide: " + param.getName());
} else {
- paramterinclude.addParameter(param);
+ parameterinclude.addParameter(param);
}
}
public Parameter getParameter(String name) {
- return paramterinclude.getParameter(name);
+ return parameterinclude.getParameter(name);
}
public ArrayList getParameters() {
- return paramterinclude.getParameters();
+ return parameterinclude.getParameters();
}
- public boolean isParameterLocked(String paramterName) {
+ public boolean isParameterLocked(String parameterName) {
// checking the locked value of parent
boolean loscked = false;
if (getParent() != null) {
- loscked = getParent().isParameterLocked(paramterName);
+ loscked = getParent().isParameterLocked(parameterName);
}
if (loscked) {
return true;
} else {
- Parameter parameter = getParameter(paramterName);
+ Parameter parameter = getParameter(parameterName);
return parameter != null && parameter.isLocked();
}
}
public void deserializeParameters(OMElement parameterElement) throws AxisFault {
- paramterinclude.deserializeParameters(parameterElement);
+ parameterinclude.deserializeParameters(parameterElement);
}
public ArrayList getMessageFlow() {
Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/AxisOperation.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/AxisOperation.java?rev=351824&r1=351823&r2=351824&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/AxisOperation.java (original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/AxisOperation.java Fri Dec 2 12:01:01 2005
@@ -251,17 +251,17 @@
this.parent = parent;
}
- //to check whether a given paramter is locked
- public boolean isParameterLocked(String paramterName) {
+ //to check whether a given parameter is locked
+ public boolean isParameterLocked(String parameterName) {
// checking the locked value of parent
boolean loscked = false;
if (getParent() != null) {
- loscked = getParent().isParameterLocked(paramterName);
+ loscked = getParent().isParameterLocked(parameterName);
}
if (loscked) {
return true;
} else {
- Parameter parameter = getParameter(paramterName);
+ Parameter parameter = getParameter(parameterName);
return parameter != null && parameter.isLocked();
}
}
Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/AxisService.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/AxisService.java?rev=351824&r1=351823&r2=351824&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/AxisService.java (original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/AxisService.java Fri Dec 2 12:01:01 2005
@@ -163,8 +163,8 @@
AxisOperation axisOperation = copyOperation((AxisOperation) iterator.next());
ArrayList wsamappings = axisOperation.getWsamappingList();
for (int j = 0; j < wsamappings.size(); j++) {
- Parameter paramter = (Parameter) wsamappings.get(j);
- this.addMapping((String) paramter.getValue(), axisOperation);
+ Parameter parameter = (Parameter) wsamappings.get(j);
+ this.addMapping((String) parameter.getValue(), axisOperation);
}
//this opration is a control operation.
axisOperation.setControlOperation(true);
@@ -851,18 +851,18 @@
this.parent = parent;
}
- //to check whether a given paramter is locked
- public boolean isParameterLocked(String paramterName) {
+ //to check whether a given parameter is locked
+ public boolean isParameterLocked(String parameterName) {
// checking the locked value of parent
boolean loscked = false;
if (getParent() != null) {
- loscked = getParent().getAxisDescription().isParameterLocked(paramterName);
+ loscked = getParent().getAxisDescription().isParameterLocked(parameterName);
}
if (loscked) {
return true;
} else {
- Parameter parameter = getParameter(paramterName);
+ Parameter parameter = getParameter(parameterName);
return parameter != null && parameter.isLocked();
}
}
Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/AxisServiceGroup.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/AxisServiceGroup.java?rev=351824&r1=351823&r2=351824&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/AxisServiceGroup.java (original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/AxisServiceGroup.java Fri Dec 2 12:01:01 2005
@@ -32,7 +32,7 @@
public class AxisServiceGroup implements ParameterInclude {
- //to add and get paramters
+ //to add and get parameters
protected ParameterInclude paramInclude;
private Log log = LogFactory.getLog(getClass());
@@ -40,7 +40,7 @@
// to keep name of the service group
private String serviceGroupName;
- // to keep the parent of service group , to chcek paramter lock checking and serching
+ // to keep the parent of service group , to chcek parameter lock checking and serching
private AxisConfiguration parent;
/**
@@ -84,17 +84,17 @@
return paramInclude.getParameters();
}
- public boolean isParameterLocked(String paramterName) {
+ public boolean isParameterLocked(String parameterName) {
// checking the locked value of parent
boolean loscked = false;
if (getParent() != null) {
- loscked = getParent().isParameterLocked(paramterName);
+ loscked = getParent().isParameterLocked(parameterName);
}
if (loscked) {
return true;
} else {
- Parameter parameter = getParameter(paramterName);
+ Parameter parameter = getParameter(parameterName);
return parameter != null && parameter.isLocked();
}
}
Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/HandlerDescription.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/HandlerDescription.java?rev=351824&r1=351823&r2=351824&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/HandlerDescription.java (original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/HandlerDescription.java Fri Dec 2 12:01:01 2005
@@ -127,14 +127,14 @@
return parameterInclude.getParameters();
}
- //to check whether the paramter is locked at any levle
- public boolean isParameterLocked(String paramterName) {
+ //to check whether the parameter is locked at any levle
+ public boolean isParameterLocked(String parameterName) {
if(parent != null){
- if(parent.isParameterLocked(paramterName)){
+ if(parent.isParameterLocked(parameterName)){
return true;
}
}
- return parameterInclude.isParameterLocked(paramterName);
+ return parameterInclude.isParameterLocked(parameterName);
}
public void deserializeParameters(OMElement parameterElement) throws AxisFault {
Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/ModuleConfiguration.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/ModuleConfiguration.java?rev=351824&r1=351823&r2=351824&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/ModuleConfiguration.java (original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/ModuleConfiguration.java Fri Dec 2 12:01:01 2005
@@ -24,25 +24,25 @@
/**
* This is to store deployment time data , described by
* <moduleConfig module="modulename">
- * <paramter> ....</parameter>
+ * <parameter> ....</parameter>
* </moduleConfig>
*
- * for the initilal stage this just keep set of paramters , but when the time
+ * for the initilal stage this just keep set of parameters , but when the time
* bean will be store more
*/
public class ModuleConfiguration implements ParameterInclude{
private QName moduleName;
- private ParameterInclude paramterinclude;
+ private ParameterInclude parameterinclude;
- //to keep the pointer to its parent , only to access paramters
+ //to keep the pointer to its parent , only to access parameters
private ParameterInclude parent;
public ModuleConfiguration(QName moduleName, ParameterInclude parent) {
this.moduleName = moduleName;
this.parent = parent;
- paramterinclude = new ParameterIncludeImpl();
+ parameterinclude = new ParameterIncludeImpl();
}
public QName getModuleName() {
@@ -53,34 +53,34 @@
if(isParameterLocked(param.getName())){
throw new AxisFault("Parmter is locked can not overide: " + param.getName());
} else{
- paramterinclude.addParameter(param);
+ parameterinclude.addParameter(param);
}
}
public Parameter getParameter(String name) {
- return paramterinclude.getParameter(name);
+ return parameterinclude.getParameter(name);
}
public ArrayList getParameters() {
- return paramterinclude.getParameters();
+ return parameterinclude.getParameters();
}
- public boolean isParameterLocked(String paramterName) {
+ public boolean isParameterLocked(String parameterName) {
// checking the locked value of parent
boolean loscked = false;
if (parent !=null) {
- loscked = parent.isParameterLocked(paramterName);
+ loscked = parent.isParameterLocked(parameterName);
}
if(loscked){
return true;
} else {
- Parameter parameter = getParameter(paramterName);
+ Parameter parameter = getParameter(parameterName);
return parameter != null && parameter.isLocked();
}
}
public void deserializeParameters(OMElement parameterElement) throws AxisFault {
- this.paramterinclude.deserializeParameters(parameterElement);
+ this.parameterinclude.deserializeParameters(parameterElement);
}
}
Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/ModuleDescription.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/ModuleDescription.java?rev=351824&r1=351823&r2=351824&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/ModuleDescription.java (original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/ModuleDescription.java Fri Dec 2 12:01:01 2005
@@ -196,17 +196,17 @@
this.parent = parent;
}
- //to check whether a given paramter is locked
- public boolean isParameterLocked(String paramterName) {
+ //to check whether a given parameter is locked
+ public boolean isParameterLocked(String parameterName) {
// checking the locked value of parent
boolean loscked = false;
if (getParent() !=null) {
- loscked= getParent().isParameterLocked(paramterName);
+ loscked= getParent().isParameterLocked(parameterName);
}
if(loscked){
return true;
} else {
- Parameter parameter = getParameter(paramterName);
+ Parameter parameter = getParameter(parameterName);
if(parameter != null && parameter.isLocked()){
return true;
} else {
Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/Parameter.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/Parameter.java?rev=351824&r1=351823&r2=351824&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/Parameter.java (original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/Parameter.java Fri Dec 2 12:01:01 2005
@@ -84,7 +84,7 @@
public void setParameterType(int type);
/**
- * Paramter can be any thing it can be XML element with number of child elements , so if some
+ * Parameter can be any thing it can be XML element with number of child elements , so if some
* one wants to access the XML elemet we need to store that , at the deployment time , to store
* the XMLelment of the parameter can use this method it will store whole
* <parameter name="ServiceClass1" locked="false">org.apache.axis2.sample.echo.EchoImpl</parameter>
@@ -95,7 +95,7 @@
public void setParameterElement(OMElement element);
/**
- * To get the whole paramter element
+ * To get the whole parameter element
* @return <code>OMElement<code>
*/
public OMElement getParameterElement();
Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/ParameterInclude.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/ParameterInclude.java?rev=351824&r1=351823&r2=351824&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/ParameterInclude.java (original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/ParameterInclude.java Fri Dec 2 12:01:01 2005
@@ -53,7 +53,7 @@
* to check whether the parameter is locked at any level
*/
- boolean isParameterLocked(String paramterName);
+ boolean isParameterLocked(String parameterName);
public void deserializeParameters(OMElement parameterElement) throws AxisFault;
Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/ParameterIncludeImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/ParameterIncludeImpl.java?rev=351824&r1=351823&r2=351824&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/ParameterIncludeImpl.java (original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/ParameterIncludeImpl.java Fri Dec 2 12:01:01 2005
@@ -34,13 +34,13 @@
/**
* Field parmeters
*/
- protected final HashMap parmeters;
+ protected final HashMap parameters;
/**
* Constructor ParameterIncludeImpl
*/
public ParameterIncludeImpl() {
- parmeters = new HashMap();
+ parameters = new HashMap();
}
/**
@@ -50,7 +50,7 @@
*/
public void addParameter(Parameter param) {
if (param != null) {
- parmeters.put(param.getName(), param);
+ parameters.put(param.getName(), param);
}
}
@@ -58,14 +58,14 @@
* Method getParameter
*
* @param name
- * @return
+ * @return parameter
*/
public Parameter getParameter(String name) {
- return (Parameter) parmeters.get(name);
+ return (Parameter) parameters.get(name);
}
public ArrayList getParameters() {
- Collection col = parmeters.values();
+ Collection col = parameters.values();
ArrayList para_list = new ArrayList();
for (Iterator iterator = col.iterator(); iterator.hasNext();) {
Parameter parameter = (Parameter) iterator.next();
@@ -74,22 +74,22 @@
return para_list;
}
- //to check whether the paramter is locked at any levle
- public boolean isParameterLocked(String paramterName) {
+ //to check whether the parameter is locked at any levle
+ public boolean isParameterLocked(String parameterName) {
return false;
}
/**
- * At the run time it can be able to change paramters , and system can save at any time and
+ * At the run time it can be able to change parameters , and system can save at any time and
* to get the original state this method can be used
- * @param paramters <code>OMElement</code>
+ * @param parameters <code>OMElement</code>
* @throws org.apache.axis2.AxisFault
*/
- public void deserializeParameters(OMElement paramters) throws AxisFault {
- Iterator parameters = paramters.getChildrenWithName(new QName(DeploymentConstants.PARAMETER));
- while (parameters.hasNext()) {
+ public void deserializeParameters(OMElement parameters) throws AxisFault {
+ Iterator iterator = parameters.getChildrenWithName(new QName(DeploymentConstants.PARAMETER));
+ while (iterator.hasNext()) {
//this is to check whether some one has locked the parmter at the top level
- OMElement parameterElement = (OMElement) parameters.next();
+ OMElement parameterElement = (OMElement) iterator.next();
Parameter parameter = new ParameterImpl();
//setting parameterElement
@@ -100,7 +100,7 @@
new QName(DeploymentConstants.ATTNAME));
parameter.setName(paraName.getAttributeValue());
- //setting paramter Value (the chiled elemnt of the paramter)
+ //setting parameter Value (the chiled elemnt of the parameter)
OMElement paraValue = parameterElement.getFirstElement();
if(paraValue !=null){
parameter.setValue(parameterElement);
Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/TransportInDescription.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/TransportInDescription.java?rev=351824&r1=351823&r2=351824&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/TransportInDescription.java (original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/TransportInDescription.java Fri Dec 2 12:01:01 2005
@@ -89,9 +89,9 @@
return paramInclude.getParameters();
}
- //to check whether the paramter is locked at any levle
- public boolean isParameterLocked(String paramterName) {
- return paramInclude.isParameterLocked(paramterName);
+ //to check whether the parameter is locked at any levle
+ public boolean isParameterLocked(String parameterName) {
+ return paramInclude.isParameterLocked(parameterName);
}
public void deserializeParameters(OMElement parameterElement) throws AxisFault {
Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/TransportOutDescription.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/TransportOutDescription.java?rev=351824&r1=351823&r2=351824&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/TransportOutDescription.java (original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/TransportOutDescription.java Fri Dec 2 12:01:01 2005
@@ -83,9 +83,9 @@
return paramInclude.getParameters();
}
- //to check whether the paramter is locked at any levle
- public boolean isParameterLocked(String paramterName) {
- return paramInclude.isParameterLocked(paramterName);
+ //to check whether the parameter is locked at any levle
+ public boolean isParameterLocked(String parameterName) {
+ return paramInclude.isParameterLocked(parameterName);
}
public void deserializeParameters(OMElement parameterElement) throws AxisFault {
Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/engine/AxisConfiguration.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/engine/AxisConfiguration.java?rev=351824&r1=351823&r2=351824&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/engine/AxisConfiguration.java (original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/engine/AxisConfiguration.java Fri Dec 2 12:01:01 2005
@@ -318,8 +318,8 @@
return parameter != null && parameter.isLocked();
}
- public void deserializeParameters(OMElement paramters) throws AxisFault {
- this.paramInclude.deserializeParameters(paramters);
+ public void deserializeParameters(OMElement parameters) throws AxisFault {
+ this.paramInclude.deserializeParameters(parameters);
}
public AxisServiceGroup getServiceGroup(String serviceNameAndGroupString) {
Modified: webservices/axis2/trunk/java/modules/core/test-resources/deployment/hostConfigrepo/axis2.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/test-resources/deployment/hostConfigrepo/axis2.xml?rev=351824&r1=351823&r2=351824&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/test-resources/deployment/hostConfigrepo/axis2.xml (original)
+++ webservices/axis2/trunk/java/modules/core/test-resources/deployment/hostConfigrepo/axis2.xml Fri Dec 2 12:01:01 2005
@@ -84,7 +84,7 @@
<!-- ================================================= -->
- <!--Configuring module , providing paramters for modules whether they refer or not-->
+ <!--Configuring module , providing parameters for modules whether they refer or not-->
<!--<moduleConfig name="addressing">-->
<!--<parameter name="addressingPara" locked="false">N/A</parameter>-->
<!--</moduleConfig>-->
Modified: webservices/axis2/trunk/java/modules/core/test/org/apache/axis2/deployment/AxisObserverImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/test/org/apache/axis2/deployment/AxisObserverImpl.java?rev=351824&r1=351823&r2=351824&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/test/org/apache/axis2/deployment/AxisObserverImpl.java (original)
+++ webservices/axis2/trunk/java/modules/core/test/org/apache/axis2/deployment/AxisObserverImpl.java Fri Dec 2 12:01:01 2005
@@ -27,11 +27,11 @@
public class AxisObserverImpl implements AxisObserver{
- ParameterIncludeImpl paramterimpl;
+ ParameterIncludeImpl parameterimpl;
//The initilization code will go here
public void init() {
- paramterimpl = new ParameterIncludeImpl();
+ parameterimpl = new ParameterIncludeImpl();
}
public void update(AxisEvent event) {
@@ -48,12 +48,12 @@
return null;
}
- //to check whether the paramter is locked at any levle
- public boolean isParameterLocked(String paramterName) {
+ //to check whether the parameter is locked at any levle
+ public boolean isParameterLocked(String parameterName) {
return false;
}
public void deserializeParameters(OMElement parameterElement) throws AxisFault {
- this.paramterimpl.deserializeParameters(parameterElement);
+ this.parameterimpl.deserializeParameters(parameterElement);
}
}
Copied: webservices/axis2/trunk/java/modules/core/test/org/apache/axis2/engine/ParameterAddTest.java (from r351807, webservices/axis2/trunk/java/modules/core/test/org/apache/axis2/engine/ParamterAddTest.java)
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/test/org/apache/axis2/engine/ParameterAddTest.java?p2=webservices/axis2/trunk/java/modules/core/test/org/apache/axis2/engine/ParameterAddTest.java&p1=webservices/axis2/trunk/java/modules/core/test/org/apache/axis2/engine/ParamterAddTest.java&r1=351807&r2=351824&rev=351824&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/test/org/apache/axis2/engine/ParamterAddTest.java (original)
+++ webservices/axis2/trunk/java/modules/core/test/org/apache/axis2/engine/ParameterAddTest.java Fri Dec 2 12:01:01 2005
@@ -30,10 +30,10 @@
* To chcek locked is working corrcetly
*/
-public class ParamterAddTest extends TestCase {
+public class ParameterAddTest extends TestCase {
private AxisConfiguration reg = new AxisConfiguration();
- public void testAddParamterServiceLockedAtAxisConfig(){
+ public void testAddParameterServiceLockedAtAxisConfig(){
try {
Parameter para = new ParameterImpl();
para.setValue(null);
@@ -50,7 +50,7 @@
}
}
- public void testAddParamterModuleLockedAtAxisConfig(){
+ public void testAddParameterModuleLockedAtAxisConfig(){
try {
Parameter para = new ParameterImpl();
para.setValue(null);
@@ -66,7 +66,7 @@
}
}
- public void testAddParamterOperationlockedByAxisConfig(){
+ public void testAddParameterOperationlockedByAxisConfig(){
try {
Parameter para = new ParameterImpl();
para.setValue(null);
@@ -88,7 +88,7 @@
}
}
- public void testAddParamterOperationLockebyService(){
+ public void testAddParameterOperationLockebyService(){
try {
Parameter para = new ParameterImpl();
para.setValue(null);
Copied: webservices/axis2/trunk/java/modules/core/test/org/apache/axis2/engine/ParameterLocked.java (from r351744, webservices/axis2/trunk/java/modules/core/test/org/apache/axis2/engine/ParamterLocked.java)
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/test/org/apache/axis2/engine/ParameterLocked.java?p2=webservices/axis2/trunk/java/modules/core/test/org/apache/axis2/engine/ParameterLocked.java&p1=webservices/axis2/trunk/java/modules/core/test/org/apache/axis2/engine/ParamterLocked.java&r1=351744&r2=351824&rev=351824&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/test/org/apache/axis2/engine/ParamterLocked.java (original)
+++ webservices/axis2/trunk/java/modules/core/test/org/apache/axis2/engine/ParameterLocked.java Fri Dec 2 12:01:01 2005
@@ -29,7 +29,7 @@
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.InputStream;
-public class ParamterLocked extends TestCase {
+public class ParameterLocked extends TestCase {
AxisConfiguration ar;
String repo ="./test-resources/deployment/ParaLockedRepo";
Modified: webservices/axis2/trunk/java/modules/tool/ideaplugin/plugin/org/apache/idaeplugin/ParameterDialog.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/tool/ideaplugin/plugin/org/apache/idaeplugin/ParameterDialog.java?rev=351824&r1=351823&r2=351824&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/tool/ideaplugin/plugin/org/apache/idaeplugin/ParameterDialog.java (original)
+++ webservices/axis2/trunk/java/modules/tool/ideaplugin/plugin/org/apache/idaeplugin/ParameterDialog.java Fri Dec 2 12:01:01 2005
@@ -54,10 +54,10 @@
getContentPane().setBounds(150,150,300,180);
insets = getInsets();
- paraName = new JLabel("Paramter Name: ");
+ paraName = new JLabel("Parameter Name: ");
getContentPane().add(paraName);
- paravale = new JLabel("Paramter Value: ");
+ paravale = new JLabel("Parameter Value: ");
getContentPane().add(paravale);
Modified: webservices/axis2/trunk/java/modules/tool/ideaplugin/plugin/org/apache/idaeplugin/bean/OprationObj.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/tool/ideaplugin/plugin/org/apache/idaeplugin/bean/OprationObj.java?rev=351824&r1=351823&r2=351824&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/tool/ideaplugin/plugin/org/apache/idaeplugin/bean/OprationObj.java (original)
+++ webservices/axis2/trunk/java/modules/tool/ideaplugin/plugin/org/apache/idaeplugin/bean/OprationObj.java Fri Dec 2 12:01:01 2005
@@ -25,14 +25,14 @@
public class OprationObj {
private String OpName ;
- private String ReturnVale;
- private Integer paramters;
+ private String ReturnValue;
+ private Integer parameters;
private Boolean select;
- public OprationObj(String opName, String returnVale, Integer paramters, Boolean select) {
+ public OprationObj(String opName, String returnVale, Integer parameters, Boolean select) {
OpName = opName;
- ReturnVale = returnVale;
- this.paramters = paramters;
+ ReturnValue = returnVale;
+ this.parameters = parameters;
this.select = select;
}
@@ -45,20 +45,20 @@
OpName = opName;
}
- public String getReturnVale() {
- return ReturnVale;
+ public String getReturnValue() {
+ return ReturnValue;
}
- public void setReturnVale(String returnVale) {
- ReturnVale = returnVale;
+ public void setReturnValue(String returnValue) {
+ ReturnValue = returnValue;
}
- public Integer getParamters() {
- return paramters;
+ public Integer getParameters() {
+ return parameters;
}
- public void setParamters(Integer paramters) {
- this.paramters = paramters;
+ public void setParameters(Integer parameters) {
+ this.parameters = parameters;
}
public Boolean getSelect() {
@@ -72,8 +72,8 @@
public void printMe(){
System.out.println("======== Row =============");
System.out.println("OpName = " + OpName);
- System.out.println("paramters = " + paramters);
- System.out.println("ReturnVale = " + ReturnVale);
+ System.out.println("parameters = " + parameters);
+ System.out.println("ReturnValue = " + ReturnValue);
System.out.println("select = " + select);
System.out.println("==========================");
}
Modified: webservices/axis2/trunk/java/modules/tool/ideaplugin/plugin/org/apache/idaeplugin/frames/DescriptorFile.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/tool/ideaplugin/plugin/org/apache/idaeplugin/frames/DescriptorFile.java?rev=351824&r1=351823&r2=351824&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/tool/ideaplugin/plugin/org/apache/idaeplugin/frames/DescriptorFile.java (original)
+++ webservices/axis2/trunk/java/modules/tool/ideaplugin/plugin/org/apache/idaeplugin/frames/DescriptorFile.java Fri Dec 2 12:01:01 2005
@@ -118,7 +118,7 @@
}
public String getLable() {
- return "Edit description file add paramters and module references";
+ return "Edit description file add parameters and module references";
}
}
Modified: webservices/axis2/trunk/java/modules/tool/ideaplugin/plugin/org/apache/idaeplugin/frames/table/ArchiveTableModel.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/tool/ideaplugin/plugin/org/apache/idaeplugin/frames/table/ArchiveTableModel.java?rev=351824&r1=351823&r2=351824&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/tool/ideaplugin/plugin/org/apache/idaeplugin/frames/table/ArchiveTableModel.java (original)
+++ webservices/axis2/trunk/java/modules/tool/ideaplugin/plugin/org/apache/idaeplugin/frames/table/ArchiveTableModel.java Fri Dec 2 12:01:01 2005
@@ -30,7 +30,7 @@
*/
public class ArchiveTableModel extends AbstractTableModel {
- final String[] columnNames = {"Operation Name", "Return Value", "Paramters ", "Select"};
+ final String[] columnNames = {"Operation Name", "Return Value", "Parameters ", "Select"};
Object [][] datvalue;
private HashMap datobjs;
@@ -42,8 +42,8 @@
while (itr.hasNext()) {
OprationObj oprationObj = (OprationObj) itr.next();
datvalue[count][0]=oprationObj.getOpName();
- datvalue[count][1]=oprationObj.getReturnVale();
- datvalue[count][2]=oprationObj.getParamters();
+ datvalue[count][1]=oprationObj.getReturnValue();
+ datvalue[count][2]=oprationObj.getParameters();
datvalue[count][3]=oprationObj.getSelect();
count ++;
}
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=351824&r1=351823&r2=351824&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 2 12:01:01 2005
@@ -92,8 +92,8 @@
/**
* Schema genertaion done in two stage
- * 1. Load all the methods and create type for methods paramters (if the paramters are
- * Bean then it will create Complex types for those , and if the paramters are simple
+ * 1. Load all the methods and create type for methods parameters (if the parameters are
+ * Bean then it will create Complex types for those , and if the parameters are simple
* type which decribe in SimpleTypeTable nothing will happen)
* 2. In the next stage for all the methods messages and port types will be
* creteated
@@ -107,8 +107,8 @@
// jMethod.getAnnotations();
JParameter [] paras = jMethod.getParameters();
for (int j = 0; j < paras.length; j++) {
- JParameter methodParamter = paras[j];
- JClass paraType = methodParamter.getType();
+ JParameter methodParameter = paras[j];
+ JClass paraType = methodParameter.getType();
String classTypeName = paraType.getQualifiedName();
if (paraType.isArrayType()) {
classTypeName = paraType.getArrayComponentType().getQualifiedName();
@@ -117,7 +117,7 @@
}
} else {
if (!typeTable.isSimpleType(classTypeName)) {
- generateSchema(methodParamter.getType());
+ generateSchema(methodParameter.getType());
}
}
/**
@@ -153,8 +153,8 @@
* To generate wrapper element , if a method take more than one parameter
* if the method look like foo(Type1 para1, Type2 para2){}
* will creat e Wrapper element like
- * <element name="fooInParameter type="tns:fooInParamterElement"">
- * <complexType name="fooInParamterElement">
+ * <element name="fooInParameter type="tns:fooInParameterElement"">
+ * <complexType name="fooInParameterElement">
* <sequnce>
* <element name="para1" type="tns:Type1">
* <element name="para2" type="tns:Type2">
@@ -193,15 +193,15 @@
complexType.setParticle(sequence);
}
for (int j = 0; j < paras.length; j++) {
- JParameter methodParamter = paras[j];
- String classTypeName = methodParamter.getType().getQualifiedName();
- boolean isArryType = methodParamter.getType().isArrayType();
+ JParameter methodParameter = paras[j];
+ String classTypeName = methodParameter.getType().getQualifiedName();
+ boolean isArryType = methodParameter.getType().isArrayType();
if (isArryType) {
- classTypeName = methodParamter.getType().getArrayComponentType().getQualifiedName();
+ classTypeName = methodParameter.getType().getArrayComponentType().getQualifiedName();
}
if (typeTable.isSimpleType(classTypeName)) {
XmlSchemaElement elt1 = new XmlSchemaElement();
- elt1.setName(methodParamter.getSimpleName());
+ elt1.setName(methodParameter.getSimpleName());
elt1.setSchemaTypeName(typeTable.getSimpleSchemaTypeName(classTypeName));
sequence.getItems().add(elt1);
if (isArryType) {
@@ -209,7 +209,7 @@
}
} else {
XmlSchemaElement elt1 = new XmlSchemaElement();
- elt1.setName(methodParamter.getSimpleName());
+ elt1.setName(methodParameter.getSimpleName());
elt1.setSchemaTypeName(typeTable.getComplexScheamType(classTypeName));
sequence.getItems().add(elt1);
if (isArryType) {