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 ru...@apache.org on 2006/10/02 14:59:11 UTC
svn commit: r452021 - in
/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description:
AxisDescription.java AxisMessage.java AxisModule.java AxisOperation.java
AxisOperationFactory.java AxisService.java
Author: ruchithf
Date: Mon Oct 2 05:59:10 2006
New Revision: 452021
URL: http://svn.apache.org/viewvc?view=rev&rev=452021
Log:
fixing typos
Modified:
webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisDescription.java
webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisMessage.java
webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisModule.java
webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisOperation.java
webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisOperationFactory.java
webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisService.java
Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisDescription.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisDescription.java?view=diff&rev=452021&r1=452020&r2=452021
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisDescription.java (original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisDescription.java Mon Oct 2 05:59:10 2006
@@ -145,7 +145,7 @@
*
* (1) Engage whatever modules necessary to execute new the effective policy
* of this AxisDescription instance. (2) Disengage whatever modules that are
- * not necessary to excute the new effective policy of this AxisDescription
+ * not necessary to execute the new effective policy of this AxisDescription
* instance. (3) Check whether each module can execute the new effective
* policy of this AxisDescription instance. (4) If not throw an AxisFault to
* notify the user. (5) Else notify each module about the new effective
@@ -157,7 +157,7 @@
* parent of this AxisDescription.
* @throws AxisFault
* if any module is unable to execute the effective policy of
- * this AxisDescription instance sucessfully or no module to
+ * this AxisDescription instance successfully or no module to
* execute some portion (one or more PrimtiveAssertions ) of
* that effective policy.
*/
@@ -291,7 +291,7 @@
public abstract Object getKey();
/**
- * Engagaging a module to diferrent level
+ * Engaging a module to different level
*
* @param axisModule
* @param axisConfig
Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisMessage.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisMessage.java?view=diff&rev=452021&r1=452020&r2=452021
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisMessage.java (original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisMessage.java Mon Oct 2 05:59:10 2006
@@ -31,7 +31,7 @@
/**
* This class represents the messages in WSDL. There can be message element in services.xml
- * which are representd by this class.
+ * which are represented by this class.
*/
public class AxisMessage extends AxisDescription {
@@ -39,7 +39,7 @@
private String name;
private ArrayList soapHeaders;
- //to keep data in WSDL message refference and to keep the Java2WSDL data
+ //to keep data in WSDL message reference and to keep the Java2WSDL data
// such as SchemaElementName , direction etc.
private QName elementQname;
private String direction;
Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisModule.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisModule.java?view=diff&rev=452021&r1=452020&r2=452021
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisModule.java (original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisModule.java Mon Oct 2 05:59:10 2006
@@ -35,7 +35,7 @@
* <li>handlers<li>
* <ol>
* <p>Handler are registered once they are available. They are available to all services if axis2.xml
- * has a module ref="." or avalible to a single service if services.xml have module ref=".."</p>
+ * has a module ref="." or available to a single service if services.xml have module ref=".."</p>
*/
public class AxisModule implements FlowInclude, ParameterInclude {
@@ -63,7 +63,7 @@
private AxisConfiguration parent;
/*
- * to store policies which are falid for any service for which the module is
+ * to store policies which are valid for any service for which the module is engaged
*/
private PolicyInclude policyInclude = null;
Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisOperation.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisOperation.java?view=diff&rev=452021&r1=452020&r2=452021
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisOperation.java (original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisOperation.java Mon Oct 2 05:59:10 2006
@@ -59,7 +59,7 @@
private MessageReceiver messageReceiver;
private HashMap moduleConfigmap;
- // To store deploytime module refs
+ // To store deploy-time module refs
private ArrayList modulerefs;
private ArrayList faultMessages;
@@ -89,7 +89,7 @@
/**
* Adds a message context into an operation context. Depending on MEPs, this
* method has to be overridden.
- * Depending on the mep operation description know how to fill the message context map
+ * Depending on the MEP operation description know how to fill the message context map
* in operationContext.
* As an example, if the MEP is IN-OUT then depending on messagable operation description
* should know how to keep them in correct locations.
@@ -215,14 +215,14 @@
HashMap map = module.getOperations();
Collection col = map.values();
PhaseResolver phaseResolver = new PhaseResolver(axisConfig);
- //this arry list is retun , to avoid concurrent modifications , in the deployment engine
+ //this array list is return , to avoid concurrent modifications , in the deployment engine
ArrayList ops = new ArrayList();
for (Iterator iterator = col.iterator(); iterator.hasNext();) {
AxisOperation axisOperation = copyOperation((AxisOperation) iterator.next());
axisOperation.setParent(service);
ArrayList wsamappings = axisOperation.getWsamappingList();
if (service.getOperation(axisOperation.getName()) == null) {
- // this opration is a control operation.
+ // this operation is a control operation.
axisOperation.setControlOperation(true);
Module moduleclazz = module.getModule();
if (moduleclazz != null) {
@@ -315,7 +315,7 @@
* Finds a MEPContext for an incoming message. An incoming message can be
* of two states.
* <p/>
- * 1)This is a new incomming message of a given MEP. 2)This message is a
+ * 1)This is a new incoming message of a given MEP. 2)This message is a
* part of an MEP which has already begun.
* <p/>
* The method is special cased for the two MEPs
@@ -323,12 +323,12 @@
* #IN_ONLY #IN_OUT
* <p/>
* for two reasons. First reason is the wide usage and the second being that
- * the need for the MEPContext to be saved for further incomming messages.
+ * the need for the MEPContext to be saved for further incoming messages.
* <p/>
* In the event that MEP of this operation is different from the two MEPs
- * deafulted above the decession of creating a new or this message relates
+ * defaulted above the decision of creating a new or this message relates
* to a MEP which already in business is decided by looking at the WSA
- * Relates TO of the incomming message.
+ * Relates TO of the incoming message.
*
* @param msgContext
*/
Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisOperationFactory.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisOperationFactory.java?view=diff&rev=452021&r1=452020&r2=452021
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisOperationFactory.java (original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisOperationFactory.java Mon Oct 2 05:59:10 2006
@@ -75,7 +75,7 @@
return abOpdesc;
}
- //FIXME add in the latest MEP uris
+ //FIXME add in the latest MEP URIs
public static AxisOperation getOperationDescription(String mepURI) throws AxisFault {
AxisOperation abOpdesc;
if (WSDL20_2004Constants.MEP_URI_IN_ONLY.equals(mepURI) || WSDL20_2006Constants.MEP_URI_IN_ONLY.equals(mepURI)) {
Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisService.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisService.java?view=diff&rev=452021&r1=452020&r2=452021
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisService.java (original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisService.java Mon Oct 2 05:59:10 2006
@@ -78,7 +78,7 @@
// to store module ref at deploy time parsing
private ArrayList moduleRefs = null;
- // to store engaged mdodules
+ // to store engaged modules
private ArrayList engagedModules = null;
private String serviceDescription;
@@ -216,7 +216,7 @@
super();
this.operationsAliasesMap = new HashMap();
moduleConfigmap = new HashMap();
- //by dafault service scope is for the request
+ //by default service scope is for the request
scope = Constants.SCOPE_REQUEST;
messageReceivers = new HashMap();
moduleRefs = new ArrayList();
@@ -291,7 +291,7 @@
this.mapActionToOperation(mapping, axisOperation);
}
}
- // this opration is a control operation.
+ // this operation is a control operation.
axisOperation.setControlOperation(true);
this.addOperation(axisOperation);
}
@@ -330,7 +330,7 @@
try {
Module moduleImpl = module.getModule();
if (moduleImpl != null) {
- // notyfying module for service engagement
+ // notifying module for service engagement
moduleImpl.engageNotify(axisOperation);
}
axisOperation.engageModule(module, axisConfig);
@@ -607,7 +607,7 @@
* @param out
* @param requestIP
* @throws AxisFault
- * @deprecated try to use the method whcih takes three aruments
+ * @deprecated try to use the method which takes three arguments
*/
public void printWSDL(OutputStream out, String requestIP) throws AxisFault {
printWSDL(out, requestIP, "services");
@@ -885,7 +885,7 @@
}
/**
- * Sets the description about the service whish is specified in services.xml
+ * Sets the description about the service which is specified in services.xml
*
* @param serviceDescription
*/
@@ -1132,8 +1132,8 @@
//
/**
- * To create a AxisService for a given WSDL and the created client is most suitable for clinet side
- * invocation not for server side invocation. Since all the soap acction and wsa action is added to
+ * To create a AxisService for a given WSDL and the created client is most suitable for client side
+ * invocation not for server side invocation. Since all the soap action and wsa action is added to
* operations
*
* @param wsdlURL location of the WSDL
@@ -1142,7 +1142,7 @@
* @param portName name of the port , if there are more than one , if it is null then the
* first one in the iterator will be selected
* @param options Service client options, to set the target EPR
- * @return AxisService , the created servie will be return
+ * @return AxisService , the created service will be return
*/
public static AxisService createClientSideAxisService(URL wsdlURL,
QName wsdlServiceName,
@@ -1184,7 +1184,7 @@
* first generate schema corresponding to the given java class , next for each methods AxisOperation
* will be created.
* <p/>
- * Note : Inorder to work this properly RPCMessageReceiver should be availble in the class path
+ * Note : Inorder to work this properly RPCMessageReceiver should be available in the class path
* otherewise operation can not continue
*
* @param implClass
@@ -1198,14 +1198,14 @@
}
/**
- * To create a service for a given java class with user defined schema and target
+ * To create a service for a given Java class with user defined schema and target
* namespaces
*
* @param implClass : full name of the class
- * @param axisConfig : currcent AxisConfgiuration
- * @param messageReceiverClass : Messge reciver that you want to use
+ * @param axisConfig : current AxisConfgiuration
+ * @param messageReceiverClass : Message receiver that you want to use
* @param targetNameSpace : Service namespace
- * @param schemaNameSpace : Scheam Name space
+ * @param schemaNameSpace : Schema namespace
* @return
* @throws AxisFault
*/
@@ -1290,10 +1290,10 @@
MessageReceiver messageReceiver = (MessageReceiver) messageReceiverClass.newInstance();
operation.setMessageReceiver(messageReceiver);
} catch (IllegalAccessException e) {
- throw new AxisFault("IllegalAccessException occured during message receiver loading"
+ throw new AxisFault("IllegalAccessException occurred during message receiver loading"
+ e.getMessage());
} catch (InstantiationException e) {
- throw new AxisFault("InstantiationException occured during message receiver loading"
+ throw new AxisFault("InstantiationException occurred during message receiver loading"
+ e.getMessage());
}
pinfo.setOperationPhases(operation);
@@ -1516,7 +1516,7 @@
}
/**
- * User can set a paramter in services.xml saying he want to show the original wsdl
+ * User can set a parameter in services.xml saying he want to show the original wsdl
* that he put into META-INF once someone ask for ?wsdl
* so if you want to use your own wsdl then add following parameter into
* services.xml
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org