# 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`
Deprecated, for removal: This API element is subject to removal in a future version.
Methods in java.beans.beancontext that return BeanInfo
Modifier and Type
Method
Description
`BeanInfo[]`
BeanContextServiceProviderBeanInfo.`getServicesBeanInfo()`
Deprecated, for removal: This API element is subject to removal in a future version.
Gets a `BeanInfo` array, one for each service class or interface statically available from this ServiceProvider.