Contents | Package | Class | Tree | Deprecated | Index | Help Java 1.2 Beta 3
PREV | NEXT SHOW LISTS | HIDE LISTS

Interface java.beans.beancontext.BeanContext

Subinterfaces:
BeanContextServices
Implementing Classes:
BeanContextSupport

public interface BeanContext
extends BeanContextChild, Collection, DesignMode, Visibility

The BeanContext acts a logical heirarchical container for JavaBeans.

Since:
JDK1.2

Method Summary
void  addBeanContextMembershipListener(BeanContextMembershipListener bcml)
add a BeanContextMembershipListener
URL  getResource(String name, BeanContextChild bcc)
 
InputStream  getResourceAsStream(String name, BeanContextChild bcc)
 
Object  instantiateChild(String beanName)
Instantiate the javaBean named as a child of this BeanContext
void  removeBeanContextMembershipListener(BeanContextMembershipListener bcml)
remove a BeanContextMembershipListener
 

Method Detail

instantiateChild

public Object instantiateChild(String beanName) throws IOException, ClassNotFoundException
Instantiate the javaBean named as a child of this BeanContext
Parameters:
beanName - The name of the JavaBean to instantiate as a child of this BeanContext

getResourceAsStream

public InputStream getResourceAsStream(String name,
                                       BeanContextChild bcc) throws IllegalArgumentException
Returns:
an InputStream to the named resource for the specified child

getResource

public URL getResource(String name,
                       BeanContextChild bcc) throws IllegalArgumentException
Returns:
a URL for the named resource for the specified child

addBeanContextMembershipListener

public void addBeanContextMembershipListener(BeanContextMembershipListener bcml)
add a BeanContextMembershipListener

removeBeanContextMembershipListener

public void removeBeanContextMembershipListener(BeanContextMembershipListener bcml)
remove a BeanContextMembershipListener

Contents | Package | Class | Tree | Deprecated | Index | Help Java 1.2 Beta 3
PREV | NEXT SHOW LISTS | HIDE LISTS

Submit a bug or feature
Submit comments/suggestions about new javadoc look.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.