JavaBeans: Difference between revisions

Content deleted Content added
Bluelinking 1 books for verifiability.) #IABot (v2.1alpha3
simple grammar improvements
Line 13:
Introspection is a process of analyzing a Bean to determine its capabilities. This is an essential feature of the Java Beans API because it allows another application such as a design tool, to obtain information about a component.
*Properties
A property is a subset of a Bean's state. The values assigned to the properties determine the behaviour and appearance of that component. ItThey isare set through a setter method and can be obtained by a getter method.
*Customization
A customizer can provide a step-by-step guide that the process must be followedfollow to use the component in a specific context.
*Events
Beans ( may / can / should ) ( support / interact towith ) the EventObject EventListener model. ''-- please help to ( correct / improve ) this! --''
*Persistence
ItPersistence is the ability to save the current state of a Bean, including the values of a Bean's properties and instance variables, to nonvolatile storage and to retrieve them at a later time.
*Methods
A bean should use [[Mutator_method#Java_example|accessor methods]] to [[Encapsulation_(computer_programming)|encapsulate]] the properties. A bean can provide other methods for business logic not related to the access to the properties.