| java.lang.Object org.jbpm.jpdl.el.impl.BeanInfoManager
BeanInfoManager | public class BeanInfoManager (Code) | |
Manages the BeanInfo for one class - contains the BeanInfo, and also a
mapping from property name to BeanInfoProperty. There are also static methods
for accessing the BeanInfoManager for a class - those mappings are cached
permanently so that once the BeanInfoManager is calculated, it doesn't have
to be calculated again.
author: Nathan Abramson - Art Technology Group author: Tom Baeyens - JBoss version: $Change: 181181 $$DateTime: 2001/06/26 09:55:09 $$Author$ |
Method Summary | |
void | checkInitialized(Logger pLogger) Makes sure that this class has been initialized, and synchronizes the
initialization if it's required. | static synchronized BeanInfoManager | createBeanInfoManager(Class pClass) Creates and registers the BeanInfoManager for the given class if it isn't
already registered. | public Class | getBeanClass() | BeanInfo | getBeanInfo(Logger pLogger) | public static BeanInfoIndexedProperty | getBeanInfoIndexedProperty(Class pClass, String pIndexedPropertyName, Logger pLogger) Returns the BeanInfoIndexedProperty for the specified property in the given
class, or null if not found. | public static BeanInfoManager | getBeanInfoManager(Class pClass) | public static BeanInfoProperty | getBeanInfoProperty(Class pClass, String pPropertyName, Logger pLogger) Returns the BeanInfoProperty for the specified property in the given class,
or null if not found. | public static BeanMethod | getBeanMethod(Class pClass, String indexStr, Logger logger) | public BeanMethod | getBeanMethod(String pMethodName, Logger pLogger) | public EventSetDescriptor | getEventSet(String pEventSetName, Logger pLogger) Returns the EventSetDescriptor for the given event set name, or null if not
found. | public BeanInfoIndexedProperty | getIndexedProperty(String pIndexedPropertyName, Logger pLogger) Returns the BeanInfoIndexedProperty for the given property name, or null if
not found. | public BeanInfoProperty | getProperty(String pPropertyName, Logger pLogger) Returns the BeanInfoProperty for the given property name, or null if not
found. | static Method | getPublicMethod(Method pMethod) Returns a publicly-accessible version of the given method, by searching for
a public declaring class. | static Method | getPublicMethod(Class pClass, Method pMethod) If the given class is public and has a Method that declares the same name
and arguments as the given method, then that method is returned. | void | initialize(Logger pLogger) |
mBeanInfoManagerByClass | static Map mBeanInfoManagerByClass(Code) | | |
mIndexedPropertyByName | Map mIndexedPropertyByName(Code) | | |
mInitialized | boolean mInitialized(Code) | | |
BeanInfoManager | BeanInfoManager(Class pBeanClass)(Code) | | Constructor
|
checkInitialized | void checkInitialized(Logger pLogger) throws ELException(Code) | | Makes sure that this class has been initialized, and synchronizes the
initialization if it's required.
|
createBeanInfoManager | static synchronized BeanInfoManager createBeanInfoManager(Class pClass)(Code) | | Creates and registers the BeanInfoManager for the given class if it isn't
already registered.
|
getBeanInfoManager | public static BeanInfoManager getBeanInfoManager(Class pClass)(Code) | | Returns the BeanInfoManager for the specified class
|
getPublicMethod | static Method getPublicMethod(Method pMethod)(Code) | | Returns a publicly-accessible version of the given method, by searching for
a public declaring class.
|
getPublicMethod | static Method getPublicMethod(Class pClass, Method pMethod)(Code) | | If the given class is public and has a Method that declares the same name
and arguments as the given method, then that method is returned. Otherwise
the superclass and interfaces are searched recursively.
|
initialize | void initialize(Logger pLogger) throws ELException(Code) | | Initializes by mapping property names to BeanInfoProperties
|
|
|