org.objectweb.jonas.jtests.beans.folder
Class FileEC

org.objectweb.jonas.jtests.beans.folder.FileEC

public class FileEC

Implementation for the bean FileEC.

Author:
Philippe Durieux

Field Summary
 int count
           
protected static org.objectweb.util.monolog.api.Logger logger
           
 java.lang.String name
           
 java.lang.String p1pk
           
 java.lang.String p2pk
           
 
Constructor Summary
FileEC()
           
 
Method Summary
 void ejbActivate()
           
 java.lang.String ejbCreate(java.lang.String name)
           
 void ejbLoad()
          Persistent state has been loaded just before this method is invoked by the container.
 void ejbPassivate()
           
 java.lang.String ejbPostCreate(java.lang.String name)
           
 void ejbRemove()
           
 void ejbStore()
           
 int getCount()
           
 java.lang.String getName()
           
 PaperLocal getP1()
           
 int getP1Value()
           
 PaperLocal getP2()
           
 int getP2Value()
           
 void setEntityContext(javax.ejb.EntityContext ctx)
          Called by the container after the instance has been created.
 void unsetEntityContext()
           
 

Field Detail

logger

protected static org.objectweb.util.monolog.api.Logger logger

name

public java.lang.String name

p1pk

public java.lang.String p1pk

p2pk

public java.lang.String p2pk

count

public int count
Constructor Detail

FileEC

public FileEC()
Method Detail

setEntityContext

public void setEntityContext(javax.ejb.EntityContext ctx)
Called by the container after the instance has been created.

unsetEntityContext

public void unsetEntityContext()

ejbActivate

public void ejbActivate()

ejbPassivate

public void ejbPassivate()

ejbLoad

public void ejbLoad()
Persistent state has been loaded just before this method is invoked by the container. Must reinit here non persistent data.

ejbStore

public void ejbStore()

ejbRemove

public void ejbRemove()
               throws javax.ejb.RemoveException

ejbCreate

public java.lang.String ejbCreate(java.lang.String name)
                           throws javax.ejb.CreateException

ejbPostCreate

public java.lang.String ejbPostCreate(java.lang.String name)
                               throws javax.ejb.CreateException

getP1Value

public int getP1Value()

getP2Value

public int getP2Value()

getName

public java.lang.String getName()

getCount

public int getCount()

getP1

public PaperLocal getP1()

getP2

public PaperLocal getP2()