[jboss-cvs] JBossAS SVN: r73350 - projects/ejb3/trunk/core/src/main/java/org/jboss/ejb3/stateful.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue May 13 10:16:08 EDT 2008


Author: bstansberry at jboss.com
Date: 2008-05-13 10:16:08 -0400 (Tue, 13 May 2008)
New Revision: 73350

Modified:
   projects/ejb3/trunk/core/src/main/java/org/jboss/ejb3/stateful/ProxiedStatefulBeanContext.java
Log:
[EJBTHREE-1356] Revert inadvertent checkin of unrelated ProxiedStatefulBeanContext

Modified: projects/ejb3/trunk/core/src/main/java/org/jboss/ejb3/stateful/ProxiedStatefulBeanContext.java
===================================================================
--- projects/ejb3/trunk/core/src/main/java/org/jboss/ejb3/stateful/ProxiedStatefulBeanContext.java	2008-05-13 14:02:31 UTC (rev 73349)
+++ projects/ejb3/trunk/core/src/main/java/org/jboss/ejb3/stateful/ProxiedStatefulBeanContext.java	2008-05-13 14:16:08 UTC (rev 73350)
@@ -63,12 +63,8 @@
       
       this.delegate = delegate;
       oid = delegate.getId();
-      containerId = delegate.getContainer().getObjectName().getCanonicalName();
+      containerId = container.getObjectName().getCanonicalName();
       parentRef = new StatefulBeanContextReference(delegate.getContainedIn());
-      
-      // HACK!! Clear superclass fields
-      this.container = null;
-      this.bean = null;
    }
 
    protected StatefulBeanContext getDelegate()
@@ -98,8 +94,6 @@
    }
 
    public void writeExternal(ObjectOutput out) throws IOException
-//   private void writeObject(java.io.ObjectOutputStream out)
-//         throws IOException
    {
       out.writeObject(oid);
       out.writeUTF(containerId);
@@ -108,8 +102,6 @@
 
    public void readExternal(ObjectInput in) throws IOException,
          ClassNotFoundException
-//   private void readObject(java.io.ObjectInputStream in)
-//         throws IOException, ClassNotFoundException
    {
       oid = in.readObject();
       containerId = in.readUTF();
@@ -427,24 +419,4 @@
       // ignore
    }
 
-   @Override
-   public Object getInvokedMethodKey()
-   {
-      return getDelegate().getInvokedMethodKey();
-   }
-
-   @Override
-   public Object getInterceptor(Class<?> interceptorClass) throws IllegalArgumentException
-   {
-      return getDelegate().getInterceptor(interceptorClass);
-   }
-
-   @Override
-   public void initialiseInterceptorInstances()
-   {
-      getDelegate().initialiseInterceptorInstances();
-   }
-   
-   
-
 }




More information about the jboss-cvs-commits mailing list