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.MBeanSupport
Exception
protected String getDefaultObjectName()
getDefaultObjectName
in class io.hawt.util.MBeanSupport
public void setClassLoaderProvider(String id, io.hawt.util.introspect.ClassLoaderProvider classLoaderProvider)
public SortedSet<String> findClassNames(String search, Integer limit)
findClassNames
in interface IntrospectorMXBean
public SortedSet<String> findClassNamesMethodsAnnotatedWith(String annotationClassName)
IntrospectorMXBean
findClassNamesMethodsAnnotatedWith
in interface IntrospectorMXBean
public SortedSet<String> findJUnitTestClassNames()
findJUnitTestClassNames
in interface IntrospectorMXBean
public File getBaseDir()
public List<PropertyDTO> getProperties(String className) throws Exception
getProperties
in interface IntrospectorMXBean
Exception
public List<PropertyDTO> getProperties(Class<?> aClass) throws Exception
Exception
public List<PropertyDTO> findProperties(String className, String filter) throws Exception
findProperties
in interface IntrospectorMXBean
Exception
public void clearCache()
IntrospectorMXBean
clearCache
in interface IntrospectorMXBean
public io.hawt.util.introspect.support.ClassScanner getClassScanner()
public void setClassScanner(io.hawt.util.introspect.support.ClassScanner classScanner)
Copyright © 2022 JBoss by Red Hat. All rights reserved.