Coverage Report - org.kuali.rice.krms.config.KRMSConfigurer
 
Classes in this File Line Coverage Branch Coverage Complexity
KRMSConfigurer
0%
0/6
0%
0/2
2
 
 1  
 /**
 2  
  * Copyright 2005-2011 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.krms.config;
 17  
 
 18  
 import java.util.ArrayList;
 19  
 import java.util.List;
 20  
 
 21  
 import org.kuali.rice.core.impl.config.module.ModuleConfigurer;
 22  
 
 23  
 /**
 24  
  * This class handles the Spring based KRMS configuration that is part of the Rice Configurer that must 
 25  
  * exist in all Rice based systems and clients. 
 26  
  * 
 27  
  * @author Kuali Rice Team (rice.collab@kuali.org)
 28  
  */
 29  0
 public class KRMSConfigurer extends ModuleConfigurer {
 30  
 
 31  
         private static final String KRMS_SPRING_BEANS_PATH = "classpath:org/kuali/rice/krms/config/KRMSSpringBeans.xml";
 32  
     private static final String KRMS_KSB_SPRING_BEANS_PATH = "classpath:org/kuali/rice/krms/config/KRMSServiceBusSpringBeans.xml";
 33  
 
 34  
         
 35  
         @Override
 36  
         public List<String> getPrimarySpringFiles() {
 37  0
                 final List<String> springFileLocations = new ArrayList<String>();
 38  0
                 springFileLocations.add( KRMS_SPRING_BEANS_PATH );
 39  
 
 40  0
         if ( isExposeServicesOnBus() ) {
 41  0
                     springFileLocations.add(KRMS_KSB_SPRING_BEANS_PATH);
 42  
                 }
 43  
 
 44  0
                 return springFileLocations;
 45  
         }
 46  
         
 47  
 }