com.silverpeas.kmelia.search
Class KmeliaSearchServiceFactory

java.lang.Object
  extended by com.silverpeas.kmelia.search.KmeliaSearchServiceFactory
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

public class KmeliaSearchServiceFactory
extends Object
implements org.springframework.context.ApplicationContextAware

Factory of KmeliaSearchService, you can change the implementation using spring IoC configuration

Author:
ebonnet

Field Summary
static String STATISTIC_SERVICE
           
static String TOPIC_SEARCH_SERVICE
           
 
Method Summary
static KmeliaSearchServiceFactory getInstance()
          Gets an instance of this KmeliaSearchServiceFactory class.
static StatisticService getStatisticService()
           
static TopicSearchService getTopicSearchService()
           
 void setApplicationContext(org.springframework.context.ApplicationContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TOPIC_SEARCH_SERVICE

public static final String TOPIC_SEARCH_SERVICE
See Also:
Constant Field Values

STATISTIC_SERVICE

public static final String STATISTIC_SERVICE
See Also:
Constant Field Values
Method Detail

setApplicationContext

public void setApplicationContext(org.springframework.context.ApplicationContext context)
                           throws org.springframework.beans.BeansException
Specified by:
setApplicationContext in interface org.springframework.context.ApplicationContextAware
Throws:
org.springframework.beans.BeansException

getInstance

public static KmeliaSearchServiceFactory getInstance()
Gets an instance of this KmeliaSearchServiceFactory class.

Returns:
a KmeliaSearchServiceFactory instance.

getTopicSearchService

public static TopicSearchService getTopicSearchService()

getStatisticService

public static StatisticService getStatisticService()


Copyright © 2016 Silverpeas. All Rights Reserved.