Coverage Report - org.kuali.rice.ksb.util.KSBConstants
 
Classes in this File Line Coverage Branch Coverage Complexity
KSBConstants
0%
0/3
N/A
2
KSBConstants$Config
0%
0/2
N/A
2
KSBConstants$ServiceNames
0%
0/2
N/A
2
 
 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  
 
 19  
 /**
 20  
  * This is a file for constants used by the KSB module of Rice
 21  
  * 
 22  
  * @author Kuali Rice Team (rice.collab@kuali.org)
 23  
  */
 24  
 public final class KSBConstants {
 25  
 
 26  
     /**
 27  
      * Configuration Parameters
 28  
      */
 29  
     public static final class Config {
 30  
         public static final String MESSAGE_PERSISTENCE = "message.persistence";
 31  
         public static final String MESSAGING_OFF = "message.off";
 32  
         public static final String MESSAGE_DELIVERY = "message.delivery";
 33  
         public static final String INJECTED_EXCEPTION_MESSAGE_SCHEDULER_KEY = "message.injected.scheduler";
 34  
         public static final String FIXED_POOL_SIZE = "ksb.fixedPoolSize";
 35  
         public static final String ROUTE_QUEUE_MAX_RETRY_ATTEMPTS_KEY = "RouteQueue.maxRetryAttempts";
 36  
         public static final String ROUTE_QUEUE_MAX_RETRY_ATTEMPTS_OVERRIDE_KEY = "RouteQueue.maxRetryAttemptsOverride";
 37  
         public static final String ROUTE_QUEUE_TIME_INCREMENT_KEY = "RouteQueue.timeIncrement";
 38  
         public static final String IMMEDIATE_EXCEPTION_ROUTING = "Routing.ImmediateExceptionRouting";
 39  
         public static final String ALLOW_SYNC_EXCEPTION_ROUTING = "rice.ksb.allowSyncExceptionRouting";
 40  
         public static final String KSB_ALLOW_SELF_SIGNED_SSL = "rice.ksb.config.allowSelfSignedSSL";
 41  
         public static final String KSB_MESSAGE_DATASOURCE = "rice.ksb.message.datasource";
 42  
         public static final String KSB_MESSAGE_DATASOURCE_JNDI = "rice.ksb.message.datasource.jndi.location";
 43  
         public static final String KSB_MESSAGE_NON_TRANSACTIONAL_DATASOURCE = "rice.ksb.message.nonTransactional.datasource";
 44  
         public static final String KSB_MESSAGE_NON_TRANSACTIONAL_DATASOURCE_JNDI = "rice.ksb.message.nonTransactional.datasource.jndi.location";
 45  
         public static final String KSB_REGISTRY_DATASOURCE = "rice.ksb.registry.datasource";
 46  
         public static final String KSB_REGISTRY_DATASOURCE_JNDI = "rice.ksb.registry.datasource.jndi.location";
 47  
         public static final String KSB_BAM_DATASOURCE = "rice.ksb.bam.datasource";
 48  
         public static final String KSB_BAM_DATASOURCE_JNDI = "rice.ksb.bam.datasource.jndi.location";
 49  
         public static final String USE_QUARTZ_DATABASE = "useQuartzDatabase";
 50  
         public static final String KSB_ALTERNATE_ENDPOINTS = "ksb.alternateEndpoints";
 51  
         public static final String KSB_ALTERNATE_ENDPOINT_LOCATIONS = "ksb.alternateEndpointLocations";
 52  
         public static final String LOAD_KRAD_MODULE_CONFIGURATION = "rice.ksb.loadModuleConfiguration";
 53  
         public static final String RESTFUL_SERVICE_PATH = "rice.ksb.restfulServicePath";
 54  
         public static final String INSTANCE_ID = "rice.ksb.bus.instanceId";
 55  
         public static final String REGISTRY_SERVICE_URL = "rice.ksb.registry.serviceUrl";
 56  
         
 57  0
             private Config() {
 58  0
                     throw new UnsupportedOperationException("do not call");
 59  
             }
 60  
     }
 61  
     
 62  
     // messaging constants
 63  
     
 64  
     public static final String MESSAGING_SYNCHRONOUS = "synchronous";
 65  
     public static final String ROUTE_QUEUE_QUEUED = "Q";
 66  
     public static final String ROUTE_QUEUE_EXCEPTION = "E";
 67  
     public static final String ROUTE_QUEUE_ROUTING = "R";
 68  
     public static final String ROUTE_QUEUE_EXCEPTION_LABEL = "EXCEPTION";
 69  
     public static final String ROUTE_QUEUE_ROUTING_LABEL = "ROUTING";
 70  
     public static final String ROUTE_QUEUE_QUEUED_LABEL = "QUEUED";    
 71  0
     public static final Integer ROUTE_QUEUE_DEFAULT_PRIORITY = new Integer(5);
 72  
     public static final String ROUTE_QUEUE_FILTER_SUFFIX = "Filter";
 73  
     
 74  
     // custom http header keys
 75  
     public static final String DIGITAL_SIGNATURE_HEADER = "KEW_DIGITAL_SIGNATURE";
 76  
     public static final String KEYSTORE_ALIAS_HEADER = "KEW_KEYSTORE_ALIAS";
 77  
     public static final String KEYSTORE_CERTIFICATE_HEADER = "KEW_CERTIFICATE_ALIAS";
 78  
     
 79  
     public static final class ServiceNames {
 80  
             public static final String BAM_SERVICE = "rice.ksb.bamService";
 81  
             public static final String BUS_ADMIN_SERVICE = "rice.ksb.busAdminService";
 82  
             public static final String BUS_IN_INTERCEPTORS = "ksbInInterceptors";
 83  
         public static final String BUS_OUT_INTERCEPTORS = "ksbOutInterceptors";
 84  
             public static final String CACHE_ADMINISTRATOR_FACTORY = "enKEWCacheAdministratorFactoryService";
 85  
             public static final String CXF_BUS = "cxf";
 86  
             public static final String CXF_SERVER_REGISTRY = "org.apache.cxf.endpoint.ServerRegistry";
 87  
             public static final String CXF_SERVLET_TRANSPORT_FACTORY = "org.apache.cxf.transport.servlet.ServletTransportFactory";
 88  
             public static final String DIGITAL_SIGNATURE_SERVICE = "rice.ksb.digitalSignatureService";
 89  
             public static final String ENCRYPTION_SERVICE = "enEncryptionService";
 90  
         public static final String EXCEPTION_MESSAGING_SERVICE = "rice.ksb.exceptionMessagingService";
 91  
         public static final String JAVA_SECURITY_MANAGEMENT_SERVICE = "rice.ksb.javaSecurityManagementService";
 92  
         public static final String JTA_TRANSACTION_MANAGER = "jtaTransactionManager";
 93  
         public static final String MESSAGE_DATASOURCE = "rice.ksb.messageDataSource";
 94  
         public static final String MESSAGE_ENTITY_MANAGER_FACTORY = "rice.ksb.messageEntityManagerFactory";
 95  
         public static final String MESSAGE_QUEUE_SERVICE = "rice.ksb.messageQueueService";
 96  
         public static final String MESSAGE_NON_TRANSACTIONAL_DATASOURCE = "rice.ksb.messageNonTransactionalDataSource";
 97  
             public static final String REGISTRY_DATASOURCE = "rice.ksb.registryDataSource";
 98  
             public static final String REGISTRY_ENTITY_MANAGER_FACTORY = "rice.ksb.registryEntityManagerFactory";
 99  
             public static final String SERVICE_EXPORT_MANAGER = "rice.ksb.serviceExportManager";
 100  
         public static final String SCHEDULED_THREAD_POOL_SERVICE = "rice.ksb.scheduledThreadPool";
 101  
         public static final String SCHEDULER = "rice.ksb.scheduler";
 102  
         public static final String THREAD_POOL_SERVICE = "rice.ksb.threadPool";
 103  
         public static final String TRANSACTION_MANAGER = "transactionManager";
 104  
         public static final String TRANSACTION_TEMPLATE = "transactionTemplate";
 105  
         
 106  0
             private ServiceNames() {
 107  0
                     throw new UnsupportedOperationException("do not call");
 108  
             }
 109  
     }
 110  
     
 111  0
         private KSBConstants() {
 112  0
                 throw new UnsupportedOperationException("do not call");
 113  
         }
 114  
 
 115  
 }