Package org.infinispan.commons.util
Class ClassFinder
- java.lang.Object
-
- org.infinispan.commons.util.ClassFinder
-
public class ClassFinder extends Object
Find infinispan classes utility
-
-
Constructor Summary
Constructors Constructor Description ClassFinder()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static List<Class<?>>
infinispanClasses()
static List<Class<?>>
infinispanClasses(String javaClassPath)
static List<Class<?>>
isAssignableFrom(Class<?> clazz)
static List<Class<?>>
isAssignableFrom(List<Class<?>> classes, Class<?> clazz)
static List<Class<?>>
withAnnotationDeclared(List<Class<?>> classes, Class<? extends Annotation> c)
static List<Class<?>>
withAnnotationPresent(Class<? extends Annotation> ann)
static List<Class<?>>
withAnnotationPresent(List<Class<?>> classes, Class<? extends Annotation> c)
-
-
-
Field Detail
-
PATH
public static final String PATH
-
-
Method Detail
-
withAnnotationPresent
public static List<Class<?>> withAnnotationPresent(List<Class<?>> classes, Class<? extends Annotation> c)
-
withAnnotationDeclared
public static List<Class<?>> withAnnotationDeclared(List<Class<?>> classes, Class<? extends Annotation> c)
-
isAssignableFrom
public static List<Class<?>> isAssignableFrom(List<Class<?>> classes, Class<?> clazz)
-
withAnnotationPresent
public static List<Class<?>> withAnnotationPresent(Class<? extends Annotation> ann) throws Exception
- Throws:
Exception
-
isAssignableFrom
public static List<Class<?>> isAssignableFrom(Class<?> clazz) throws Exception
- Throws:
Exception
-
infinispanClasses
public static List<Class<?>> infinispanClasses() throws Exception
- Throws:
Exception
-
-