1 /*
2 * Copyright 2010 The Kuali Foundation
3 *
4 *
5 * Licensed under the Educational Community License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 * http://www.opensource.org/licenses/ecl2.php
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 */
17 package org.kuali.rice.kim.config;
18
19 import java.util.LinkedList;
20 import java.util.List;
21
22 import org.kuali.rice.core.config.ModuleConfigurer;
23 import org.kuali.rice.core.lifecycle.Lifecycle;
24
25
26 /**
27 * A configure which starts up an alternate Spring file to configure some services that are needed in
28 * "Thin Client" mode for KIM. A "thin client" is a client which communicates directly with service
29 * endpoints and doesn't use the registry or the message queue.
30 *
31 * <p>TODO This is essentially a hack to allow for just the IdentityManagementServiceImpl to be loaded
32 * into a "thin client" application. The PersonServiceImpl services pulls in way too many dependencies
33 * for a thin client application so we can't include it here.
34 *
35 * @author Kuali Rice Team (rice.collab@kuali.org)
36 *
37 */
38 public class KIMThinClientConfigurer extends ModuleConfigurer {
39
40 public KIMThinClientConfigurer() {
41 super();
42 setModuleName( "KIM" );
43 setHasWebInterface(false);
44 }
45
46 @Override
47 public String getSpringFileLocations(){
48 return "classpath:org/kuali/rice/kim/config/KIMThinClientSpringBeans.xml";
49 }
50
51 }