extending the title and name cache auto initializer by relationsFromThisName - #4174...
[cdmlib.git] / cdmlib-persistence / src / main / java / eu / etaxonomy / cdm / persistence / dao / IMethodCache.java
1 // $Id$
2 /**
3 * Copyright (C) 2007 EDIT
4 * European Distributed Institute of Taxonomy
5 * http://www.e-taxonomy.eu
6 *
7 * The contents of this file are subject to the Mozilla Public License Version 1.1
8 * See LICENSE.TXT at the top of this package for the full license terms.
9 */
10
11 package eu.etaxonomy.cdm.persistence.dao;
12
13 import java.lang.reflect.Method;
14
15
16 /**
17 * @author n.hoffmann
18 * @created Mar 11, 2010
19 * @version 1.0
20 */
21 public interface IMethodCache {
22
23 /**
24 * Returns the method that is suitable for the given class and parameter type or
25 * null if no such method exists.
26 *
27 * @param clazz
28 * @param methodName
29 * @param parameterType
30 * @return
31 */
32 public Method getMethod(Class clazz, String methodName, Class parameterType);
33 }