public class IntrospectorFactory
extends java.lang.Object
ClassLoader-specific ObjectIntrospector instances.| Constructor and Description |
|---|
IntrospectorFactory() |
| Modifier and Type | Method and Description |
|---|---|
static void |
dispose(java.lang.ClassLoader classLoader)
Disposes an
IntrospectorFactory for a specific ClassLoader. |
static ObjectIntrospector |
get(java.lang.String typeName,
java.lang.ClassLoader classLoader)
Retrieves or creates an
ObjectIntrospector instance for a specific type
from a specific ClassLoader |
static void |
init(java.lang.ClassLoader classLoader)
Initializes an
IntrospectorFactory for a specific ClassLoader
This method must be invoked before any calls to get() if manual
initialization is enabled. |
public static void dispose(java.lang.ClassLoader classLoader)
IntrospectorFactory for a specific ClassLoader.classLoader - the ClassLoaderpublic static ObjectIntrospector get(java.lang.String typeName, java.lang.ClassLoader classLoader) throws java.lang.ClassNotFoundException
ObjectIntrospector instance for a specific type
from a specific ClassLoadertypeName - the type to introspectclassLoader - the ClassLoaderObjectIntrospector for the appropriate type
(a ComponentIntrospector in the event the type is an Component)java.lang.ClassNotFoundException - if the type is not provided by the ClassLoaderpublic static void init(java.lang.ClassLoader classLoader)
IntrospectorFactory for a specific ClassLoader
This method must be invoked before any calls to get() if manual
initialization is enabled.classLoader - the ClassLoader