org.objectweb.jonas.jtests.beans.transacted
Class SimpleCommon

java.lang.Object
  |
  +--org.objectweb.jonas.jtests.beans.transacted.SimpleCommon

public class SimpleCommon
extends java.lang.Object

Common part to different implementations of Simple


Field Summary
protected static org.objectweb.util.monolog.api.Logger logger
           
 
Constructor Summary
SimpleCommon()
           
 
Method Summary
 boolean call_requires_new_on(Simple other)
          REQUIRED -> should return true.
protected  void initLogger()
          Utility method that init the logger
protected  boolean isAssociated()
          Utility method that returns true if the thread is associated to a transaction
 boolean opwith_mandatory()
          This method return true if there is an association of a transaction with this thread
 boolean opwith_never()
          This method return true if there is an association of a transaction with this thread
 boolean opwith_notsupported()
          This method return true if there is an association of a transaction with this thread
 boolean opwith_required()
          This method return true if there is an association of a transaction with this thread
 boolean opwith_requires_new()
          This method return true if there is an association of a transaction with this thread
 boolean opwith_supports()
          This method return true if there is an association of a transaction with this thread
 boolean required_call_requires_new()
          REQUIRED -> should return true.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

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

SimpleCommon

public SimpleCommon()
Method Detail

initLogger

protected void initLogger()
Utility method that init the logger

isAssociated

protected boolean isAssociated()
Utility method that returns true if the thread is associated to a transaction

opwith_notsupported

public boolean opwith_notsupported()
This method return true if there is an association of a transaction with this thread

opwith_supports

public boolean opwith_supports()
This method return true if there is an association of a transaction with this thread

opwith_required

public boolean opwith_required()
This method return true if there is an association of a transaction with this thread

opwith_requires_new

public boolean opwith_requires_new()
This method return true if there is an association of a transaction with this thread

opwith_mandatory

public boolean opwith_mandatory()
This method return true if there is an association of a transaction with this thread

opwith_never

public boolean opwith_never()
This method return true if there is an association of a transaction with this thread

required_call_requires_new

public boolean required_call_requires_new()
REQUIRED -> should return true.

call_requires_new_on

public boolean call_requires_new_on(Simple other)
                             throws java.rmi.RemoteException
REQUIRED -> should return true.