com.baan.b3.boi1.dt
Class TransactionScope.Switch
java.lang.Object
|
+--com.baan.b3.boi1.dt.TransactionScope.Switch
- Enclosing class:
- TransactionScope
- public abstract static class TransactionScope.Switch
- extends java.lang.Object
Argument for the TransactionScope.doSwitch(com.baan.b3.boi1.dt.TransactionScope.Switch) method.
Programmers should create a subclass that does something useful. eg:
public void myMethod(TransactionScope p_ts)
{
p_ts.doSwitch( new TransactionScope.Switch()
{
public void tsManager()
{
System.out.println("Manager transaction scope");
}
public void tsDefault()
{
System.out.println("Some other transaction scope");
}
};
}
- Author:
- Baan Company
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransactionScope.Switch
public TransactionScope.Switch()
tsNone
public void tsNone()
- Called when the switch argument is
TransactionScope.NONE.
Calls tsDefault().
Threading policy: MTSafe
tsGlobal
public void tsGlobal()
- Called when the switch argument is
TransactionScope.GLOBAL.
Calls tsDefault().
Threading policy: MTSafe
tsManager
public void tsManager()
- Called when the switch argument is
TransactionScope.MANAGER.
Calls tsDefault().
Threading policy: MTSafe
tsBusinessObject
public void tsBusinessObject()
- Called when the switch argument is
TransactionScope.BUSINESSOBJECT.
Calls tsDefault().
Threading policy: MTSafe
tsDefault
public void tsDefault()
- Called when no specific action is defined for the switch argument.
Does nothing.
Threading policy: MTSafe
Visit the SSA Global website for more information.