Permalink
Browse files

load lazily describe better.

  • Loading branch information...
1 parent 3a77acd commit b2ea7821e4f7c3e4a52d2880368d0428dcbaa065 @wonlay committed Mar 30, 2012
View
2 bobo-browse/src/main/java/com/browseengine/bobo/api/BoboSubBrowser.java
@@ -218,7 +218,7 @@ public void browse(BrowseRequest req,
FacetHandlerInitializerParam data = req.getFacethandlerData(facetName);
if (data == null)
data = FacetHandlerInitializerParam.EMPTY_PARAM;
- if (data != FacetHandlerInitializerParam.EMPTY_PARAM || factory.isEmptyParamsSupported())
+ if (data != FacetHandlerInitializerParam.EMPTY_PARAM || factory.isLoadLazily())
{
RuntimeFacetHandler<?> facetHandler = factory.get(data);
if (facetHandler != null)
View
2 ...browse/src/main/java/com/browseengine/bobo/facets/AbstractRuntimeFacetHandlerFactory.java
@@ -8,7 +8,7 @@
* false.
*/
@Override
- public boolean isEmptyParamsSupported()
+ public boolean isLoadLazily()
{
return false;
}
View
2 bobo-browse/src/main/java/com/browseengine/bobo/facets/RuntimeFacetHandlerFactory.java
@@ -22,7 +22,7 @@
/**
* @return if this facet support empty params or not.
*/
- boolean isEmptyParamsSupported();
+ boolean isLoadLazily();
/**
* @param params the data used to initialize the RuntimeFacetHandler.

0 comments on commit b2ea782

Please sign in to comment.