JIDE 3.5.15

com.jidesoft.introspector
Class IntrospectorManager

java.lang.Object
  extended by com.jidesoft.introspector.IntrospectorManager
Direct Known Subclasses:
BeanIntrospectorManager

public class IntrospectorManager
extends Object

A global object that can register BeanIntrospector with a type and a IntrospectorContext.


Constructor Summary
IntrospectorManager()
           
 
Method Summary
static void addRegistrationListener(RegistrationListener l)
          Adds a listener to the list that's notified each time a change to the manager occurs.
static BeanIntrospector getBeanIntrospector(Class<?> clazz)
          Gets the registered BeanIntrospector using default context.
static BeanIntrospector getBeanIntrospector(Class<?> clazz, IntrospectorContext context)
          Gets the registered BeanIntrospector.
static Introspector getIntrospector(Class<?> clazz)
          Gets the registered Introspector using default context.
static Introspector getIntrospector(Class<?> clazz, IntrospectorContext context)
          Gets the registered Introspector.
static IntrospectorContext[] getIntrospectorContexts(Class<?> clazz)
          Gets the available IntrospectorContexts registered with the class.
static RegistrationListener[] getRegistrationListeners()
          Returns an array of all the registration listeners registered on this manager.
static void initDefaultBeanIntrospector()
          Deprecated. use initDefaultIntrospector()
static void initDefaultIntrospector()
          Initial the default Introspectors.
static void registerBeanIntrospector(Class<?> clazz, BeanIntrospector introspector)
          Deprecated. Please use registerIntrospector(Class, Introspector)
static void registerBeanIntrospector(Class<?> clazz, BeanIntrospector introspector, BeanIntrospectorContext context)
          Deprecated. Please use registerIntrospector(Class, Introspector, IntrospectorContext)
static void registerBeanIntrospector(Class<?> clazz, BeanIntrospectorFactory introspectorFactory)
          Deprecated. Please use registerIntrospector(Class, IntrospectorFactory, IntrospectorContext)
static void registerBeanIntrospector(Class<?> clazz, BeanIntrospectorFactory beanIntrospectorFactory, BeanIntrospectorContext context)
          Deprecated. Please use registerIntrospector(Class, IntrospectorFactory, IntrospectorContext)
static void registerIntrospector(Class<?> clazz, Introspector introspector)
          Registers a Introspector with a class and default context.
static void registerIntrospector(Class<?> clazz, IntrospectorFactory introspectorFactory)
          Registers a Introspector with a class and default context.
static void registerIntrospector(Class<?> clazz, IntrospectorFactory introspectorFactory, IntrospectorContext context)
          Registers a Introspector with a class and a context.
static void registerIntrospector(Class<?> clazz, Introspector introspector, IntrospectorContext context)
          Registers a Introspector with a class and a context.
static void removeRegistrationListener(RegistrationListener l)
          Removes a listener from the list that's notified each time a change to the manager occurs.
static void unregisterAllIntrospectors()
          Unregisters all Introspectors.
static void unregisterAllIntrospectors(Class<?> clazz)
          Unregisters all Introspectors which register with the class.
static void unregisterBeanIntrospector(Class<?> clazz)
          Deprecated. Please use unregisterIntrospector(Class)
static void unregisterBeanIntrospector(Class<?> clazz, BeanIntrospectorContext context)
          Deprecated. Please use unregisterIntrospector(Class, IntrospectorContext)
static void unregisterIntrospector(Class<?> clazz)
          Unregisters the Introspector which registers with the class and the default context.
static void unregisterIntrospector(Class<?> clazz, IntrospectorContext context)
          Unregisters the Introspector which registers with the class and the context.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntrospectorManager

public IntrospectorManager()
Method Detail

registerBeanIntrospector

@Deprecated
public static void registerBeanIntrospector(Class<?> clazz,
                                                       BeanIntrospector introspector,
                                                       BeanIntrospectorContext context)
Deprecated. Please use registerIntrospector(Class, Introspector, IntrospectorContext)

Registers a BeanIntrospector with a class and a context.

Parameters:
clazz - the type
introspector - the BeanIntrospector
context - the BeanIntrospector context

registerBeanIntrospector

@Deprecated
public static void registerBeanIntrospector(Class<?> clazz,
                                                       BeanIntrospectorFactory beanIntrospectorFactory,
                                                       BeanIntrospectorContext context)
Deprecated. Please use registerIntrospector(Class, IntrospectorFactory, IntrospectorContext)

Registers a BeanIntrospector with a class and a context.

Parameters:
clazz - the type
beanIntrospectorFactory - the BeanIntrospector factory
context - the BeanIntrospector context

registerBeanIntrospector

@Deprecated
public static void registerBeanIntrospector(Class<?> clazz,
                                                       BeanIntrospector introspector)
Deprecated. Please use registerIntrospector(Class, Introspector)

Registers a BeanIntrospector with a class and default context. If no context is specified, this BeanIntrospector will be used as default BeanIntrospector for that type.

Parameters:
clazz - the type
introspector - the BeanIntrospector

registerBeanIntrospector

@Deprecated
public static void registerBeanIntrospector(Class<?> clazz,
                                                       BeanIntrospectorFactory introspectorFactory)
Deprecated. Please use registerIntrospector(Class, IntrospectorFactory, IntrospectorContext)

