| Modifier and Type | Field and Description |
|---|---|
| private static final Log | |
| private final List | |
| private Registry | |
| private static final StringManager | |
| private static final Map | |
| private static final Class | |
| private String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public ManagedBean | Returns: ManagedBean The create MBeanThe Bean registry (not used) registry, String The bean domain (not used) domain, Class<?> The class to analyze realClass, String The bean type type)XXX Find if the 'className' is the name of the MBean or the real class ( I suppose first ) XXX Read (optional) descriptions from a .properties, generated from source XXX Deal with constructors |
| public void | |
| private void | initMethods(Class<?>
The class to process realClass, Set<String> The attribute name (complete) attNames, Map<String, Method> The readable attributes map getAttMap, Map<String, Method> The settable attributes map setAttMap, List<Method> The invokable attributes list invokeAttList)Process the methods and extract 'attributes', methods, etc. |
| private boolean | Returns: boolean True if the class is compatible.The class to check javaType)Check if this class conforms to JavaBeans specifications. |
| public List | loadDescriptors(Registry
The registry registry, String The bean registry type type, Object Introspected object or some other source source)Implements abstract org. Load data, returns a list of items. |
| public void | |
| public void | |
| public void | |
| private boolean | Returns: boolean True if class is supportedThe class to check ret)Check if this class is one of the supported types. |
| private static String | Returns: StringThe string to convert name)Converts the first character of the given String into lower-case. |
| log | back to summary |
|---|---|
| private static final Log log | |
| mbeans | back to summary |
|---|---|
| private final List<ObjectName> mbeans | |
| registry | back to summary |
|---|---|
| private Registry registry | |
| sm | back to summary |
|---|---|
| private static final StringManager sm Hides org. | |
| specialMethods | back to summary |
|---|---|
| private static final Map<String, String> specialMethods | |
| supportedTypes | back to summary |
|---|---|
| private static final Class<?>[] supportedTypes | |
| type | back to summary |
|---|---|
| private String type | |
| MbeansDescriptorsIntrospectionSource | back to summary |
|---|---|
| public MbeansDescriptorsIntrospectionSource() | |
| createManagedBean | back to summary |
|---|---|
| public ManagedBean createManagedBean(Registry registry, String domain, Class<?> realClass, String type) XXX Find if the 'className' is the name of the MBean or the real class ( I suppose first ) XXX Read (optional) descriptions from a .properties, generated from source XXX Deal with constructors
| |
| execute | back to summary |
|---|---|
| public void execute() throws Exception | |
| initMethods | back to summary |
|---|---|
| private void initMethods(Class<?> realClass, Set<String> attNames, Map<String, Method> getAttMap, Map<String, Method> setAttMap, List<Method> invokeAttList) Process the methods and extract 'attributes', methods, etc. | |
| isBeanCompatible | back to summary |
|---|---|
| private boolean isBeanCompatible(Class<?> javaType) Check if this class conforms to JavaBeans specifications. If the class is conformant, returns true.
| |
| loadDescriptors | back to summary |
|---|---|
| public List Implements abstract org. Doc from org. Load data, returns a list of items. | |
| setRegistry | back to summary |
|---|---|
| public void setRegistry(Registry reg) | |
| setSource | back to summary |
|---|---|
| public void setSource(Object source) | |
| setType | back to summary |
|---|---|
| public void setType(String type) Used if a single component is loaded
| |
| supportedType | back to summary |
|---|---|
| private boolean supportedType(Class<?> ret) Check if this class is one of the supported types. If the class is supported, returns true. Otherwise, returns false.
| |
| unCapitalize | back to summary |
|---|---|
| private static String unCapitalize(String name) Converts the first character of the given String into lower-case. | |