Author: chamikara
Date: Tue Nov  1 21:59:40 2005
New Revision: 330194

URL: http://svn.apache.org/viewcvs?rev=330194&view=rev
Log:
Some changes due to the change in the StorageFramework

Modified:
    
webservices/sandesha/trunk/test/src/org/apache/sandesha2/storage/CreateSeqBeanMgrTest.java
    
webservices/sandesha/trunk/test/src/org/apache/sandesha2/storage/NextMsgBeanMgrTest.java
    
webservices/sandesha/trunk/test/src/org/apache/sandesha2/storage/RetransmitterBeanMgrTest.java
    
webservices/sandesha/trunk/test/src/org/apache/sandesha2/storage/SequencePropertyBeanMgrTest.java
    
webservices/sandesha/trunk/test/src/org/apache/sandesha2/storage/StorageMapBeanMgrTest.java

Modified: 
webservices/sandesha/trunk/test/src/org/apache/sandesha2/storage/CreateSeqBeanMgrTest.java
URL: 
http://svn.apache.org/viewcvs/webservices/sandesha/trunk/test/src/org/apache/sandesha2/storage/CreateSeqBeanMgrTest.java?rev=330194&r1=330193&r2=330194&view=diff
==============================================================================
--- 
webservices/sandesha/trunk/test/src/org/apache/sandesha2/storage/CreateSeqBeanMgrTest.java
 (original)
+++ 
webservices/sandesha/trunk/test/src/org/apache/sandesha2/storage/CreateSeqBeanMgrTest.java
 Tue Nov  1 21:59:40 2005
@@ -2,6 +2,7 @@
 

 import org.apache.sandesha2.storage.beanmanagers.CreateSeqBeanMgr;

 import org.apache.sandesha2.storage.beans.CreateSeqBean;

+import org.apache.sandesha2.util.SandeshaUtil;

 import org.apache.sandesha2.SandeshaTestCase;

 import org.apache.axis2.engine.AxisConfiguration;

 import org.apache.axis2.engine.AxisConfigurationImpl;

@@ -35,7 +36,8 @@
         AxisConfiguration axisConfig =  new AxisConfigurationImpl();

         ConfigurationContext configCtx = new ConfigurationContext(axisConfig);

 

-        mgr = 
AbstractBeanMgrFactory.getInstance(configCtx).getCreateSeqBeanMgr();

+        StorageManager storageManager = 
SandeshaUtil.getSandeshaStorageManager(configCtx);