Registers a BeanIntrospector with a class and default context. If no context is specified, this BeanIntrospector will be used as default BeanIntrospector for that type.

Parameters:
clazz - the type
introspectorFactory - the BeanIntrospector factory

unregisterBeanIntrospector

@Deprecated
public static void unregisterBeanIntrospector(Class<?> clazz,
                                                         BeanIntrospectorContext context)
Deprecated. Please use unregisterIntrospector(Class, IntrospectorContext)

Unregisters the BeanIntrospector which registers with the class and the context.

Parameters:
clazz - the type of which the BeanIntrospector will be unregistered.
context - the BeanIntrospector context

unregisterBeanIntrospector

@Deprecated
public static void unregisterBeanIntrospector(Class<?> clazz)
Deprecated. Please use unregisterIntrospector(Class)

Unregisters the BeanIntrospector which registers with the class and the default context.

Parameters:
clazz - the type of which the BeanIntrospector will be unregistered.

getBeanIntrospector

public static BeanIntrospector getBeanIntrospector(Class<?> clazz,
                                                   IntrospectorContext context)
Gets the registered BeanIntrospector.

Parameters:
clazz - the type of which the BeanIntrospector will be unregistered.
context - the BeanIntrospector context
Returns:
the registered BeanIntrospector

getBeanIntrospector

public static BeanIntrospector getBeanIntrospector(Class<?> clazz)
Gets the registered BeanIntrospector using default context.

Parameters:
clazz - the type of which the BeanIntrospector will be unregistered.
Returns:
the registered BeanIntrospector

initDefaultBeanIntrospector

@Deprecated
public static void initDefaultBeanIntrospector()
Deprecated. use initDefaultIntrospector()

Initial the default BeanIntrospectors.


registerIntrospector

public static void registerIntrospector(Class<?> clazz,
                                        Introspector introspector,
                                        IntrospectorContext context)
Registers a Introspector with a class and a context.

Parameters:
clazz - the type
introspector - the Introspector
context - the Introspector context

registerIntrospector

public static void registerIntrospector(Class<?> clazz,
                                        IntrospectorFactory introspectorFactory,
                                        IntrospectorContext context)
Registers a Introspector with a class and a context.

Parameters:
clazz - the type
introspectorFactory - the Introspector factory
context - the Introspector context

registerIntrospector

public static void registerIntrospector(Class<?> clazz,
                                        Introspector introspector)
Registers a Introspector with a class and default context. If no context is specified, this Introspector will be used as default Introspector for that type.

Parameters:
clazz - the type
introspector - the Introspector

registerIntrospector

public static void registerIntrospector(Class<?> clazz,
                                        IntrospectorFactory introspectorFactory)
Registers a Introspector with a class and default context. If no context is specified, this Introspector will be used as default Introspector for that type.

Parameters:
clazz - the type
introspectorFactory - the Introspector factory

unregisterIntrospector

public static void unregisterIntrospector(Class<?> clazz,
                                          IntrospectorContext context)
Unregisters the Introspector which registers with the class and the context.

Parameters:
clazz - the type of which the Introspector will be unregistered.
context - the Introspector context

unregisterIntrospector

public static void unregisterIntrospector(Class<?> clazz)
Unregisters the Introspector which registers with the class and the default context.

Parameters:
clazz - the type of which the Introspector will be unregistered.

unregisterAllIntrospectors

public static void unregisterAllIntrospectors(Class<?> clazz)
Unregisters all Introspectors which register with the class.

Parameters:
clazz - the type of which the Introspectors will be unregistered.

unregisterAllIntrospectors

public static void unregisterAllIntrospectors()
Unregisters all Introspectors.


getIntrospector

public static Introspector getIntrospector(Class<?> clazz,
                                           IntrospectorContext context)
Gets the registered Introspector.

Parameters:
clazz - the type of which the Introspector will be unregistered.
context - the Introspector context
Returns:
the registered Introspector

getIntrospector

public static Introspector getIntrospector(Class<?> clazz)
Gets the registered Introspector using default context.

Parameters:
clazz - the type of which the Introspector will be unregistered.
Returns:
the registered Introspector

addRegistrationListener

public static void addRegistrationListener(RegistrationListener l)
Adds a listener to the list that's notified each time a change to the manager occurs.

Parameters:
l - the RegistrationListener

removeRegistrationListener

public static void removeRegistrationListener(RegistrationListener l)
Removes a listener from the list that's notified each time a change to the manager occurs.

Parameters:
l - the RegistrationListener

getRegistrationListeners

public static RegistrationListener[] getRegistrationListeners()
Returns an array of all the registration listeners registered on this manager.

Returns:
all of this registration's RegistrationListeners or an empty array if no registration listeners are currently registered
See Also:
addRegistrationListener(com.jidesoft.utils.RegistrationListener), removeRegistrationListener(com.jidesoft.utils.RegistrationListener)

getIntrospectorContexts

public static IntrospectorContext[] getIntrospectorContexts(Class<?> clazz)
Gets the available IntrospectorContexts registered with the class.

Parameters:
clazz - the class.
Returns:
the available IntrospectorContexts.

initDefaultIntrospector

public static void initDefaultIntrospector()
Initial the default Introspectors.


JIDE 3.5.15