com.browseengine.bobo.facets
Interface RuntimeFacetHandlerFactory<P extends FacetHandlerInitializerParam,F extends RuntimeFacetHandler<?>>

All Known Implementing Classes:
AbstractRuntimeFacetHandlerFactory

public interface RuntimeFacetHandlerFactory<P extends FacetHandlerInitializerParam,F extends RuntimeFacetHandler<?>>

This interface is intended for using with RuntimeFacetHandler, which typically have local data that make them not only NOT thread safe but also dependent on request. So it is necessary to have different instance for different client or request. Typically, the new instance need to be initialized before use.

Author:
xiaoyang

Method Summary
 F get(P params)
           
 String getName()
           
 

Method Detail

getName

String getName()
Returns:
the facet name of the RuntimeFacetHandler it creates.

get

F get(P params)
Parameters:
params - the data used to initialize the RuntimeFacetHandler.
Returns:
a new instance of


Copyright © 2011. All Rights Reserved.