You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by di...@apache.org on 2005/11/23 22:27:32 UTC
svn commit: r348565 -
/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/
Author: dims
Date: Wed Nov 23 13:27:25 2005
New Revision: 348565
URL: http://svn.apache.org/viewcvs?rev=348565&view=rev
Log:
javadoc cleanup of context package. Removed 1 unused method as well.
Modified:
webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/AbstractContext.java
webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/ConfigurationContext.java
webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/ConfigurationContextFactory.java
webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/MessageContext.java
webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/OperationContext.java
webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/OperationContextFactory.java
webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/ServiceContext.java
webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/ServiceGroupContext.java
webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/SessionContext.java
Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/AbstractContext.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/AbstractContext.java?rev=348565&r1=348564&r2=348565&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/AbstractContext.java (original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/AbstractContext.java Wed Nov 23 13:27:25 2005
@@ -26,8 +26,7 @@
import java.util.HashMap;
/**
- * This is the topmost level of the Context hierachy, is potentially a bag of
- * properties.
+ * This is the top most level of the Context hierachy and is a bag of properties.
*/
public abstract class AbstractContext implements Serializable {
@@ -53,9 +52,8 @@
}
/**
- * Store an object. depending on the persistent flag the
- * object is either saved in the persistent way or the non-persistent
- * way
+ * Stores an object with a key in a persistent or non-persistent manner. This
+ * depends on the persistent flag.
*
* @param key
* @param value
@@ -71,8 +69,7 @@
}
/**
- * Store an object with the default persistent flag.
- * default is no persistance
+ * Stores an object with the default persistent flag set to no persistence.
*
* @param key
* @param value
@@ -82,11 +79,11 @@
}
/**
- * Retrieve an object. Default search is done in the non persistent
- * group
+ * Retrieves an object given a key. The search is done in the non-persistent
+ * group.
*
* @param key
- * @return
+ * @return Returns the property.
*/
public Object getProperty(String key) {
return this.getProperty(key, false);
@@ -95,7 +92,7 @@
/**
* @param key
* @param persistent
- * @return
+ * @return Returns the property.
*/
public Object getProperty(String key, boolean persistent) {
Object obj = null;
@@ -119,7 +116,7 @@
}
/**
- * @return
+ * @return Returns AbstractContext.
*/
public AbstractContext getParent() {
return parent;
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=348565&r1=348564&r2=348565&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 Wed Nov 23 13:27:25 2005
@@ -34,8 +34,7 @@
import java.util.Map;
/**
- * This is the biggest memeber of the Axis2 information hierachy, and if this is serialized completly
- * the whole Axis2 is saved to the disc.
+ * This contains all the configuration information for Axis2.
*/
public class ConfigurationContext extends AbstractContext {
@@ -65,21 +64,15 @@
this.axisConfiguration = axisConfiguration;
}
- /**
- * The method is used to do the intialization of the EngineContext
- *
- * @throws AxisFault
- */
-
- public void init() throws AxisFault {
-
- }
-
public synchronized void removeService(QName name) {
serviceContextMap.remove(name);
}
-
+ /**
+ * Initializes the Configuration Context
+ * @param axisConfiguration
+ * @throws AxisFault
+ */
public void init(AxisConfiguration axisConfiguration) throws AxisFault {
this.axisConfiguration = axisConfiguration;
Iterator operationContextIt = operationContextMap.keySet().iterator();
@@ -128,7 +121,7 @@
}
/**
- * Register a OperationContext agienst a given Message ID.
+ * Registers a OperationContext with a given message ID.
*
* @param messageID
* @param mepContext
@@ -140,10 +133,10 @@
}
/**
- * get a OperationContext given a Message ID
+ * Gets a OperationContext given a Message ID.
*
* @param messageID
- * @return OperationContext <code>OperationContext<code>
+ * @return Returns OperationContext <code>OperationContext<code>
*/
public OperationContext getOperationContext(String messageID) {
return (OperationContext) this.operationContextMap.get(messageID);
@@ -154,7 +147,7 @@
}
/**
- * Register a ServiceContext agienst a given Message ID.
+ * Registers a ServiceContext with a given service ID.
*/
public synchronized void registerServiceContext(
String serviceInstanceID,
@@ -163,7 +156,7 @@
}
/**
- * get the ServiceContext given a id
+ * Gets the ServiceContext for a service id.
*
* @param serviceInstanceID
*/
@@ -181,8 +174,8 @@
/**
- * Returns the thread factory
- * @return configuration specific thread pool
+ * Returns the thread factory.
+ * @return Returns configuration specific thread pool
*/
public ThreadFactory getThreadPool() {
if (threadPool == null) {
@@ -192,7 +185,7 @@
}
/**
- * Sets the thread factory
+ * Sets the thread factory.
* @param pool
*/
public void setThreadPool(ThreadFactory pool) throws AxisFault{
@@ -205,8 +198,7 @@
}
/**
- * This method allows users to reolve the paths relative to the
- * root diretory
+ * Allows users to resolve the path relative to the root diretory.
*
* @param path
*/
@@ -226,14 +218,16 @@
}
/**
- * This method should search for a SGC in the map with given id as the key.
+ * Searches for a ServiceGroupContext in the map with given id as the key.
+ * <pre>
* If(key != null && found)
* check for a service context for the intended service.
* if (!found)
- * create one and hook up to SGC
+ * create one and hook up to ServiceGroupContext
* else
- * create new sgc with the given key or if key is null with a new key
+ * create new ServiceGroupContext with the given key or if key is null with a new key
* create a new service context for the service
+ * </pre>
*
* @param messageContext
*/
@@ -297,8 +291,8 @@
}
/**
- * To get all the service groups in the system
- * @return
+ * Gets all service groups in the system.
+ * @return Returns hashmap of ServiceGroupContexts.
*/
public HashMap getServiceGroupContexts(){
return (HashMap)serviceGroupContextMap;
Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/ConfigurationContextFactory.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/ConfigurationContextFactory.java?rev=348565&r1=348564&r2=348565&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/ConfigurationContextFactory.java (original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/ConfigurationContextFactory.java Wed Nov 23 13:27:25 2005
@@ -33,9 +33,9 @@
private Log log = LogFactory.getLog(getClass());
/**
- * Build the configuration for the Server
+ * Builds the configuration for the Server.
* @param repositoryName
- * @return
+ * @return Returns the built ConfigurationContext.
* @throws DeploymentException
*/
public ConfigurationContext buildConfigurationContext(
@@ -82,10 +82,9 @@
}
/**
- * Built the Configuration for the Client
- * @param axis2home the value can be null and it is resolved to the default
- * axis2.xml file
- * @return
+ * Builds the configuration for the client.
+ * @param axis2home the value can be null and resolves to the default axis2.xml file
+ * @return Returns ConfigurationContext.
* @throws DeploymentException
*/
public ConfigurationContext buildClientConfigurationContext(
@@ -127,8 +126,8 @@
}
/**
- * Is used to initilize the modules , if the module needs to so some recovery process
- * it can do inside init and this is differnt form module.engage()
+ * Initializes the modules. If the module needs to perform some recovery process
+ * it can do so in init and this is different from module.engage().
*
* @param context
* @throws DeploymentException
@@ -155,7 +154,7 @@
}
/**
- * Here the Phases are resolved and the Order of the Handlers are established
+ * Resolves the phases and establishes the order of handlers.
* @param service
* @param configurationContextVal
* @param modules
@@ -166,14 +165,14 @@
ArrayList modules)
throws PhaseException {
try {
- PhaseResolver reolve =
+ PhaseResolver resolve =
new PhaseResolver(configurationContextVal, service);
- reolve.buildchains();
+ resolve.buildchains();
for (int i = 0; i < modules.size(); i++) {
QName qName = (QName) modules.get(i);
- ModuleDescription moduledecs =
+ ModuleDescription moduledesc =
configurationContextVal.getModule(qName);
- reolve.engageModuleToService(service, moduledecs);
+ resolve.engageModuleToService(service, moduledesc);
}
} catch (PhaseException e) {
throw e;
@@ -183,9 +182,8 @@
}
/**
- * This method initilize the transports, passing the information taken from the
- * deployment to the real instance, for and example here the <code>TransportSender</code>
- * get a referance to the <code>TransportOutDescription</code>.
+ * Initializes TransportSenders and TransportListeners with appropriate configuration information
+ *
* @param configContext
* @throws AxisFault
*/
Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/MessageContext.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/MessageContext.java?rev=348565&r1=348564&r2=348565&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/MessageContext.java (original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/MessageContext.java Wed Nov 23 13:27:25 2005
@@ -33,21 +33,18 @@
import java.io.ObjectOutputStream;
/**
- * The palce where all the service specific states are kept.
- * All the Global states kept in the <code>EngineRegistry</code> and all the
- * Service states kept in the <code>MessageContext</code>. Other runtime
- * artifacts does not keep states foward from the execution.
+ * MessageContext holds service specific state information.
*/
public class MessageContext extends AbstractContext {
public static final String TRANSPORT_HEADERS = "TRANSPORT_HEADERS";
/**
- * Field TRANSPORT_WRITER
+ * Field TRANSPORT_OUT
*/
public static final String TRANSPORT_OUT = "TRANSPORT_OUT";
/**
- * Field TRANSPORT_READER
+ * Field TRANSPORT_IN
*/
public static final String TRANSPORT_IN = "TRANSPORT_IN";
@@ -58,20 +55,20 @@
"CHARACTER_SET_ENCODING";
/**
- * Field UTF_8
- * This is the 'utf-8' value for CHARACTER_SET_ENCODING property
+ * Field UTF_8.
+ * This is the 'utf-8' value for CHARACTER_SET_ENCODING property.
*/
public static final String UTF_8 = "UTF-8";
/**
- * Field UTF_8
- * This is the 'utf-8' value for CHARACTER_SET_ENCODING property
+ * Field UTF_16.
+ * This is the 'utf-16' value for CHARACTER_SET_ENCODING property.
*/
public static final String UTF_16 = "utf-16";
/**
- * Field DEFAULT_CHAR_SET_ENCODING
- * This is the default value for CHARACTER_SET_ENCODING property
+ * Field DEFAULT_CHAR_SET_ENCODING.
+ * This is the default value for CHARACTER_SET_ENCODING property.
*/
public static final String DEFAULT_CHAR_SET_ENCODING = UTF_8;
@@ -182,7 +179,7 @@
QName axisOperationName = null;
/**
- * The method is used to do the intialization of the EngineContext
+ * Initializes Axis Engine Context.
*
* @throws AxisFault
*/
@@ -220,7 +217,8 @@
/**
- * Conveniance Method, but before call engine.send() or engine.receive() one must send transport in/out
+ * Convenience Constructor. Before calling engine.send() or engine.receive(), one must send
+ * transport in/out
*
* @param engineContext
* @throws AxisFault
@@ -273,84 +271,84 @@
}
/**
- * @return
+ * @return Returns EndpointReference.
*/
public EndpointReference getFaultTo() {
return messageInformationHeaders.getFaultTo();
}
/**
- * @return
+ * @return Returns EndpointReference.
*/
public EndpointReference getFrom() {
return messageInformationHeaders.getFrom();
}
/**
- * @return
+ * @return Returns boolean.
*/
public boolean isInFaultFlow() {
return inFaultFlow;
}
/**
- * @return
+ * @return Returns SOAPEnvelope.
*/
public SOAPEnvelope getEnvelope() {
return envelope;
}
/**
- * @return
+ * @return Returns message id.
*/
public String getMessageID() {
return messageInformationHeaders.getMessageId();
}
/**
- * @return
+ * @return Returns boolean.
*/
public boolean isProcessingFault() {
return processingFault;
}
/**
- * @return
+ * @return Returns RelatesTo.
*/
public RelatesTo getRelatesTo() {
return messageInformationHeaders.getRelatesTo();
}
/**
- * @return
+ * @return Returns EndpointReference.
*/
public EndpointReference getReplyTo() {
return messageInformationHeaders.getReplyTo();
}
/**
- * @return
+ * @return Returns boolean.
*/
public boolean isResponseWritten() {
return responseWritten;
}
/**
- * @return
+ * @return Returns boolean.
*/
public boolean isServerSide() {
return serverSide;
}
/**
- * @return
+ * @return Returns SessionContext.
*/
public SessionContext getSessionContext() {
return sessionContext;
}
/**
- * @return
+ * @return Returns EndpointReference.
*/
public EndpointReference getTo() {
return messageInformationHeaders.getTo();
@@ -447,7 +445,7 @@
}
/**
- * @return
+ * @return Returns boolean.
*/
public boolean isNewThreadRequired() {
return newThreadRequired;
@@ -485,7 +483,7 @@
}
/**
- * @return
+ * @return Returns boolean.
*/
public boolean isPaused() {
return paused;
@@ -503,14 +501,14 @@
}
/**
- * @return
+ * @return Returns TransportInDescription.
*/
public TransportInDescription getTransportIn() {
return transportIn;
}
/**
- * @return
+ * @return Returns TransportOutDescription.
*/
public TransportOutDescription getTransportOut() {
return transportOut;
@@ -553,7 +551,7 @@
}
/**
- * @return
+ * @return Returns boolean.
*/
public boolean isOutPutWritten() {
return outPutWritten;
@@ -574,7 +572,8 @@
}
/**
- * @param serviceContextID The serviceContextID to set.
+ * Sets the service context id.
+ * @param serviceContextID
*/
public void setServiceContextID(String serviceContextID) {
this.serviceContextID = serviceContextID;
@@ -585,7 +584,7 @@
}
/**
- * @return
+ * @return Returns ServiceContext.
*/
public ServiceContext getServiceContext() {
return serviceContext;
@@ -618,16 +617,17 @@
/**
- * To retrieve configuration descriptor parameters , it is posible to get paramaters specified in
- * any level via this method , and the preference is as follows,
- * 1. Search in operation description if its there
- * 2. if the paramter not found or operationContext is null will search in
- * AxisService
- * 3. If the axisService is null or , the paramter does not found will serach in
- * AxisConfiguration
- *
+ * Retrieves configuration descriptor parameters at any level. The order of search is
+ * as follows:
+ * <ol>
+ * <li> Search in operation description if it exists </li>
+ * <li> If parameter is not found or if operationContext is null, search in
+ * AxisService </li>
+ * <li> If parameter is not found or if axisService is null, search in
+ * AxisConfiguration </li>
+ * </ol>
* @param key
- * @return Paramter <code>Paramter</code>
+ * @return Parameter <code>Parameter</code>
*/
public Parameter getParameter(String key) {
Parameter param = null;
@@ -662,23 +662,25 @@
/**
- * This method is to retrive both module configuration parameters and othere paramerts
- * The searching procedure is as follows;
- * 1. Search in module configurations inside corresponding operation descripton if its three
- * 2. Search in corresponding operation if its there
- * 3. Search in module configurations inside corresponding service description if its there
- * 4. Next search in Corresponding Service description if its there
- * 5. Next sercah in module configurations inside axisConfiguration
- * 6. Search in AxisConfiguration for paramters
- * 7. Next get the corresponding module and search for the paramters
- * 8. Search in HandlerDescription for the paramter
+ * Retrieves both module specific configuration parameters as well as other parameters.
+ * The order of search is as follows:
+ * <ol>
+ * <li> Search in module configurations inside corresponding operation descripton if its there </li>
+ * <li> Search in corresponding operation if its there </li>
+ * <li> Search in module configurations inside corresponding service description if its there </li>
+ * <li> Next search in Corresponding Service description if its there </li>
+ * <li> Next search in module configurations inside axisConfiguration </li>
+ * <li> Search in AxisConfiguration for parameters </li>
+ * <li> Next get the corresponding module and search for the parameters </li>
+ * <li> Search in HandlerDescription for the parameter </li>
+ * </ol>
* <p/>
- * and the way of specifing mdoule configuration is as follows
+ * and the way of specifing module configuration is as follows
* <moduleConfig name="addressing">
* <parameter name="addressingPara" locked="false">N/A</parameter>
* </moduleConfig>
*
- * @param key : Paramtre Name
+ * @param key : Parameter Name
* @param moduleName : Name of the module
* @param handler <code>HandlerDescription</code>
* @return Parameter <code>Parameter</code>
@@ -755,17 +757,18 @@
return param;
}
- /* (non-Javadoc)
- * @see org.apache.axis2.context.AbstractContext#getProperty(java.lang.Object, boolean)
- */
-
/**
- * To acess any property set at the run time , a handler can add property to wherever he wants
- * to MesageContext , to OperationContext , to ServiceContext and to ConfigurationContext.
- * This method is to retrive those properties NOT paramters
+ * Retrieves a property. The order of search is as follows:
*
- * @param key : property Name
- * @param persistent : need to be persistent even when server re-start
+ * <ol>
+ * <li> Search in OperationContext, </li>
+ * <li> If OperationContext is null or if property is not found, search in ServiceContext,</li>
+ * <li> If ServiceContext is null or if property is not found, search in ServiceGroupContext,</li>
+ * <li> If ServiceGroupContext is null or if property is not found, search in ConfigurationContext.</li>
+ * </ol>
+ *
+ * @param key property Name
+ * @param persistent
* @return Object
*/
public Object getProperty(String key, boolean persistent) {
@@ -807,14 +810,14 @@
}
/**
- * @return
+ * @return Returns QName.
*/
public QName getPausedHandlerName() {
return pausedHandlerName;
}
/**
- * @return
+ * @return Returns paused phase name.
*/
public String getPausedPhaseName() {
return pausedPhaseName;
@@ -828,7 +831,7 @@
}
/**
- * @return
+ * @return Returns soap action.
*/
public String getSoapAction() {
return soapAction;
@@ -842,7 +845,7 @@
}
/**
- * @return
+ * @return Returns boolean.
*/
public boolean isDoingMTOM() {
return doingMTOM;
@@ -856,7 +859,7 @@
}
/**
- * @return
+ * @return Returns boolean.
*/
public boolean isDoingREST() {
return doingREST;
Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/OperationContext.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/OperationContext.java?rev=348565&r1=348564&r2=348565&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/OperationContext.java (original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/OperationContext.java Wed Nov 23 13:27:25 2005
@@ -70,7 +70,7 @@
private QName serviceDescName = null;
/**
- * The method is used to do the intialization of the EngineContext
+ * Initializes the engine context.
* @throws AxisFault
*/
@@ -101,7 +101,7 @@
}
/**
- * Construct a new OperationContext.
+ * Constructs a new OperationContext.
*
* @param axisOperation the AxisOperation whose running instances' state this
* OperationContext represents.
@@ -143,7 +143,7 @@
}
/**
- * Return the ServiceContext in which this OperationContext lives.
+ * Returns the ServiceContext in which this OperationContext lives.
*
* @return parent ServiceContext
*/
@@ -152,7 +152,7 @@
}
/**
- * Return the EngineContext in which the parent ServiceContext lives.
+ * Returns the EngineContext in which the parent ServiceContext lives.
*
* @return parent ServiceContext's parent EngineContext
*/
@@ -164,7 +164,7 @@
* When a new message is added to the <code>MEPContext</code> the logic
* should be included remove the MEPContext from the table in the
* <code>EngineContext</code>. Example: IN_IN_OUT At the second IN
- * message the MEPContext should be removed from the AxisOperation
+ * message the MEPContext should be removed from the AxisOperation.
*
* @param msgContext
*/
Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/OperationContextFactory.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/OperationContextFactory.java?rev=348565&r1=348564&r2=348565&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/OperationContextFactory.java (original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/OperationContextFactory.java Wed Nov 23 13:27:25 2005
@@ -22,7 +22,7 @@
import org.apache.wsdl.WSDLConstants;
/**
- * This is the facotry for the OperationContexts
+ * This is the factory for OperationContext.
*/
public class OperationContextFactory implements WSDLConstants {
@@ -48,10 +48,10 @@
}
/**
- * When you call this make sure you set the parent later.
+ * Creates the operation context. When you call this make sure you set the parent later.
* @param mepURI
* @param axisOp
- * @return
+ * @return Returns OperationContext.
* @throws AxisFault
*/
public static OperationContext createOperationContext(
Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/ServiceContext.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/ServiceContext.java?rev=348565&r1=348564&r2=348565&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/ServiceContext.java (original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/ServiceContext.java Wed Nov 23 13:27:25 2005
@@ -27,8 +27,8 @@
import java.io.ObjectOutputStream;
/**
- * Well this is never clearly defined, what is does nor the lifecycle
- * So I advised to NOT to use this .. as it might not live up to your expectation.
+ * Well this is never clearly defined, what it does or the lifecycle.
+ * So do NOT use this as it might not live up to your expectation.
*/
public class ServiceContext extends AbstractContext {
@@ -40,7 +40,7 @@
/**
- * The method is used to do the intialization of the EngineContext
+ * Initializes the engine context.
* @throws AxisFault
*/
public void init(AxisConfiguration axisConfiguration) throws AxisFault {
@@ -79,7 +79,8 @@
}
/**
- * @param serviceInstanceID The serviceInstanceID to set.
+ * Sets service instance id.
+ * @param serviceInstanceID
*/
public void setServiceInstanceID(String serviceInstanceID) {
//todo we do not need this , this ID should equal to serviceName
Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/ServiceGroupContext.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/ServiceGroupContext.java?rev=348565&r1=348564&r2=348565&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/ServiceGroupContext.java (original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/ServiceGroupContext.java Wed Nov 23 13:27:25 2005
@@ -72,7 +72,7 @@
this.id = id;
}
- //if the servic name is foo:bar , you should pass only bar
+ //if the service name is foo:bar , you should pass only bar
public ServiceContext getServiceContext(String serviceName) {
return (ServiceContext) serviceContextMap.get(serviceName);
}
Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/SessionContext.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/SessionContext.java?rev=348565&r1=348564&r2=348565&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/SessionContext.java (original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/SessionContext.java Wed Nov 23 13:27:25 2005
@@ -20,8 +20,8 @@
import org.apache.axis2.engine.AxisConfiguration;
/**
- * All the engine componets are stateless accross the executions and all the states should be kept in the
- * Contexts, there are three context Global, Session and Message
+ * All the engine components are stateless across the executions and all the states should be kept in the
+ * Contexts, there are three context Global, Session and Message.
*/
public class SessionContext extends AbstractContext {
/**