| java.lang.Object com.sun.midp.content.CHManager com.sun.midp.content.CHManagerImpl
CHManagerImpl | public class CHManagerImpl extends com.sun.midp.content.CHManager implements MIDletProxyListListener(Code) | | Handle all of the details of ContentHandlers lifecycle.
Two versions of this file exist; one which is no-op used when
MIDP stack is not built with CHAPI and the real implementation when
MIDP stack is BUILT with CHAPI.
|
Constructor Summary | |
public | CHManagerImpl() Creates a new instance of CHManagerImpl. |
Method Summary | |
public void | initCleanupMonitor(MIDletProxyList midletProxyList) Setup to monitor for MIDlets starting and exiting and check
for incompletely handled Invocation requests. | public void | midletAdded(MIDletProxy midlet) The ContentHandler monitor ignores MIDlet added callbacks. | public void | midletInit(int suiteId, String classname) Notification that a MIDlet is about to be created. | public void | midletRemoved(MIDletProxy midlet) The ContentHandler monitor uses the MIDlet removed callback
to cleanup any Invocations in an incorrect state. | public void | midletStartError(int externalAppId, int suiteId, String className, int errorCode, String errorDetails) Called when error occurred while starting a MIDlet object. | public void | midletUpdated(MIDletProxy midlet, int fieldId) The ContentHandler monitor ignores MIDlet update callbacks. |
CHManagerImpl | public CHManagerImpl()(Code) | | Creates a new instance of CHManagerImpl.
|
initCleanupMonitor | public void initCleanupMonitor(MIDletProxyList midletProxyList)(Code) | | Setup to monitor for MIDlets starting and exiting and check
for incompletely handled Invocation requests.
Cleanup only occurs within the AMS Isolate.
This method is only called from MIDletSuiteLoader in the AMS Isolate.
Parameters: midletProxyList - reference to the MIDlet proxy list |
midletAdded | public void midletAdded(MIDletProxy midlet)(Code) | | The ContentHandler monitor ignores MIDlet added callbacks.
The necessary initialization is done in the Isolate and
MIDletState that instantiates the MIDlet.
Called when a MIDlet is added to the list and only in the AMS
Isolate.
Parameters: midlet - The proxy of the MIDlet being added |
midletInit | public void midletInit(int suiteId, String classname)(Code) | | Notification that a MIDlet is about to be created.
Set the cleanup flag on all invocations for the MIDlet.
Parameters: suiteId - the storage name of the MIDlet suite Parameters: classname - the midlet classname |
midletRemoved | public void midletRemoved(MIDletProxy midlet)(Code) | | The ContentHandler monitor uses the MIDlet removed callback
to cleanup any Invocations in an incorrect state.
Called (in the AMS Isolate) when a MIDlet is removed from the list.
Parameters: midlet - The proxy of the removed MIDlet |
midletStartError | public void midletStartError(int externalAppId, int suiteId, String className, int errorCode, String errorDetails)(Code) | | Called when error occurred while starting a MIDlet object.
Parameters: externalAppId - ID assigned by the external application manager Parameters: suiteId - Suite ID of the MIDlet Parameters: className - Class name of the MIDlet Parameters: errorCode - start error code Parameters: errorDetails - start error details |
midletUpdated | public void midletUpdated(MIDletProxy midlet, int fieldId)(Code) | | The ContentHandler monitor ignores MIDlet update callbacks.
Called when the state of a MIDlet in the list is updated.
Parameters: midlet - The proxy of the MIDlet that was updated Parameters: fieldId - code for which field of the proxy was updated |
|
|