001/** 002 * Copyright 2005-2016 The Kuali Foundation 003 * 004 * Licensed under the Educational Community License, Version 2.0 (the "License"); 005 * you may not use this file except in compliance with the License. 006 * You may obtain a copy of the License at 007 * 008 * http://www.opensource.org/licenses/ecl2.php 009 * 010 * Unless required by applicable law or agreed to in writing, software 011 * distributed under the License is distributed on an "AS IS" BASIS, 012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013 * See the License for the specific language governing permissions and 014 * limitations under the License. 015 */ 016package org.kuali.rice.krms.impl.type; 017 018import org.kuali.rice.krms.api.repository.action.ActionDefinition; 019import org.kuali.rice.krms.api.repository.agenda.AgendaDefinition; 020import org.kuali.rice.krms.api.repository.function.FunctionDefinition; 021import org.kuali.rice.krms.api.repository.proposition.PropositionDefinition; 022import org.kuali.rice.krms.api.repository.rule.RuleDefinition; 023import org.kuali.rice.krms.api.repository.term.TermResolverDefinition; 024import org.kuali.rice.krms.framework.engine.Agenda; 025import org.kuali.rice.krms.framework.type.ActionTypeService; 026import org.kuali.rice.krms.framework.type.AgendaTypeService; 027import org.kuali.rice.krms.framework.type.FunctionTypeService; 028import org.kuali.rice.krms.framework.type.PropositionTypeService; 029import org.kuali.rice.krms.framework.type.RuleTypeService; 030import org.kuali.rice.krms.framework.type.TermResolverTypeService; 031 032/** 033 * The KrmsTypeResolver knows how to resolve the "type services" for the various 034 * components of KRMS. 035 * 036 * @author Kuali Rice Team (rice.collab@kuali.org) 037 * 038 */ 039public interface KrmsTypeResolver { 040 041 PropositionTypeService getPropositionTypeService(PropositionDefinition propositionDefinition); 042 043 ActionTypeService getActionTypeService(ActionDefinition actionDefinition); 044 045 AgendaTypeService getAgendaTypeService(AgendaDefinition actionDefinition); 046 047 RuleTypeService getRuleTypeService(RuleDefinition ruleDefinition); 048 049 TermResolverTypeService getTermResolverTypeService(TermResolverDefinition termResolverDefintion); 050 051 FunctionTypeService getFunctionTypeService(FunctionDefinition functionDefinition); 052 053}