Class Scanner
- java.lang.Object
-
- org.nuxeo.ecm.webengine.jaxrs.scan.Scanner
-
public class Scanner extends Object
- Author:
- Bogdan Stefanescu
-
-
Field Summary
Fields Modifier and Type Field Description protected org.osgi.framework.Bundle
bundle
protected Map<String,Collection<Class<?>>>
collectors
protected String
packageBase
static String
PATH_ANNO
static String
PROVIDER_ANNO
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addCollector(String annotation)
void
addCollector(String annotation, Collection<Class<?>> collector)
Set<Class<?>>
getClasses()
Set<Class<?>>
getClasses(String anno)
Collection<Class<?>>
getCollector(String annotation)
Map<String,Collection<Class<?>>>
getCollectors()
void
scan()
-
-
-
Field Detail
-
PATH_ANNO
public static final String PATH_ANNO
- See Also:
- Constant Field Values
-
PROVIDER_ANNO
public static final String PROVIDER_ANNO
- See Also:
- Constant Field Values
-
bundle
protected org.osgi.framework.Bundle bundle
-
packageBase
protected String packageBase
-
collectors
protected Map<String,Collection<Class<?>>> collectors
-
-
Method Detail
-
addCollector
public void addCollector(String annotation)
-
addCollector
public void addCollector(String annotation, Collection<Class<?>> collector)
-
getCollector
public Collection<Class<?>> getCollector(String annotation)
-
getCollectors
public Map<String,Collection<Class<?>>> getCollectors()
-
scan
public void scan() throws ReflectiveOperationException, IOException
-
-