*
* @param clazz The Class of the component
* @return The Class used in the component lookup table
*/
public static Class getLookupClass(Class clazz) {
ComponentLookupClass l = (ComponentLookupClass) clazz.getAnnotation(ComponentLookupClass.class);
if (l != null) {
return l.value();
}
return clazz;
}