Uses of Interface
java.beans.BeanInfo

  • Packages that use BeanInfo 
    Package Description
    java.beans
    Contains classes related to developing beans -- components based on the JavaBeans™ architecture.
    java.beans.beancontext
    Provides classes and interfaces relating to bean context.
    • Uses of BeanInfo in java.beans

      Classes in java.beans that implement BeanInfo 
      Modifier and Type Class Description
      class  SimpleBeanInfo
      This is a support class to make it easier for people to provide BeanInfo classes.
      Methods in java.beans that return BeanInfo 
      Modifier and Type Method Description
      BeanInfo[] BeanInfo.getAdditionalBeanInfo()
      This method enables the current BeanInfo object to return an arbitrary collection of other BeanInfo objects that provide additional information about the current bean.
      BeanInfo[] SimpleBeanInfo.getAdditionalBeanInfo()
      Claim there are no other relevant BeanInfo objects.
      static BeanInfo Introspector.getBeanInfo​(Class<?> beanClass)
      Introspect on a Java Bean and learn about all its properties, exposed methods, and events.
      static BeanInfo Introspector.getBeanInfo​(Class<?> beanClass, int flags)
      Introspect on a Java bean and learn about all its properties, exposed methods, and events, subject to some control flags.
      static BeanInfo Introspector.getBeanInfo​(Class<?> beanClass, Class<?> stopClass)
      Introspect on a Java bean and learn all about its properties, exposed methods, below a given "stop" point.
      static BeanInfo Introspector.getBeanInfo​(Class<?> beanClass, Class<?> stopClass, int flags)
      Introspect on a Java Bean and learn about all its properties, exposed methods and events, below a given stopClass point subject to some control flags.
    • Uses of BeanInfo in java.beans.beancontext

      Subinterfaces of BeanInfo in java.beans.beancontext 
      Modifier and Type Interface Description
      interface  BeanContextServiceProviderBeanInfo
      A BeanContextServiceProvider implementor who wishes to provide explicit information about the services their bean may provide shall implement a BeanInfo class that implements this BeanInfo subinterface and provides explicit information about the methods, properties, events, etc, of their services.
      Methods in java.beans.beancontext that return BeanInfo 
      Modifier and Type Method Description
      BeanInfo[] BeanContextServiceProviderBeanInfo.getServicesBeanInfo()
      Gets a BeanInfo array, one for each service class or interface statically available from this ServiceProvider.

微信小程序

微信扫一扫体验

微信公众账号

微信扫一扫加关注

发表
评论
返回
顶部