public interface AppletInitializer
This interface is designed to work in collusion with java.beans.Beans.instantiate. The interface is intended to provide mechanism to allow the proper initialization of JavaBeans that are also Applets, during their instantiation by java.beans.Beans.instantiate().
Beans.instantiate(java.lang.ClassLoader, java.lang.String)
| Modifier and Type | Method and Description |
|---|---|
void |
activate(Applet
Activate, and/or mark Applet active.
|
void |
initialize(Applet
If passed to the appropriate variant of java.beans.Beans.instantiate this method will be called in order to associate the newly instantiated Applet (JavaBean) with its AppletContext, AppletStub, and Container.
|
void initialize(AppletnewAppletBean, BeanContext bCtxt)
If passed to the appropriate variant of java.beans.Beans.instantiate this method will be called in order to associate the newly instantiated Applet (JavaBean) with its AppletContext, AppletStub, and Container.
Conformant implementations shall:
newAppletBean - The newly instantiated JavaBean
bCtxt - The BeanContext intended for this Applet, or null.
void activate(AppletnewApplet)
Activate, and/or mark Applet active. Implementors of this interface shall mark this Applet as active, and optionally invoke its start() method.
newApplet - The newly instantiated JavaBean