org.teiid.dqp.internal.process
Class CachedFinder

java.lang.Object
  extended by org.teiid.dqp.internal.process.CachedFinder
All Implemented Interfaces:
CapabilitiesFinder

public class CachedFinder
extends java.lang.Object
implements CapabilitiesFinder


Constructor Summary
CachedFinder(ConnectorManagerRepository repo, VDBMetaData vdb)
          Construct a CacheFinder that wraps another finder
 
Method Summary
 SourceCapabilities findCapabilities(java.lang.String modelName)
          Find capabilities used the cache if possible, otherwise do the lookup.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CachedFinder

public CachedFinder(ConnectorManagerRepository repo,
                    VDBMetaData vdb)
Construct a CacheFinder that wraps another finder

Parameters:
internalFinder - Finder to wrap
Method Detail

findCapabilities

public SourceCapabilities findCapabilities(java.lang.String modelName)
                                    throws TeiidComponentException
Find capabilities used the cache if possible, otherwise do the lookup.

Specified by:
findCapabilities in interface CapabilitiesFinder
Throws:
TeiidComponentException


Copyright © 2011. All Rights Reserved.