FileDocCategorySizeDatePackage
OptimizedStatefulBean.javaAPI DocJBoss 4.2.12400Fri Jul 13 20:53:12 BST 2007org.jboss.ejb3.test.clusteredsession

OptimizedStatefulBean

public class OptimizedStatefulBean extends NonAnnotationStatefulBean implements org.jboss.ejb3.cache.Optimized
Stateful bean that configures clustering via annotations.
author
Ben Wang
version
$Revision: 59445 $

Fields Summary
private static final long
serialVersionUID
The serialVersionUID
private boolean
modified
Constructors Summary
Methods Summary
public intgetPostActivate()

      modified = false;
      return super.getPostActivate();
   
public intgetPrePassivate()

      modified = false;
      return super.getPrePassivate();
   
public booleanisModified()

   
     
   
      boolean answer = modified;
      modified = true;
      return answer;
   
public voidresetActivationCounter()

      modified = false;
      super.resetActivationCounter();