User: patriot1burke
Date: 01/12/31 13:13:16
Modified:src/main/org/jboss/ejb/plugins
StatefulHASessionSynchronisationInterceptor.java
StatefulHASessionPersistenceManager.java
Log:
MethodInvocation -Invocation
Revision ChangesPath
1.2 +6 -6
jbossmx/src/main/org/jboss/ejb/plugins/StatefulHASessionSynchronisationInterceptor.java
Index: StatefulHASessionSynchronisationInterceptor.java
===
RCS file:
/cvsroot/jboss/jbossmx/src/main/org/jboss/ejb/plugins/StatefulHASessionSynchronisationInterceptor.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- StatefulHASessionSynchronisationInterceptor.java 2001/11/09 22:54:28 1.1
+++ StatefulHASessionSynchronisationInterceptor.java 2001/12/31 21:13:15 1.2
@@ -28,7 +28,7 @@
import org.jboss.ejb.StatefulSessionContainer;
import org.jboss.ejb.StatefulSessionEnterpriseContext;
import org.jboss.ejb.EnterpriseContext;
-import org.jboss.ejb.MethodInvocation;
+import org.jboss.invocation.Invocation;
import org.jboss.metadata.SessionMetaData;
/**
@@ -36,7 +36,7 @@
*
* @see
* @author a href=mailto:[EMAIL PROTECTED];Sacha Labourey/a
- * @version $Revision: 1.1 $
+ * @version $Revision: 1.2 $
*
* pbRevisions:/b
*/
@@ -50,10 +50,10 @@
// Public ---
- public Object invokeHome (MethodInvocation mi)
+ public Object invokeHome (Invocation mi)
throws Exception
{
- EnterpriseContext ctx = mi.getEnterpriseContext ();
+ EnterpriseContext ctx = (EnterpriseContext)mi.getEnterpriseContext ();
try
{
@@ -82,11 +82,11 @@
}
}
- public Object invoke (MethodInvocation mi)
+ public Object invoke (Invocation mi)
throws Exception
{
Object id = mi.getId ();
- EnterpriseContext ctx = mi.getEnterpriseContext ();
+ EnterpriseContext ctx = (EnterpriseContext)mi.getEnterpriseContext ();
try
{
1.3 +8 -8
jbossmx/src/main/org/jboss/ejb/plugins/StatefulHASessionPersistenceManager.java
Index: StatefulHASessionPersistenceManager.java
===
RCS file:
/cvsroot/jboss/jbossmx/src/main/org/jboss/ejb/plugins/StatefulHASessionPersistenceManager.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- StatefulHASessionPersistenceManager.java 2001/11/26 03:24:50 1.2
+++ StatefulHASessionPersistenceManager.java 2001/12/31 21:13:15 1.3
@@ -52,15 +52,15 @@
*
* @see HASessionState, HASessionStateImpl
* @author a href=mailto:[EMAIL PROTECTED];Sacha Labourey/a
- * @version $Revision: 1.2 $
+ * @version $Revision: 1.3 $
*
* pbRevisions:/b
*/
public class StatefulHASessionPersistenceManager
-implements org.jboss.ejb.StatefulSessionPersistenceManager,
-HASessionState.HASessionStateListener,
-HAPersistentManager
+implements org.jboss.ejb.StatefulSessionPersistenceManager,
+HASessionState.HASessionStateListener,
+HAPersistentManager
{
/** Creates new StatefulHASessionPersistenceManager */
@@ -97,8 +97,8 @@
con = (StatefulSessionContainer)c;
}
- public void init ()
- throws Exception
+ public void create()
+ throws Exception
{
// Find methods
@@ -204,8 +204,8 @@
((StatefulSessionContainer)con).getInstanceCache ().insert (ctx);
// Create EJBObject
- if (con.getContainerInvoker () != null)
- ctx.setEJBObject (con.getContainerInvoker ().getStatefulSessionEJBObject
(ctx.getId ()));
+ if (con.getContainerInvoker() != null)
+
ctx.setEJBObject((EJBObject)con.getContainerInvoker().getStatefulSessionEJBObject(ctx.getId()));
// Create EJBLocalObject
if (con.getLocalHomeClass () != null)
ctx.setEJBLocalObject (con.getLocalContainerInvoker
().getStatefulSessionEJBLocalObject (ctx.getId ()));
___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development