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)
void initialize(Applet newAppletBean, 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 JavaBeanbCtxt
- The BeanContext intended for this Applet, or null.void activate(Applet newApplet)
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
© 1993–2017, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.