hu.midori.kosmos.server
Class UpdateableCachedValue

java.lang.Object
  extended by hu.midori.kosmos.server.UpdateableCachedValue
All Implemented Interfaces:
java.io.Serializable

public class UpdateableCachedValue
extends java.lang.Object
implements java.io.Serializable

Wraps both method invocation and its return value, so that it can be stored in the cache and can be updated any time later.

Version:
$Id$
Author:
Aron Gombas
See Also:
Serialized Form

Constructor Summary
UpdateableCachedValue(org.aopalliance.intercept.MethodInvocation invocation, java.io.Serializable result)
           
 
Method Summary
 org.aopalliance.intercept.MethodInvocation getInvocation()
           
 java.io.Serializable getMethodResult()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpdateableCachedValue

public UpdateableCachedValue(org.aopalliance.intercept.MethodInvocation invocation,
                             java.io.Serializable result)
Method Detail

getInvocation

public org.aopalliance.intercept.MethodInvocation getInvocation()

getMethodResult

public java.io.Serializable getMethodResult()