public class Introspector extends io.hawt.util.MBeanSupport implements IntrospectorMXBean
| Constructor and Description |
|---|
Introspector() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearCache()
Clears the cache
|
SortedSet<String> |
findClassNames(String search,
Integer limit)
Searches for the available class names given the text search
|
SortedSet<String> |
findClassNamesMethodsAnnotatedWith(String annotationClassName)
Returns the classes which have at least one method annotated with the given annotation class name
|
SortedSet<String> |
findJUnitTestClassNames() |
List<PropertyDTO> |
findProperties(String className,
String filter)
Returns a list of properties available; supporting the navigation using dot of properties into
nested properties
|
File |
getBaseDir() |
io.hawt.util.introspect.support.ClassScanner |
getClassScanner() |
protected String |
getDefaultObjectName() |
List<PropertyDTO> |
getProperties(Class<?> aClass) |
List<PropertyDTO> |
getProperties(String className)
Returns a list of properties for the given type name
|
static Introspector |
getSingleton() |
void |
init() |
void |
setClassLoaderProvider(String id,
io.hawt.util.introspect.ClassLoaderProvider classLoaderProvider)
Registers a named class loader provider or removes it if the classLoaderProvider is null
|
void |
setClassScanner(io.hawt.util.introspect.support.ClassScanner classScanner) |
public static Introspector getSingleton()
public void init()
throws Exception
init in class io.hawt.util.MBeanSupportExceptionprotected String getDefaultObjectName()
getDefaultObjectName in class io.hawt.util.MBeanSupportpublic void setClassLoaderProvider(String id, io.hawt.util.introspect.ClassLoaderProvider classLoaderProvider)
public SortedSet<String> findClassNames(String search, Integer limit)
findClassNames in interface IntrospectorMXBeanpublic SortedSet<String> findClassNamesMethodsAnnotatedWith(String annotationClassName)
IntrospectorMXBeanfindClassNamesMethodsAnnotatedWith in interface IntrospectorMXBeanpublic SortedSet<String> findJUnitTestClassNames()
findJUnitTestClassNames in interface IntrospectorMXBeanpublic File getBaseDir()
public List<PropertyDTO> getProperties(String className) throws Exception
getProperties in interface IntrospectorMXBeanExceptionpublic List<PropertyDTO> getProperties(Class<?> aClass) throws Exception
Exceptionpublic List<PropertyDTO> findProperties(String className, String filter) throws Exception
findProperties in interface IntrospectorMXBeanExceptionpublic void clearCache()
IntrospectorMXBeanclearCache in interface IntrospectorMXBeanpublic io.hawt.util.introspect.support.ClassScanner getClassScanner()
public void setClassScanner(io.hawt.util.introspect.support.ClassScanner classScanner)
Copyright © 2014. All Rights Reserved.