|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sourceforge.jemm.weaver.domain.SynchronizedBlockDummy
public class SynchronizedBlockDummy
A Dummy class for testing synchronous blocks.
| Field Summary | |
|---|---|
protected org.sourceforge.jemm.lifecycle.ShadowUserObject |
jemmOIF
|
| Constructor Summary | |
|---|---|
SynchronizedBlockDummy()
Create a SynchronizedBlockDummy. |
|
SynchronizedBlockDummy(org.sourceforge.jemm.lifecycle.ShadowUserObject obj)
Create a SynchronizedBlockDummy with the given shadow object. |
|
| Method Summary | |
|---|---|
int |
getOnLock()
Returns the current value of the onLock counter. |
int |
getOnThis()
Returns the current value of the onThis counter. |
void |
onException()
Method containing a synchronised block on 'this' which throws an exception within the block. |
void |
onLock()
Simple synchronized block on the 'lock' object. |
void |
onLockConvert()
The code weaving equivalent version of onLock(). |
void |
onNested()
Method containing a nested pair of synchronised block on 'this' and 'lock'. |
void |
onNestedConvert()
The code weaving equivalent version of onNested(). |
void |
onNestedException()
Test method that throws an exception with a nested synchronisation block. |
void |
onThis()
Method containing a synchronised block on 'this'. |
void |
onThisConvert()
The code weaving equivalent version of onThis(). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected org.sourceforge.jemm.lifecycle.ShadowUserObject jemmOIF
| Constructor Detail |
|---|
public SynchronizedBlockDummy()
public SynchronizedBlockDummy(org.sourceforge.jemm.lifecycle.ShadowUserObject obj)
obj - The underlying shadow object.| Method Detail |
|---|
public void onThis()
public void onNested()
public void onException()
public void onNestedException()
public void onThisConvert()
public void onNestedConvert()
public void onLock()
public void onLockConvert()
public int getOnThis()
public int getOnLock()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||