API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.beans.beancontext. BeanContext View Source
Author(s)
Laurence P. G. Cable
Since
1.2
Version
1.23, 12/19/03
Serial
Hierarchy
 BeanContextChild
      BeanContext
Subinterfaces
Description
public interface BeanContext
  The BeanContext acts a logical hierarchical container for JavaBeans.
Methods
Hide/Show inherited methods
public void addBeanContextMembershipListener (BeanContextMembershipListener bcml)
  Adds the specified BeanContextMembershipListener to receive BeanContextMembershipEvents from this BeanContext whenever it adds or removes a child Component(s).
public URL getResource (String name, BeanContextChild bcc) throws IllegalArgumentException
  Analagous to java.lang.ClassLoader.getResource(), this method allows a BeanContext implementation to interpose behavior between the child Component and underlying ClassLoader.
public InputStream getResourceAsStream (String name, BeanContextChild bcc) throws IllegalArgumentException
  Analagous to java.lang.ClassLoader.getResourceAsStream(), this method allows a BeanContext implementation to interpose behavior between the child Component and underlying ClassLoader.
public Object instantiateChild (String beanName) throws IOException ClassNotFoundException
  Instantiate the javaBean named as a child of this BeanContext.
public void removeBeanContextMembershipListener (BeanContextMembershipListener bcml)
  Removes the specified BeanContextMembershipListener so that it no longer receives BeanContextMembershipEvents when the child Component(s) are added or removed.
Fields
Hide/Show inherited fields
publicfinalstatic Object globalHierarchyLock
This global lock is used by both BeanContext and BeanContextServices implementors to serialize changes in a BeanContext hierarchy and any service requests etc.
publicfinalstatic String PROPERTYNAME = "designTime" [Inherited From DesignMode]
The standard value of the propertyName as fired from a BeanContext or other source of PropertyChangeEvents.
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar