no.sesat.search.site.config
Interface PropertiesContext

All Superinterfaces:
no.sesat.commons.ioc.BaseContext
All Known Subinterfaces:
AbstractEvaluatorFactory.Context, AnalysisRuleFactory.Context, DataModelFactory.Context, NavigationController.Context, QueryBuilder.Context, QueryTransformer.Context, ResourceContext, ResultHandler.Context, RunHandler.Context, RunningQuery.Context, RunTransformer.Context, SearchCommand.Context, SearchModeFactory.Context, SearchTabFactory.Context, SiteConfiguration.Context, SyndicationGenerator.Context, TextMessages.Context, TokenEvaluationEngine.Context, VelocityEngineFactory.Context

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

Defines the context for consumers of PropertiesLoaders.

Version:
$Id: ResourceContext.java 2045 2006-01-25 12:10:01Z mickw $

Method Summary
 PropertiesLoader newPropertiesLoader(SiteContext siteCxt, String resource, Properties properties)
          Create a new PropertiesLoader for the given resource name/path and load it into the given properties.
 

Method Detail

newPropertiesLoader

PropertiesLoader newPropertiesLoader(SiteContext siteCxt,
                                     String resource,
                                     Properties properties)
Create a new PropertiesLoader for the given resource name/path and load it into the given properties. Will not overwrite existing properties.

Parameters:
resource - the resource name/path.
properties - the properties to hold the individual properties loaded.
Returns:
the new PropertiesLoader to use.


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