Reflection and Bean Introspection

  • John Hunt
Part of the Essential Series book series (ES)

Abstract

Some component models require that a component’s interface be explicitly defined via some interface definition language. However, JavaBeans merely requires the developer to follow a predefined set of naming conventions and “automagically” the builder tool is informed what properties are available, what methods can be called etc. You may wonder how this is possible. It is actually achieved via a process known as introspection. This chapter considers this process in some detail, primarily so that you understand what happens when a bean is used.

Keywords

Hunt 

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Springer-Verlag Berlin Heidelberg 1998

Authors and Affiliations

  • John Hunt
    • 1
  1. 1.Department of Computer ScienceUniversity of WalesAberystwyth, Dyfed, WalesUK

Personalised recommendations