com.mjh.switchrmi.transport.test
Interface IScopeTest

All Known Implementing Classes:
IScopeTestImpl

public interface IScopeTest

A test interface, used ot confirm that the applicaiton/session/request scoping of published objects is working.


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
 

Method Detail

getObjectId

public int getObjectId()
Return a unique number, different for every instance of IScopeTest.

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.


incrementCount

public void incrementCount(int value)
Increment an internal integer counter


getCount

public int getCount()
Return the current value of the same internal integer counter incremented by the incrementCount() method.



Copyright © 2002-2002 Michael J. Henderson & Associates, LLC. All Rights Reserved.