Coverage Report - org.kuali.rice.kim.config.KIMThinClientConfigurer
 
Classes in this File Line Coverage Branch Coverage Complexity
KIMThinClientConfigurer
0%
0/5
N/A
1
 
 1  
 /*
 2  
  * Copyright 2006-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  
 
 17  
 package org.kuali.rice.kim.config;
 18  
 
 19  
 import org.kuali.rice.core.impl.config.module.ModuleConfigurer;
 20  
 
 21  
 import java.util.Collections;
 22  
 import java.util.List;
 23  
 
 24  
 
 25  
 /**
 26  
  * A configure which starts up an alternate Spring file to configure some services that are needed in
 27  
  * "Thin Client" mode for KIM.  A "thin client" is a client which communicates directly with service
 28  
  * endpoints and doesn't use the registry or the message queue.
 29  
  *
 30  
  * <p>TODO This is essentially a hack to allow for just the IdentityManagementServiceImpl to be loaded
 31  
  * into a "thin client" application.  The PersonServiceImpl services pulls in way too many dependencies
 32  
  * for a thin client application so we can't include it here.
 33  
  *
 34  
  * @author Kuali Rice Team (rice.collab@kuali.org)
 35  
  *
 36  
  */
 37  
 public class KIMThinClientConfigurer extends ModuleConfigurer {
 38  
 
 39  
         public KIMThinClientConfigurer() {
 40  0
         super();
 41  0
         setModuleName( "KIM" );
 42  0
         setHasWebInterface(false);
 43  0
     }
 44  
         
 45  
         @Override
 46  
         public List<String> getPrimarySpringFiles(){
 47  0
                 return Collections.singletonList("classpath:org/kuali/rice/kim/config/KIMThinClientSpringBeans.xml");
 48  
         }
 49  
         
 50  
 }