You are viewing a plain text version of this content. The canonical link for it is here.
Posted to sandesha-dev@ws.apache.org by ch...@apache.org on 2006/01/19 07:21:56 UTC

svn commit: r370394 - /webservices/sandesha/trunk/src/org/apache/sandesha2/SandeshaModule.java

Author: chamikara
Date: Wed Jan 18 22:21:41 2006
New Revision: 370394

URL: http://svn.apache.org/viewcvs?rev=370394&view=rev
Log:
Due to a change in the module interface of Axis2

Modified:
    webservices/sandesha/trunk/src/org/apache/sandesha2/SandeshaModule.java

Modified: webservices/sandesha/trunk/src/org/apache/sandesha2/SandeshaModule.java
URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/src/org/apache/sandesha2/SandeshaModule.java?rev=370394&r1=370393&r2=370394&view=diff
==============================================================================
--- webservices/sandesha/trunk/src/org/apache/sandesha2/SandeshaModule.java (original)
+++ webservices/sandesha/trunk/src/org/apache/sandesha2/SandeshaModule.java Wed Jan 18 22:21:41 2006
@@ -21,6 +21,7 @@
 
 import org.apache.axis2.AxisFault;
 import org.apache.axis2.context.ConfigurationContext;
+import org.apache.axis2.description.AxisDescription;
 import org.apache.axis2.description.ModuleDescription;
 import org.apache.axis2.engine.AxisConfiguration;
 import org.apache.axis2.modules.Module;
@@ -39,23 +40,25 @@
 
 
 	// initialize the module
-	public void init(AxisConfiguration axisSystem) throws AxisFault {
-		ConfigurationContext configurationContext = new ConfigurationContext (axisSystem);
-		//StorageManager storageManager = SandeshaUtil.getSandeshaStorageManager(configurationContext);
+	public void init(ConfigurationContext configContext, ModuleDescription module) throws AxisFault {
 		
-		//	cleanStorage (storageManager);
-		
-		ConfigurationContext configCtx = null;
 		//continueUncompletedSequences (storageManager,configCtx);
 		
-		QName sandeshaModule = new QName ("Sandesha2-0.9");
-		ModuleDescription moduleDesc = axisSystem.getModule(sandeshaModule);
-		
 		//loading properties to property manager.
-		PropertyManager.getInstance().loadPropertiesFromModuleDesc(moduleDesc);
+		PropertyManager.getInstance().loadPropertiesFromModuleDesc(module);
 
 	}
 	
+	
+	public void engageNotify(AxisDescription axisDescription) throws AxisFault {
+		
+		// TODO add notify logic.
+		
+	}
+
+
+
+
 	private void continueUncompletedSequences (StorageManager storageManager,ConfigurationContext configCtx) {
 		//server side continues
 		//SandeshaUtil.startInvokerIfStopped(configCtx);



---------------------------------------------------------------------
To unsubscribe, e-mail: sandesha-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: sandesha-dev-help@ws.apache.org