ca.uhn.cache.impl
Class MethodDataSource
java.lang.Object
ca.uhn.cache.impl.MethodDataSource
- All Implemented Interfaces:
- IDataSource
- public class MethodDataSource
- extends java.lang.Object
- implements IDataSource
IDataSource
implementation backed by a method invocation.
- Version:
- $Revision: 1.1 $ updated on $Date: 2005/01/24 22:52:37 $ by $Author: bryan_tripp $
- Author:
- Alexei Guevara
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MethodDataSource
public MethodDataSource()
execute
public IQueryResult execute(IQuery[] theQueries)
throws DataSourceException
- Runs one or more queries against the data source.
- Specified by:
execute
in interface IDataSource
- Parameters:
theQueries
- queries to run
- Returns:
- data matching the given queries (may return before all
data are available)
- Throws:
DataSourceException
- If the execute operation could not be successfully completed.
getInstance
public java.lang.Object getInstance()
- Returns:
- Returns the instance.
setInstance
public void setInstance(java.lang.Object theInstance)
- Parameters:
theInstance
- The instance to set.
getMethod
public java.lang.reflect.Method getMethod()
- Returns:
- Returns the method.
setMethod
public void setMethod(java.lang.reflect.Method theMethod)
- Parameters:
theMethod
- The method to set.
getMethodDataSourceHelper
public IMethodDataSourceHelper getMethodDataSourceHelper()
- Returns:
- Returns the methodDataSourceHelper.
setMethodDataSourceHelper
public void setMethodDataSourceHelper(IMethodDataSourceHelper theMethodDataSourceHelper)
- Parameters:
theMethodDataSourceHelper
- The methodDataSourceHelper to set.
Copyright © 2004-2005 University Health Network. All Rights Reserved.