+        mgr = storageManager.getCreateSeqBeanMgr();

     }

 

     public void testDelete() {


Modified: 
webservices/sandesha/trunk/test/src/org/apache/sandesha2/storage/NextMsgBeanMgrTest.java
URL: 
http://svn.apache.org/viewcvs/webservices/sandesha/trunk/test/src/org/apache/sandesha2/storage/NextMsgBeanMgrTest.java?rev=330194&r1=330193&r2=330194&view=diff
==============================================================================
--- 
webservices/sandesha/trunk/test/src/org/apache/sandesha2/storage/NextMsgBeanMgrTest.java
 (original)
+++ 
webservices/sandesha/trunk/test/src/org/apache/sandesha2/storage/NextMsgBeanMgrTest.java
 Tue Nov  1 21:59:40 2005
@@ -2,6 +2,7 @@
 

 import org.apache.sandesha2.storage.beanmanagers.NextMsgBeanMgr;

 import org.apache.sandesha2.storage.beans.NextMsgBean;

+import org.apache.sandesha2.util.SandeshaUtil;

 import org.apache.sandesha2.SandeshaTestCase;

 import org.apache.axis2.engine.AxisConfiguration;

 import org.apache.axis2.engine.AxisConfigurationImpl;

@@ -34,7 +35,8 @@
     public void setUp() throws Exception {

         AxisConfiguration axisConfig = new AxisConfigurationImpl();

         ConfigurationContext configCtx = new ConfigurationContext(axisConfig);

-        mgr = 
AbstractBeanMgrFactory.getInstance(configCtx).getNextMsgBeanMgr();

+        StorageManager storageManager = 
SandeshaUtil.getSandeshaStorageManager(configCtx);

+        mgr = storageManager.getNextMsgBeanMgr();

 

     }

 


Modified: 
webservices/sandesha/trunk/test/src/org/apache/sandesha2/storage/RetransmitterBeanMgrTest.java
URL: 
http://svn.apache.org/viewcvs/webservices/sandesha/trunk/test/src/org/apache/sandesha2/storage/RetransmitterBeanMgrTest.java?rev=330194&r1=330193&r2=330194&view=diff
==============================================================================
--- 
webservices/sandesha/trunk/test/src/org/apache/sandesha2/storage/RetransmitterBeanMgrTest.java
 (original)
+++ 
webservices/sandesha/trunk/test/src/org/apache/sandesha2/storage/RetransmitterBeanMgrTest.java
 Tue Nov  1 21:59:40 2005
@@ -4,6 +4,7 @@
 import org.apache.sandesha2.SandeshaTestCase;

 import org.apache.sandesha2.storage.beanmanagers.RetransmitterBeanMgr;

 import org.apache.sandesha2.storage.beans.RetransmitterBean;

+import org.apache.sandesha2.util.SandeshaUtil;

 import org.apache.axis2.engine.AxisConfiguration;

 import org.apache.axis2.engine.AxisConfigurationImpl;

 import org.apache.axis2.context.ConfigurationContext;

@@ -35,7 +36,8 @@
     public void setUp() throws Exception {

         AxisConfiguration axisConfig = new AxisConfigurationImpl();

         ConfigurationContext configCtx = new ConfigurationContext(axisConfig);

-        mgr = 
AbstractBeanMgrFactory.getInstance(configCtx).getRetransmitterBeanMgr();

+        StorageManager storageManager = 
SandeshaUtil.getSandeshaStorageManager(configCtx);

+        mgr = storageManager.getRetransmitterBeanMgr();

     }

 

     public void testDelete() {


Modified: 
webservices/sandesha/trunk/test/src/org/apache/sandesha2/storage/SequencePropertyBeanMgrTest.java
URL: 
http://svn.apache.org/viewcvs/webservices/sandesha/trunk/test/src/org/apache/sandesha2/storage/SequencePropertyBeanMgrTest.java?rev=330194&r1=330193&r2=330194&view=diff
==============================================================================
--- 
webservices/sandesha/trunk/test/src/org/apache/sandesha2/storage/SequencePropertyBeanMgrTest.java
 (original)
+++ 
webservices/sandesha/trunk/test/src/org/apache/sandesha2/storage/SequencePropertyBeanMgrTest.java
 Tue Nov  1 21:59:40 2005
@@ -2,6 +2,7 @@
 

 import org.apache.sandesha2.storage.beanmanagers.SequencePropertyBeanMgr;

 import org.apache.sandesha2.storage.beans.SequencePropertyBean;

+import org.apache.sandesha2.util.SandeshaUtil;

 import org.apache.sandesha2.SandeshaTestCase;

 import org.apache.axis2.engine.AxisConfiguration;

 import org.apache.axis2.engine.AxisConfigurationImpl;

@@ -34,7 +35,8 @@
     public void setUp() throws Exception {

         AxisConfiguration axisConfig = new AxisConfigurationImpl();

         ConfigurationContext configCtx = new ConfigurationContext(axisConfig);

-        mgr = 
AbstractBeanMgrFactory.getInstance(configCtx).getSequencePropretyBeanMgr();

+        StorageManager storageManager = 
SandeshaUtil.getSandeshaStorageManager(configCtx);;

+        mgr = storageManager.getSequencePropretyBeanMgr();

 

     }

 


Modified: 
webservices/sandesha/trunk/test/src/org/apache/sandesha2/storage/StorageMapBeanMgrTest.java
URL: 
http://svn.apache.org/viewcvs/webservices/sandesha/trunk/test/src/org/apache/sandesha2/storage/StorageMapBeanMgrTest.java?rev=330194&r1=330193&r2=330194&view=diff
==============================================================================
--- 
webservices/sandesha/trunk/test/src/org/apache/sandesha2/storage/StorageMapBeanMgrTest.java
 (original)
+++ 
webservices/sandesha/trunk/test/src/org/apache/sandesha2/storage/StorageMapBeanMgrTest.java
 Tue Nov  1 21:59:40 2005
@@ -2,6 +2,7 @@
 

 import org.apache.sandesha2.storage.beanmanagers.StorageMapBeanMgr;

 import org.apache.sandesha2.storage.beans.StorageMapBean;

+import org.apache.sandesha2.util.SandeshaUtil;

 import org.apache.sandesha2.SandeshaTestCase;

 import org.apache.axis2.engine.AxisConfiguration;

 import org.apache.axis2.engine.AxisConfigurationImpl;

@@ -35,7 +36,8 @@
     public void setUp() throws Exception {

         AxisConfiguration axisConfig = new AxisConfigurationImpl();

         ConfigurationContext configCtx = new ConfigurationContext(axisConfig);

-        mgr = 
AbstractBeanMgrFactory.getInstance(configCtx).getStorageMapBeanMgr();

+        StorageManager storageManager = 
SandeshaUtil.getSandeshaStorageManager(configCtx);

+        mgr = storageManager.getStorageMapBeanMgr();

     }

 

     public void testDelete() {




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to