Coverage Report - org.kuali.rice.ksb.util.KSBConstants
 
Classes in this File Line Coverage Branch Coverage Complexity
KSBConstants
0%
0/3
N/A
0
KSBConstants$Config
0%
0/1
N/A
0
KSBConstants$ServiceNames
0%
0/1
N/A
0
 
 1  
 /*
 2  
  * Copyright 2007-2008 The Kuali Foundation
 3  
  *
 4  
  * Licensed under the Educational Community License, Version 2.0 (the "License");
 5  
  * you may not use this file except in compliance with the License.
 6  
  * You may obtain a copy of the License at
 7  
  *
 8  
  * http://www.opensource.org/licenses/ecl2.php
 9  
  *
 10  
  * Unless required by applicable law or agreed to in writing, software
 11  
  * distributed under the License is distributed on an "AS IS" BASIS,
 12  
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 13  
  * See the License for the specific language governing permissions and
 14  
  * limitations under the License.
 15  
  */
 16  
 package org.kuali.rice.ksb.util;
 17  
 
 18  
 import org.kuali.rice.core.util.JSTLConstants;
 19  
 
 20  
 /**
 21  
  * This is a file for constants used by the KSB module of Rice
 22  
  * 
 23  
  * @author Kuali Rice Team (rice.collab@kuali.org)
 24  
  */
 25  0
 public class KSBConstants extends JSTLConstants {
 26  
 
 27  
     private static final long serialVersionUID = -958108423493026266L;
 28  
 
 29  
     /**
 30  
      * Configuration Parameters
 31  
      */
 32  0
     public class Config {
 33  
             public static final String SERVICE_NAMESPACE = "service.namespace";
 34  
         public static final String MESSAGE_PERSISTENCE = "message.persistence";
 35  
         public static final String MESSAGING_OFF = "message.off";
 36  
         public static final String MESSAGE_DELIVERY = "message.delivery";
 37  
         public static final String INJECTED_EXCEPTION_MESSAGE_SCHEDULER_KEY = "message.injected.scheduler";
 38  
         public static final String FIXED_POOL_SIZE = "ksb.fixedPoolSize";
 39  
         public static final String ROUTE_QUEUE_MAX_RETRY_ATTEMPTS_KEY = "RouteQueue.maxRetryAttempts";
 40  
         public static final String ROUTE_QUEUE_MAX_RETRY_ATTEMPTS_OVERRIDE_KEY = "RouteQueue.maxRetryAttemptsOverride";
 41  
         public static final String ROUTE_QUEUE_TIME_INCREMENT_KEY = "RouteQueue.timeIncrement";
 42  
         public static final String IMMEDIATE_EXCEPTION_ROUTING = "Routing.ImmediateExceptionRouting";
 43  
         public static final String ALLOW_SYNC_EXCEPTION_ROUTING = "rice.ksb.allowSyncExceptionRouting";
 44  
         public static final String KSB_ALLOW_SELF_SIGNED_SSL = "rice.ksb.config.allowSelfSignedSSL";
 45  
         public static final String KSB_MESSAGE_DATASOURCE = "ksbMessage.datasource";
 46  
         public static final String KSB_MESSAGE_NON_TRANSACTIONAL_DATASOURCE = "ksbMessage.nonTransactional.datasource";
 47  
         public static final String KSB_REGISTRY_DATASOURCE = "ksbRegistry.datasource";
 48  
         public static final String KSB_MESSAGE_DATASOURCE_JNDI = "ksbMessage.datasource.jndi.location";
 49  
         public static final String KSB_MESSAGE_NON_TRANSACTIONAL_DATASOURCE_JNDI = "ksbMessage.nonTransactional.datasource.jndi.location";
 50  
         public static final String KSB_REGISTRY_DATASOURCE_JNDI = "ksbRegistry.datasource.jndi.location";
 51  
         public static final String USE_QUARTZ_DATABASE = "useQuartzDatabase";
 52  
         public static final String KSB_ALTERNATE_ENDPOINTS = "ksb.alternateEndpoints";
 53  
         public static final String KSB_ALTERNATE_ENDPOINT_LOCATIONS = "ksb.alternateEndpointLocations";
 54  
         public static final String LOAD_KNS_MODULE_CONFIGURATION = "rice.ksb.loadKNSModuleConfiguration";
 55  
         public static final String RESTFUL_SERVICE_PATH = "rice.ksb.restfulServicePath";
 56  
     }
 57  
     
 58  
     // messaging constants
 59  
     
 60  
     public static final String MESSAGING_SYNCHRONOUS = "synchronous";
 61  
     public static final String ROUTE_QUEUE_QUEUED = "Q";
 62  
     public static final String ROUTE_QUEUE_EXCEPTION = "E";
 63  
     public static final String ROUTE_QUEUE_ROUTING = "R";
 64  
     public static final String ROUTE_QUEUE_EXCEPTION_LABEL = "EXCEPTION";
 65  
     public static final String ROUTE_QUEUE_ROUTING_LABEL = "ROUTING";
 66  
     public static final String ROUTE_QUEUE_QUEUED_LABEL = "QUEUED";    
 67  0
     public static final Integer ROUTE_QUEUE_DEFAULT_PRIORITY = new Integer(5);
 68  
     public static final String ROUTE_QUEUE_FILTER_SUFFIX = "Filter";
 69  
 
 70  
     public static final String FORWARD_HANDLER_SUFFIX = "-forwardHandler";
 71  
     
 72  
     // custom http header keys
 73  
     public static final String DIGITAL_SIGNATURE_HEADER = "KEW_DIGITAL_SIGNATURE";
 74  
     public static final String KEYSTORE_ALIAS_HEADER = "KEW_KEYSTORE_ALIAS";
 75  
     public static final String KEYSTORE_CERTIFICATE_HEADER = "KEW_CERTIFICATE_ALIAS";
 76  
     
 77  0
     public class ServiceNames {
 78  
             public static final String BAM_SERVICE = "bamService";
 79  
             public static final String BUS_ADMIN_SERVICE = "busAdminService";
 80  
             public static final String BUS_IN_INTERCEPTORS = "ksbInInterceptors";
 81  
         public static final String BUS_OUT_INTERCEPTORS = "ksbOutInterceptors";
 82  
             public static final String CACHE_ADMINISTRATOR_FACTORY = "enKEWCacheAdministratorFactoryService";
 83  
             public static final String CXF_BUS = "cxf";
 84  
             public static final String CXF_SERVER_REGISTRY = "org.apache.cxf.endpoint.ServerRegistry";
 85  
             public static final String CXF_SERVLET_TRANSPORT_FACTORY = "org.apache.cxf.transport.servlet.ServletTransportFactory";
 86  
             public static final String DIGITAL_SIGNATURE_SERVICE = "digitalSignatureService";
 87  
             public static final String ENCRYPTION_SERVICE = "enEncryptionService";
 88  
         public static final String EXCEPTION_MESSAGING_SERVICE = "exceptionMessagingService";
 89  
         public static final String JAVA_SECURITY_MANAGEMENT_SERVICE = "ksbJavaSecurityManagementService";
 90  
         public static final String JTA_TRANSACTION_MANAGER = "jtaTransactionManager";
 91  
         public static final String MESSAGE_DATASOURCE = "ksbMessageDataSource";
 92  
         public static final String MESSAGE_ENTITY_MANAGER_FACTORY = "ksbMessageEntityManagerFactory";
 93  
         public static final String MESSAGE_HELPER = "enMessageHelper";
 94  
         public static final String MESSAGE_NON_TRANSACTIONAL_DATASOURCE = "ksbMessageNonTransactionalDataSource";
 95  
             public static final String OBJECT_REMOTER = "ObjectRemoterService";
 96  
             public static final String REGISTRY_DATASOURCE = "ksbRegistryDataSource";
 97  
             public static final String REGISTRY_ENTITY_MANAGER_FACTORY = "ksbRegistryEntityManagerFactory";
 98  
             public static final String REMOTED_SERVICE_REGISTRY = "enServiceInvoker";
 99  
         public static final String REPEAT_TOPIC_INVOKING_QUEUE = "enRepeatTopicInvokerQueue";
 100  
         public static final String ROUTE_QUEUE_SERVICE = "enRouteQueueService";
 101  
         public static final String SERVICE_REGISTRY = "serviceRegistry";
 102  
         public static final String SCHEDULED_THREAD_POOL_SERVICE = "enScheduledThreadPool";
 103  
         public static final String SCHEDULER = "ksbScheduler";
 104  
         public static final String SERVICE_REMOVER_SERVICE = "RemoteClassRemoverService";
 105  
         public static final String THREAD_POOL_SERVICE = "enThreadPool";
 106  
         public static final String TRANSACTION_MANAGER = "transactionManager";
 107  
         public static final String TRANSACTION_TEMPLATE = "transactionTemplate";
 108  
     }
 109  
     
 110  
     // Deprecated configuration Parameters, please use the Config inner class when referencing these.
 111  
     
 112  
     @Deprecated
 113  
     public static final String SERVICE_NAMESPACE = KSBConstants.Config.SERVICE_NAMESPACE;
 114  
     @Deprecated
 115  
     public static final String MESSAGE_PERSISTENCE = KSBConstants.Config.MESSAGE_PERSISTENCE;
 116  
     @Deprecated
 117  
     public static final String MESSAGING_OFF = KSBConstants.Config.MESSAGING_OFF;
 118  
     @Deprecated
 119  
     public static final String MESSAGE_DELIVERY = KSBConstants.Config.MESSAGE_DELIVERY;
 120  
     @Deprecated
 121  
     public static final String INJECTED_EXCEPTION_MESSAGE_SCHEDULER_KEY = KSBConstants.Config.INJECTED_EXCEPTION_MESSAGE_SCHEDULER_KEY;
 122  
     @Deprecated
 123  
     public static final String FIXED_POOL_SIZE = KSBConstants.Config.FIXED_POOL_SIZE;
 124  
     @Deprecated
 125  
     public static final String ROUTE_QUEUE_MAX_RETRY_ATTEMPTS_KEY = KSBConstants.Config.ROUTE_QUEUE_MAX_RETRY_ATTEMPTS_KEY;
 126  
     @Deprecated
 127  
     public static final String ROUTE_QUEUE_MAX_RETRY_ATTEMPTS_OVERRIDE_KEY = KSBConstants.Config.ROUTE_QUEUE_MAX_RETRY_ATTEMPTS_OVERRIDE_KEY;
 128  
     @Deprecated
 129  
     public static final String ROUTE_QUEUE_TIME_INCREMENT_KEY = KSBConstants.Config.ROUTE_QUEUE_TIME_INCREMENT_KEY;
 130  
     @Deprecated
 131  
     public static final String IMMEDIATE_EXCEPTION_ROUTING = KSBConstants.Config.IMMEDIATE_EXCEPTION_ROUTING;
 132  
     @Deprecated
 133  
     public static final String ALLOW_SYNC_EXCEPTION_ROUTING = KSBConstants.Config.ALLOW_SYNC_EXCEPTION_ROUTING;
 134  
     
 135  
     @Deprecated
 136  
     public static final String KSB_ALLOW_SELF_SIGNED_SSL = KSBConstants.Config.KSB_ALLOW_SELF_SIGNED_SSL;
 137  
     @Deprecated
 138  
     public static final String KSB_MESSAGE_DATASOURCE = KSBConstants.Config.KSB_MESSAGE_DATASOURCE;
 139  
     @Deprecated
 140  
     public static final String KSB_MESSAGE_NON_TRANSACTIONAL_DATASOURCE = KSBConstants.Config.KSB_MESSAGE_NON_TRANSACTIONAL_DATASOURCE;
 141  
     @Deprecated
 142  
     public static final String KSB_REGISTRY_DATASOURCE = KSBConstants.Config.KSB_REGISTRY_DATASOURCE;
 143  
     @Deprecated
 144  
     public static final String KSB_MESSAGE_DATASOURCE_JNDI = KSBConstants.Config.KSB_MESSAGE_DATASOURCE_JNDI;
 145  
     @Deprecated
 146  
     public static final String KSB_MESSAGE_NON_TRANSACTIONAL_DATASOURCE_JNDI = KSBConstants.Config.KSB_MESSAGE_NON_TRANSACTIONAL_DATASOURCE_JNDI;
 147  
     @Deprecated
 148  
     public static final String KSB_REGISTRY_DATASOURCE_JNDI = KSBConstants.Config.KSB_REGISTRY_DATASOURCE_JNDI;
 149  
     @Deprecated
 150  
     public static final String USE_QUARTZ_DATABASE = KSBConstants.Config.USE_QUARTZ_DATABASE;
 151  
     @Deprecated
 152  
     public static final String KSB_ALTERNATE_ENDPOINTS = KSBConstants.Config.KSB_ALTERNATE_ENDPOINTS;
 153  
     @Deprecated
 154  
     public static final String KSB_ALTERNATE_ENDPOINT_LOCATIONS = KSBConstants.Config.KSB_ALTERNATE_ENDPOINT_LOCATIONS;
 155  
     @Deprecated
 156  
     public static final String LOAD_KNS_MODULE_CONFIGURATION = KSBConstants.Config.LOAD_KNS_MODULE_CONFIGURATION;
 157  
 
 158  
 }