|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--com.mjh.switchrmi.transport.test.IScopeTestImpl
A test interface, used ot confirm that the applicaiton/session/request scoping of published objects is working.
| Constructor Summary | |
IScopeTestImpl()
|
|
| Method Summary | |
int |
getCount()
Return the current value of the same internal integer counter incremented by the incrementCount() method. |
int |
getObjectId()
Return a unique number, different for every instance of IScopeTest. |
void |
incrementCount(int value)
Increment an internal integer counter |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public IScopeTestImpl()
| Method Detail |
public int getObjectId()
If the object is published with application or session scope then sconsecutive invocations of this method on the same client proxy will return the same value.
getObjectId in interface IScopeTestpublic void incrementCount(int value)
incrementCount in interface IScopeTestpublic int getCount()
getCount in interface IScopeTest
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||