org.szegedi.spring.web.jsflow.support
Interface FlowStateSerializer.StubResolver

Enclosing class:
FlowStateSerializer

public static interface FlowStateSerializer.StubResolver

An interface that can be implemented to resolve further context-specific stubs.

Since:
1.2
Version:
$Id: $
Author:
Attila Szegedi

Method Summary
 java.lang.Object resolveStub(java.lang.Object stub)
          Resolves a stub into an object.
 

Method Detail

resolveStub

java.lang.Object resolveStub(java.lang.Object stub)
                             throws java.io.InvalidObjectException
Resolves a stub into an object.

Parameters:
stub - the stub to resolve
Returns:
the resolved object, or null if the resolved does not recognize the object as a stub.
Throws:
java.io.InvalidObjectException - if the resolver recognizes the stub, but is unable to provide the resolved object