janb 2003/08/15 07:14:06
Modified: modules/core/src/java/org/apache/geronimo/lock
LockInterceptor.java
Log:
Refactored Container to RPCContainer and AbstractRPCContainer. Many classes
in ejb package required modification
to use RPCContainer instead of Container - for now this is done with class
casts, which look messy, maybe theres
a better way.
Revision Changes Path
1.4 +3 -3
incubator-geronimo/modules/core/src/java/org/apache/geronimo/lock/LockInterceptor.java
Index: LockInterceptor.java
===================================================================
RCS file:
/home/cvs/incubator-geronimo/modules/core/src/java/org/apache/geronimo/lock/LockInterceptor.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- LockInterceptor.java 11 Aug 2003 17:59:12 -0000 1.3
+++ LockInterceptor.java 15 Aug 2003 14:14:06 -0000 1.4
@@ -59,7 +59,7 @@
import javax.ejb.EJBException;
import org.apache.geronimo.common.AbstractInterceptor;
-import org.apache.geronimo.common.Container;
+import org.apache.geronimo.common.RPCContainer;
import org.apache.geronimo.common.Invocation;
import org.apache.geronimo.common.InvocationResult;
import org.apache.geronimo.common.InvocationType;
@@ -77,7 +77,7 @@
public void start() throws Exception {
super.start();
- Container container = getContainer();
+ RPCContainer container = (RPCContainer)getContainer();
lockDomain = EJBPlugins.getLockDomain(container);
}