biz.hammurapi.remoting
Interface Invocation.Stateful

Enclosing class:
Invocation

public static interface Invocation.Stateful

Interface to inject client state into the server object before invocation and reset it after. Implementations shall store state in a thread local variable.

Author:
Pavel

Method Summary
 void resetState()
          Resets client state after invocation.
 void setState(java.lang.Object state)
          Sets client state before method invocation.
 

Method Detail

setState

void setState(java.lang.Object state)
Sets client state before method invocation.

Parameters:
state -

resetState

void resetState()
Resets client state after invocation.

Parameters:
state -


Copyright © 2006 Hammurapi Group. All Rights Reserved.