org.prevayler.contrib.facade
Class ProxyQuery

java.lang.Object
  extended by org.prevayler.contrib.facade.AbstractProxy
      extended by org.prevayler.contrib.facade.ProxyQuery
All Implemented Interfaces:
Serializable, Query<Serializable,Object>

public class ProxyQuery
extends AbstractProxy
implements Query<Serializable,Object>

Proxy representation of a Prevayler Query

Since:
0_1
Author:
Jay Sachs [jay@contravariant.org], Jacob Kjome [hoju@visi.com]
See Also:
Serialized Form

Constructor Summary
ProxyQuery(Method p_method, Object[] p_args, TransactionHint p_hint)
           
 
Method Summary
 Object query(Serializable p_prevalentSystem, Date p_timestamp)
           
 
Methods inherited from class org.prevayler.contrib.facade.AbstractProxy
execute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProxyQuery

public ProxyQuery(Method p_method,
                  Object[] p_args,
                  TransactionHint p_hint)
Since:
0_2
Method Detail

query

public Object query(Serializable p_prevalentSystem,
                    Date p_timestamp)
             throws Exception
Specified by:
query in interface Query<Serializable,Object>
Parameters:
p_prevalentSystem - The Prevalent System to be queried.
p_timestamp - The "current" time.
Returns:
The result of this Query.
Throws:
Exception - Any Exception encountered by this Query.


Copyright © 2001-2013. All Rights Reserved.