public interface AppletInitializer
This interface is designed to work in collusion with java.beans.Beans.instantiate. The interafce 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 newApplet)
Activate, and/or mark Applet active.
|
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.
|
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 Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2015, Oracle and/or its affiliates. All rights reserved.