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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to