|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectatg.nucleus.logging.VariableArgumentApplicationLoggingImpl
atg.nucleus.GenericService
atg.svc.repository.service.ServiceFactory
public class ServiceFactory
Factory for business logic services. Non-nucleus component classes can use this class
to get an instance of a business logic component. The business components are configured
in the properties file.
Example usage:
SolutionService solutionService = ServiceFactory.getInstance().getSolutionService();
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
|
Fields inherited from class atg.nucleus.GenericService |
---|
SERVICE_INFO_KEY |
Fields inherited from interface atg.nucleus.logging.TraceApplicationLogging |
---|
DEFAULT_LOG_TRACE_STATUS |
Fields inherited from interface atg.nucleus.logging.ApplicationLogging |
---|
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS |
Constructor Summary | |
---|---|
ServiceFactory()
|
Method Summary | |
---|---|
FavoriteQueryService |
getFavoriteQueryService()
Gets the FavoriteQueryService business component. |
FavoritesService |
getFavoritesService()
Gets the FavoritesService business component. |
atg.svc.i18n.I18nTools |
getI18nTools()
|
static ServiceFactory |
getInstance()
Gets the global instance of this factory. |
static ServiceFactory |
getInstance(java.lang.String pComponent)
Gets the ServiceFactory component at the given path. |
LogicalOrganizationService |
getLogicalOrganizationService()
|
atg.svc.repository.service.util.OptionUtils |
getOptionUtils()
Gets the OptionUtils component. |
OrganizationValueService |
getOrganizationValueService()
|
ProfileService |
getProfileService()
Gets the ProfileService business component. |
QueryService |
getQueryService()
Gets the QueryService business component. |
RecentTicketsService |
getRecentTicketsService()
Gets the RecentTicketsService business component. |
RecommendedAnswerService |
getRecommendedAnswerService()
|
RecommendedReadingService |
getRecommendedReadingService()
Gets the RecommendedReadingService business component. |
SegmentedOptionService |
getSegmentedOptionService()
|
SegmentService |
getSegmentService()
Gets the SegmentService business component. |
SessionService |
getSessionService()
Gets the SessionService business component. |
SiteService |
getSiteService()
Gets the SiteService business component. |
SolutionMetadataService |
getSolutionMetadataService()
|
SolutionScoringService |
getSolutionScoringService()
Gets the SolutionScoringService business component. |
SolutionService |
getSolutionService()
Gets the SolutionService business component. |
StateHolderService |
getStateHolderService()
Gets the state holder business component. |
atg.searchadmin.repository.service.TopicService |
getTopicService()
Gets the TopicService business component. |
TransactionalFragmentService |
getTransactionalFragmentService()
Gets the configured TransactionalFragmentService component. |
UIService |
getUiService()
Gets the UIService business component. |
UserOptionsService |
getUserOptionsService()
Gets the UserOptionsService business component. |
ViewedAnswerService |
getViewedAnswerService()
|
void |
setFavoriteQueryService(FavoriteQueryService pFavoriteQueryService)
Sets the FavoriteQueryService business component. |
void |
setFavoritesService(FavoritesService pFavoritesService)
Sets the FavoritesService business component. |
void |
setI18nTools(atg.svc.i18n.I18nTools pI18nTools)
|
void |
setLogicalOrganizationService(LogicalOrganizationService pLogicalOrganizationService)
|
void |
setOptionUtils(atg.svc.repository.service.util.OptionUtils pOptionUtils)
Sets the OptionUtils component. |
void |
setOrganizationValueService(OrganizationValueService pOrganizationValueService)
|
void |
setProfileService(ProfileService pProfileService)
Sets the ProfileService business component. |
void |
setQueryService(QueryService pQueryService)
Sets the QueryService business component. |
void |
setRecentTicketsService(RecentTicketsService pRecentTicketsService)
Sets the RecentTicketsService business component. |
void |
setRecommendedAnswerService(RecommendedAnswerService pRecommendedAnswerService)
|
void |
setRecommendedReadingService(RecommendedReadingService pRecommendedReadingService)
Sets the RecommendedReadingService business component. |
void |
setSegmentedOptionService(SegmentedOptionService pSegmentedOptionService)
|
void |
setSegmentService(SegmentService pSegmentService)
Sets the SegmentService business component. |
void |
setSessionService(SessionService pSessionService)
Sets the SessionService business component. |
void |
setSiteService(SiteService pSiteService)
Sets the SiteService business component. |
void |
setSolutionMetadataService(SolutionMetadataService pSolutionMetadataService)
|
void |
setSolutionScoringService(SolutionScoringService pSolutionScoringService)
Sets the SolutionScoringService business component. |
void |
setSolutionService(SolutionService pSolutionService)
Sets the SolutionService business component. |
void |
setStateHolderService(StateHolderService pStateHolderService)
Sets the state holder business component. |
void |
setTopicService(atg.searchadmin.repository.service.TopicService pTopicService)
Sets the TopicService business component. |
void |
setTransactionalFragmentService(TransactionalFragmentService pTransactionalFragmentService)
Sets the configured TransactionalFragmentService component. |
void |
setUiService(UIService pUIService)
Sets the UIService business component. |
void |
setUserOptionsService(UserOptionsService pUserOptionsService)
Sets the UserOptionsService business component. |
void |
setViewedAnswerService(ViewedAnswerService pViewedAnswerService)
|
Methods inherited from class atg.nucleus.GenericService |
---|
addLogListener, createAdminServlet, doStartService, doStopService, getAbsoluteName, getAdminServlet, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, isRunning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, nameContextElementBound, nameContextElementUnbound, removeLogListener, resolveName, resolveName, resolveName, resolveName, sendLogEvent, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfo, startService, stopService |
Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl |
---|
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String CLASS_VERSION
Constructor Detail |
---|
public ServiceFactory()
Method Detail |
---|
public static ServiceFactory getInstance()
public static ServiceFactory getInstance(java.lang.String pComponent)
pComponent
- The component to resolve.
atg.core.exception.ContainerRuntimeException
- If the component cannot be resolved.public atg.svc.repository.service.util.OptionUtils getOptionUtils()
public void setOptionUtils(atg.svc.repository.service.util.OptionUtils pOptionUtils)
pOptionUtils
- The OptionUtils component.public ProfileService getProfileService()
public void setProfileService(ProfileService pProfileService)
pProfileService
- The ProfileService business component.public SegmentService getSegmentService()
public void setSegmentService(SegmentService pSegmentService)
pSegmentService
- The SegmentService business component.public SessionService getSessionService()
public void setSessionService(SessionService pSessionService)
pSessionService
- The SessionService business component.public SiteService getSiteService()
public void setSiteService(SiteService pSiteService)
pSiteService
- The SiteService business component.public SolutionScoringService getSolutionScoringService()
public void setSolutionScoringService(SolutionScoringService pSolutionScoringService)
pSolutionScoringService
- The SolutionScoringService business component.public SolutionService getSolutionService()
public void setSolutionService(SolutionService pSolutionService)
pSolutionService
- The SolutionService business component.public atg.searchadmin.repository.service.TopicService getTopicService()
public void setTopicService(atg.searchadmin.repository.service.TopicService pTopicService)
pTopicService
- The TopicService business component.public UserOptionsService getUserOptionsService()
public void setUserOptionsService(UserOptionsService pUserOptionsService)
pUserOptionsService
- The UserOptionsService business component.public FavoriteQueryService getFavoriteQueryService()
public void setFavoriteQueryService(FavoriteQueryService pFavoriteQueryService)
pFavoriteQueryService
- The FavoriteQueryService business component.public StateHolderService getStateHolderService()
public void setStateHolderService(StateHolderService pStateHolderService)
pStateHolderService
- The state holder business component.public UIService getUiService()
public void setUiService(UIService pUIService)
pUIService
- The UIService business component.public QueryService getQueryService()
public void setQueryService(QueryService pQueryService)
pQueryService
- The QueryService business component.public FavoritesService getFavoritesService()
public void setFavoritesService(FavoritesService pFavoritesService)
pFavoritesService
- The FavoritesService business component.public RecommendedReadingService getRecommendedReadingService()
public void setRecommendedReadingService(RecommendedReadingService pRecommendedReadingService)
pRecommendedReadingService
- The RecommendedReadingService business component.public RecommendedAnswerService getRecommendedAnswerService()
public void setRecommendedAnswerService(RecommendedAnswerService pRecommendedAnswerService)
public RecentTicketsService getRecentTicketsService()
public void setRecentTicketsService(RecentTicketsService pRecentTicketsService)
pRecentTicketsService
- The RecentTicketsService business component.public TransactionalFragmentService getTransactionalFragmentService()
public void setTransactionalFragmentService(TransactionalFragmentService pTransactionalFragmentService)
pTransactionalFragmentService
- The configured TransactionalFragmentService component.public ViewedAnswerService getViewedAnswerService()
public void setViewedAnswerService(ViewedAnswerService pViewedAnswerService)
public SegmentedOptionService getSegmentedOptionService()
public void setSegmentedOptionService(SegmentedOptionService pSegmentedOptionService)
public SolutionMetadataService getSolutionMetadataService()
public void setSolutionMetadataService(SolutionMetadataService pSolutionMetadataService)
public OrganizationValueService getOrganizationValueService()
public void setOrganizationValueService(OrganizationValueService pOrganizationValueService)
public atg.svc.i18n.I18nTools getI18nTools()
public void setI18nTools(atg.svc.i18n.I18nTools pI18nTools)
public LogicalOrganizationService getLogicalOrganizationService()
public void setLogicalOrganizationService(LogicalOrganizationService pLogicalOrganizationService)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |