org.kuali.rice.kew.service
Class KEWServiceLocator

java.lang.Object
  extended by org.kuali.rice.kew.service.KEWServiceLocator

public final class KEWServiceLocator
extends Object

Convenience class that holds service names and provide methods to acquire services. Defaults to GLR for actual service acquisition. Used to be responsible for loading and holding spring application context (when it was SpringServiceLocator) but those responsibilities have been moved to the SpringLoader.

Author:
Kuali Rice Team (rice.collab@kuali.org)

Field Summary
static String ACTION_LIST_EMAIL_SERVICE
           
static String ACTION_LIST_SRV
           
static String ACTION_REGISTRY
           
static String ACTION_REQUEST_SRV
           
static String ACTION_TAKEN_SRV
           
static String BRANCH_SERVICE
           
static String CONSTANTS_SERVICE
           
static String DATASOURCE
           
static String DB_TABLES_LOADER
           
static String DOC_ROUTE_HEADER_SRV
           
static String DOCUMENT_CHANGE_HISTORY_SRV
           
static String DOCUMENT_LINK_SERVICE
           
static String DOCUMENT_SEARCH_CUSTOMIZATION_MEDIATOR
           
static String DOCUMENT_SEARCH_SERVICE
           
static String DOCUMENT_SECURITY_SERVICE
           
static String DOCUMENT_TYPE_GROUP_SERVICE
           
static String DOCUMENT_TYPE_PERMISSION_SERVICE
           
static String DOCUMENT_TYPE_SERVICE
           
static String DOCUMENT_VALUE_INDEX_SRV
           
static String EMAIL_CONTENT_SERVICE
           
static String ENCRYPTION_SERVICE
           
static String ENTITY_MANAGER_FACTORY
           
static String EXCEPTION_ROUTING_SERVICE
           
static String EXTENSION_SERVICE
           
static String EXTRACT_SERVICE
           
static String IDENTITY_HELPER_SERVICE
           
static String JTA_TRANSACTION_MANAGER
           
static String KEW_RUN_MODE_PROPERTY
           
static String LOCAL_CACHE_MANAGER
           
static String MAILER
           
static String NOTE_SERVICE
           
static String NOTIFICATION_SERVICE
           
static String OPTIMISTIC_LOCK_FAILURE_SERVICE
           
static String QUICK_LINKS_SERVICE
           
static String REMOVE_REPLACE_DOCUMENT_SERVICE
           
static String RESPONSIBILITY_ID_SERVICE
           
static String ROLE_SERVICE
           
static String ROUTE_LEVEL_SERVICE
           
static String ROUTE_LOG_SERVICE
           
static String ROUTE_MANAGER_CONTROLLER
           
static String ROUTE_MANAGER_DRIVER
           
static String ROUTE_MANAGER_QUEUE_SERVICE
           
static String ROUTE_MODULE_SERVICE
           
static String ROUTE_NODE_SERVICE
           
static String ROUTING_REPORT_SERVICE
           
static String RULE_ATTRIBUTE_SERVICE
           
static String RULE_DELEGATION_SERVICE
           
static String RULE_SERVICE
           
static String RULE_TEMPLATE_ATTRIBUTE_SERVICE
           
static String RULE_TEMPLATE_SERVICE
           
static String RULE_VALIDATION_ATTRIBUTE_RESOLVER
           
static String SCHEDULER
           
static String SIMULATION_ENGINE
           
static String STATS_SERVICE
           
static String TRANSACTION_MANAGER
           
static String TRANSACTION_TEMPLATE
           
static String TRANSFORMATION_SERVICE
           
static String USER_OPTIONS_SRV
           
static String USER_TRANSACTION
           
static String WORKFLOW_DOCUMENT_PROTOTYPE
           
static String WORKFLOW_DOCUMENT_SERVICE
           
static String WORKFLOW_ENGINE_FACTORY
           
static String WORKFLOW_MBEAN
           
static String WORKFLOW_RULE_ATTRIBUTE_MEDIATOR
           
static String XML_POLLER_SERVICE
          Polls for xml files on disk
 
Constructor Summary
KEWServiceLocator()
           
 
Method Summary
static ActionListEmailService getActionListEmailService()
           
static ActionListService getActionListService()
           
static ActionRegistry getActionRegistry()
           
static ActionRequestService getActionRequestService()
           
static ActionTakenService getActionTakenService()
           
static
<T> T
getBean(String serviceName)
           
static BranchService getBranchService()
           
static DataSource getDataSource()
          For the following methods, we go directly to the SpringLoader because we do NOT want them to be wrapped in any sort of proxy.
static DocumentLinkService getDocumentLinkService()
           
static DocumentSearchCustomizationMediator getDocumentSearchCustomizationMediator()
           
static DocumentSearchService getDocumentSearchService()
           
static DocumentSecurityService getDocumentSecurityService()
           
static DocumentTypePermissionService getDocumentTypePermissionService()
           
static DocumentTypeService getDocumentTypeService()
           
static EmailContentService getEmailContentService()
           
static EncryptionService getEncryptionService()
           
static javax.persistence.EntityManagerFactory getEntityManagerFactory()
           
static WorkflowDocumentExceptionRoutingService getExceptionRoutingService()
           
static ExtractService getExtractService()
           
static IdentityHelperService getIdentityHelperService()
           
static org.springframework.cache.CacheManager getLocalCacheManager()
           
static NoteService getNoteService()
           
static NotificationService getNotificationService()
           
static org.springframework.transaction.PlatformTransactionManager getPlatformTransactionManager()
           
static ResponsibilityIdService getResponsibilityIdService()
           
static RoleService getRoleService()
           
static RouteHeaderService getRouteHeaderService()
           
static RouteModuleService getRouteModuleService()
           
static RouteNodeService getRouteNodeService()
           
static RoutingReportService getRoutingReportService()
           
static RuleAttributeService getRuleAttributeService()
           
static RuleDelegationService getRuleDelegationService()
           
static RuleServiceInternal getRuleService()
           
static RuleTemplateService getRuleTemplateService()
           
static RuleValidationAttributeResolver getRuleValidationAttributeResolver()
           
static
<T> T
getService(String serviceName)
           
static SimulationWorkflowEngine getSimulationEngine()
           
static TransactionManager getTransactionManager()
           
static UserOptionsService getUserOptionsService()
           
static UserTransaction getUserTransaction()
           
static WorkflowDocumentPrototype getWorkflowDocumentPrototype()
           
static WorkflowDocumentService getWorkflowDocumentService()
           
static WorkflowEngineFactory getWorkflowEngineFactory()
           
static WorkflowRuleAttributeMediator getWorkflowRuleAttributeMediator()
           
static XmlPollerService getXmlPollerService()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

KEW_RUN_MODE_PROPERTY

public static final String KEW_RUN_MODE_PROPERTY
See Also:
Constant Field Values

DATASOURCE

public static final String DATASOURCE
See Also:
Constant Field Values

QUICK_LINKS_SERVICE

public static final String QUICK_LINKS_SERVICE
See Also:
Constant Field Values

DOCUMENT_SEARCH_SERVICE

public static final String DOCUMENT_SEARCH_SERVICE
See Also:
Constant Field Values

ACTION_TAKEN_SRV

public static final String ACTION_TAKEN_SRV
See Also:
Constant Field Values

ACTION_REQUEST_SRV

public static final String ACTION_REQUEST_SRV
See Also:
Constant Field Values

ACTION_LIST_SRV

public static final String ACTION_LIST_SRV
See Also:
Constant Field Values

DOC_ROUTE_HEADER_SRV

public static final String DOC_ROUTE_HEADER_SRV
See Also:
Constant Field Values

DOCUMENT_TYPE_GROUP_SERVICE

public static final String DOCUMENT_TYPE_GROUP_SERVICE
See Also:
Constant Field Values

DOCUMENT_TYPE_SERVICE

public static final String DOCUMENT_TYPE_SERVICE
See Also:
Constant Field Values

DOCUMENT_TYPE_PERMISSION_SERVICE

public static final String DOCUMENT_TYPE_PERMISSION_SERVICE
See Also:
Constant Field Values

DOCUMENT_SECURITY_SERVICE

public static final String DOCUMENT_SECURITY_SERVICE
See Also:
Constant Field Values

USER_OPTIONS_SRV

public static final String USER_OPTIONS_SRV
See Also:
Constant Field Values

DOCUMENT_CHANGE_HISTORY_SRV

public static final String DOCUMENT_CHANGE_HISTORY_SRV
See Also:
Constant Field Values

DOCUMENT_VALUE_INDEX_SRV

public static final String DOCUMENT_VALUE_INDEX_SRV
See Also:
Constant Field Values

ROUTE_LEVEL_SERVICE

public static final String ROUTE_LEVEL_SERVICE
See Also:
Constant Field Values

CONSTANTS_SERVICE

public static final String CONSTANTS_SERVICE
See Also:
Constant Field Values

ROUTE_LOG_SERVICE

public static final String ROUTE_LOG_SERVICE
See Also:
Constant Field Values

RULE_TEMPLATE_SERVICE

public static final String RULE_TEMPLATE_SERVICE
See Also:
Constant Field Values

RULE_SERVICE

public static final String RULE_SERVICE
See Also:
Constant Field Values

RULE_ATTRIBUTE_SERVICE

public static final String RULE_ATTRIBUTE_SERVICE
See Also:
Constant Field Values

RULE_TEMPLATE_ATTRIBUTE_SERVICE

public static final String RULE_TEMPLATE_ATTRIBUTE_SERVICE
See Also:
Constant Field Values

ROLE_SERVICE

public static final String ROLE_SERVICE
See Also:
Constant Field Values

RESPONSIBILITY_ID_SERVICE

public static final String RESPONSIBILITY_ID_SERVICE
See Also:
Constant Field Values

STATS_SERVICE

public static final String STATS_SERVICE
See Also:
Constant Field Values

ROUTE_MANAGER_QUEUE_SERVICE

public static final String ROUTE_MANAGER_QUEUE_SERVICE
See Also:
Constant Field Values

ROUTE_MANAGER_CONTROLLER

public static final String ROUTE_MANAGER_CONTROLLER
See Also:
Constant Field Values

RULE_DELEGATION_SERVICE

public static final String RULE_DELEGATION_SERVICE
See Also:
Constant Field Values

ROUTE_MANAGER_DRIVER

public static final String ROUTE_MANAGER_DRIVER
See Also:
Constant Field Values

OPTIMISTIC_LOCK_FAILURE_SERVICE

public static final String OPTIMISTIC_LOCK_FAILURE_SERVICE
See Also:
Constant Field Values

NOTE_SERVICE

public static final String NOTE_SERVICE
See Also:
Constant Field Values

ROUTING_REPORT_SERVICE

public static final String ROUTING_REPORT_SERVICE
See Also:
Constant Field Values

ROUTE_MODULE_SERVICE

public static final String ROUTE_MODULE_SERVICE
See Also:
Constant Field Values

EXCEPTION_ROUTING_SERVICE

public static final String EXCEPTION_ROUTING_SERVICE
See Also:
Constant Field Values

ACTION_REGISTRY

public static final String ACTION_REGISTRY
See Also:
Constant Field Values

BRANCH_SERVICE

public static final String BRANCH_SERVICE
See Also:
Constant Field Values

WORKFLOW_MBEAN

public static final String WORKFLOW_MBEAN
See Also:
Constant Field Values

JTA_TRANSACTION_MANAGER

public static final String JTA_TRANSACTION_MANAGER
See Also:
Constant Field Values

USER_TRANSACTION

public static final String USER_TRANSACTION
See Also:
Constant Field Values

SCHEDULER

public static final String SCHEDULER
See Also:
Constant Field Values

DOCUMENT_LINK_SERVICE

public static final String DOCUMENT_LINK_SERVICE
See Also:
Constant Field Values

XML_POLLER_SERVICE

public static final String XML_POLLER_SERVICE
Polls for xml files on disk

See Also:
Constant Field Values

DB_TABLES_LOADER

public static final String DB_TABLES_LOADER
See Also:
Constant Field Values

ROUTE_NODE_SERVICE

public static final String ROUTE_NODE_SERVICE
See Also:
Constant Field Values

SIMULATION_ENGINE

public static final String SIMULATION_ENGINE
See Also:
Constant Field Values

WORKFLOW_ENGINE_FACTORY

public static final String WORKFLOW_ENGINE_FACTORY
See Also:
Constant Field Values

ACTION_LIST_EMAIL_SERVICE

public static final String ACTION_LIST_EMAIL_SERVICE
See Also:
Constant Field Values

EMAIL_CONTENT_SERVICE

public static final String EMAIL_CONTENT_SERVICE
See Also:
Constant Field Values

NOTIFICATION_SERVICE

public static final String NOTIFICATION_SERVICE
See Also:
Constant Field Values

TRANSACTION_MANAGER

public static final String TRANSACTION_MANAGER
See Also:
Constant Field Values

TRANSACTION_TEMPLATE

public static final String TRANSACTION_TEMPLATE
See Also:
Constant Field Values

WORKFLOW_DOCUMENT_SERVICE

public static final String WORKFLOW_DOCUMENT_SERVICE
See Also:
Constant Field Values

EXTENSION_SERVICE

public static final String EXTENSION_SERVICE
See Also:
Constant Field Values

TRANSFORMATION_SERVICE

public static final String TRANSFORMATION_SERVICE
See Also:
Constant Field Values

ENCRYPTION_SERVICE

public static final String ENCRYPTION_SERVICE
See Also:
Constant Field Values

REMOVE_REPLACE_DOCUMENT_SERVICE

public static final String REMOVE_REPLACE_DOCUMENT_SERVICE
See Also:
Constant Field Values

EXTRACT_SERVICE

public static final String EXTRACT_SERVICE
See Also:
Constant Field Values

IDENTITY_HELPER_SERVICE

public static final String IDENTITY_HELPER_SERVICE
See Also:
Constant Field Values

ENTITY_MANAGER_FACTORY

public static final String ENTITY_MANAGER_FACTORY
See Also:
Constant Field Values

MAILER

public static final String MAILER
See Also:
Constant Field Values

WORKFLOW_DOCUMENT_PROTOTYPE

public static final String WORKFLOW_DOCUMENT_PROTOTYPE
See Also:
Constant Field Values

DOCUMENT_SEARCH_CUSTOMIZATION_MEDIATOR

public static final String DOCUMENT_SEARCH_CUSTOMIZATION_MEDIATOR
See Also:
Constant Field Values

RULE_VALIDATION_ATTRIBUTE_RESOLVER

public static final String RULE_VALIDATION_ATTRIBUTE_RESOLVER
See Also:
Constant Field Values

WORKFLOW_RULE_ATTRIBUTE_MEDIATOR

public static final String WORKFLOW_RULE_ATTRIBUTE_MEDIATOR
See Also:
Constant Field Values

LOCAL_CACHE_MANAGER

public static final String LOCAL_CACHE_MANAGER
See Also:
Constant Field Values
Constructor Detail

KEWServiceLocator

public KEWServiceLocator()
Method Detail

getEntityManagerFactory

public static javax.persistence.EntityManagerFactory getEntityManagerFactory()

getService

public static <T> T getService(String serviceName)
Parameters:
serviceName - the name of the service bean
Returns:
the service

getBean

public static <T> T getBean(String serviceName)

getDocumentTypeService

public static DocumentTypeService getDocumentTypeService()

getDocumentTypePermissionService

public static DocumentTypePermissionService getDocumentTypePermissionService()

getDocumentSecurityService

public static DocumentSecurityService getDocumentSecurityService()

getActionRequestService

public static ActionRequestService getActionRequestService()

getActionTakenService

public static ActionTakenService getActionTakenService()

getResponsibilityIdService

public static ResponsibilityIdService getResponsibilityIdService()

getRouteHeaderService

public static RouteHeaderService getRouteHeaderService()

getRuleTemplateService

public static RuleTemplateService getRuleTemplateService()

getRuleAttributeService

public static RuleAttributeService getRuleAttributeService()

getWorkflowDocumentService

public static WorkflowDocumentService getWorkflowDocumentService()

getRouteModuleService

public static RouteModuleService getRouteModuleService()

getRoleService

public static RoleService getRoleService()

getRuleService

public static RuleServiceInternal getRuleService()

getRuleDelegationService

public static RuleDelegationService getRuleDelegationService()

getRoutingReportService

public static RoutingReportService getRoutingReportService()

getXmlPollerService

public static XmlPollerService getXmlPollerService()

getUserOptionsService

public static UserOptionsService getUserOptionsService()

getActionListService

public static ActionListService getActionListService()

getRouteNodeService

public static RouteNodeService getRouteNodeService()

getSimulationEngine

public static SimulationWorkflowEngine getSimulationEngine()

getWorkflowEngineFactory

public static WorkflowEngineFactory getWorkflowEngineFactory()

getExceptionRoutingService

public static WorkflowDocumentExceptionRoutingService getExceptionRoutingService()

getActionListEmailService

public static ActionListEmailService getActionListEmailService()

getEmailContentService

public static EmailContentService getEmailContentService()

getNotificationService

public static NotificationService getNotificationService()

getTransactionManager

public static TransactionManager getTransactionManager()

getUserTransaction

public static UserTransaction getUserTransaction()

getNoteService

public static NoteService getNoteService()

getActionRegistry

public static ActionRegistry getActionRegistry()

getEncryptionService

public static EncryptionService getEncryptionService()

getBranchService

public static BranchService getBranchService()

getDocumentSearchService

public static DocumentSearchService getDocumentSearchService()

getExtractService

public static ExtractService getExtractService()

getIdentityHelperService

public static IdentityHelperService getIdentityHelperService()

getDocumentLinkService

public static DocumentLinkService getDocumentLinkService()

getDataSource

public static DataSource getDataSource()
For the following methods, we go directly to the SpringLoader because we do NOT want them to be wrapped in any sort of proxy.


getPlatformTransactionManager

public static org.springframework.transaction.PlatformTransactionManager getPlatformTransactionManager()

getWorkflowDocumentPrototype

public static WorkflowDocumentPrototype getWorkflowDocumentPrototype()

getDocumentSearchCustomizationMediator

public static DocumentSearchCustomizationMediator getDocumentSearchCustomizationMediator()

getWorkflowRuleAttributeMediator

public static WorkflowRuleAttributeMediator getWorkflowRuleAttributeMediator()

getRuleValidationAttributeResolver

public static RuleValidationAttributeResolver getRuleValidationAttributeResolver()

getLocalCacheManager

public static org.springframework.cache.CacheManager getLocalCacheManager()


Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.