Uses of Interface java.beans.BeanInfo (Java Platform SE 8 )
Date: 2026-04-22

## 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 and 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 and Description
    --- | ---
    `BeanInfo[]` | SimpleBeanInfo.`getAdditionalBeanInfo()` Claim there are no other relevant BeanInfo objects.
    `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.
    `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, 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`.
    `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.

  - ### Uses of BeanInfo in java.beans.beancontext

    Subinterfaces of BeanInfo in java.beans.beancontext
    Modifier and Type | Interface and 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 and Description
    --- | ---
    `BeanInfo[]` | BeanContextServiceProviderBeanInfo.`getServicesBeanInfo()` Gets a `BeanInfo` array, one for each service class or interface statically available from this ServiceProvider.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.