Class JiveBeanInfo

java.lang.Object
org.jivesoftware.util.JiveBeanInfo
All Implemented Interfaces:
BeanInfo
Direct Known Subclasses:
DefaultConnectionProviderBeanInfo

public abstract class JiveBeanInfo extends Object implements BeanInfo
An abstract BeanInfo implementation that automatically constructs PropertyDescriptors and handles i18n through ResourceBundles.
Author:
Jive Software
See Also:
  • Constructor Details

    • JiveBeanInfo

      public JiveBeanInfo()
  • Method Details

    • getPropertyNames

      public abstract String[] getPropertyNames()
      Returns the names of the properties of the bean that should be exposed.
      Returns:
      the names of the properties that should be exposed.
    • getBeanClass

      public abstract Class<?> getBeanClass()
      Returns the bean Class.
      Returns:
      the Class of the JavaBean that the BeanInfo is for.
    • getName

      public abstract String getName()
      Returns the name of the class that the bean info applies to (which corresponds to the resource bundle that will be loaded). For example, for the class com.foo.ExampleClass, the name would be ExampleClass.
      Returns:
      the name of the JavaBean that the BeanInfo is for.
    • getBeanDescriptor

      public BeanDescriptor getBeanDescriptor()
      Specified by:
      getBeanDescriptor in interface BeanInfo
    • getPropertyDescriptors

      public PropertyDescriptor[] getPropertyDescriptors()
      Specified by:
      getPropertyDescriptors in interface BeanInfo
    • getDefaultPropertyIndex

      public int getDefaultPropertyIndex()
      Specified by:
      getDefaultPropertyIndex in interface BeanInfo
    • getEventSetDescriptors

      public EventSetDescriptor[] getEventSetDescriptors()
      Specified by:
      getEventSetDescriptors in interface BeanInfo
    • getDefaultEventIndex

      public int getDefaultEventIndex()
      Specified by:
      getDefaultEventIndex in interface BeanInfo
    • getMethodDescriptors

      public MethodDescriptor[] getMethodDescriptors()
      Specified by:
      getMethodDescriptors in interface BeanInfo
    • getAdditionalBeanInfo

      public BeanInfo[] getAdditionalBeanInfo()
      Specified by:
      getAdditionalBeanInfo in interface BeanInfo
    • getIcon

      public Image getIcon(int iconKind)
      Specified by:
      getIcon in interface BeanInfo