djencks     2005/02/01 17:27:49

  Modified:    modules/core/src/java/org/openejb/entity
                        EntityContextImpl.java
  Log:

  GERONIMO-563. More correct allowed methods for ejbTimeout and ws interface 
methods.
  
  Revision  Changes    Path
  1.5       +1 -8      
openejb/modules/core/src/java/org/openejb/entity/EntityContextImpl.java
  
  Index: EntityContextImpl.java
  ===================================================================
  RCS file: 
/home/projects/openejb/scm/openejb/modules/core/src/java/org/openejb/entity/EntityContextImpl.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- EntityContextImpl.java    12 Oct 2004 20:01:12 -0000      1.4
  +++ EntityContextImpl.java    1 Feb 2005 22:27:49 -0000       1.5
  @@ -262,13 +262,6 @@
       };
   
       public static EntityContextState EJBTIMEOUT = new EntityContextState() {
  -        public Principal getCallerPrincipal() {
  -            throw new IllegalStateException("getCallerPrincipal() cannot be 
called from ejbActivate/ejbPassivate");
  -        }
  -
  -        public boolean isCallerInRole(String s, EJBInstanceContext context) {
  -            throw new IllegalStateException("isCallerInRole(String) cannot 
be called from ejbActivate/ejbPassivate");
  -        }
       };
   
       private static final EntityContextState states[] = new 
EntityContextState[EJBOperation.MAX_ORDINAL];
  
  
  

Reply via email to