no.sesat.search.site.config
Interface BytecodeContext

All Superinterfaces:
no.sesat.commons.ioc.BaseContext
All Known Subinterfaces:
AbstractConfigFactory.Context, AbstractEvaluatorFactory.Context, AnalysisRuleFactory.Context, NavigationController.Context, NavigationControllerSpiFactory.Context, QueryBuilder.Context, QueryTransformer.Context, QueryTransformerFactory.Context, ResourceClassLoader.Context, ResourceContext, ResultHandler.Context, RunHandler.Context, RunningQuery.Context, RunTransformer.Context, SearchCommand.Context, SearchCommandFactory.Context, SearchModeFactory.Context, SearchTabFactory.Context, SiteClassLoaderFactory.Context, SpiClassLoader.Context, SyndicationGenerator.Context, TokenEvaluationEngine.Context, VelocityEngineFactory.Context

public interface BytecodeContext
extends no.sesat.commons.ioc.BaseContext

Interface providing a way to get bytecode resource loaders.


Method Summary
 BytecodeLoader newBytecodeLoader(SiteContext siteContext, String className, String jarFileName)
          Returns a loader for the site and class.
 

Method Detail

newBytecodeLoader

BytecodeLoader newBytecodeLoader(SiteContext siteContext,
                                 String className,
                                 String jarFileName)
Returns a loader for the site and class. If a jarFileName is supplied only that jar file will be used to find the class.

Parameters:
siteContext - the site to load bytecode for
className - the class to load.
jarFileName - optional jar file to restrict loader to.
Returns:
byte code for class.


Copyright © 2005-2009 Schibsted ASA. All Rights Reserved.