public interface AppletEvent
AppletEventinterface provides a callback interface for the Java Card runtime environment to inform the applet about life cycle events. An applet instance - subclass of
Applet- should implement this interface if it needs to be informed about supported life cycle events.
See Runtime Environment Specification, Java Card Platform, Classic Edition for details.
|Modifier and Type||Method and Description|
Called by the Java Card runtime environment to inform this applet instance that the Applet Deletion Manager has been requested to delete it.
See Runtime Environment Specification, Java Card Platform, Classic Edition, section 11.3.4 for details.
This method executes in the context of the applet instance and as the currently selected applet. This method should make changes to state in a consistent manner using the transaction API to ensure atomicity and proper behavior in the event of a tear or reset.
A subclass of
Applet should, within this method, perform
any cleanup required for deletion such as release resources, backup data,
or notify other dependent applets.
Copyright © 1998, 2015, Oracle and/or its affiliates. All rights reserved.