| |
|
| java.lang.Object com.sun.midp.main.AbstractMIDletSuiteLoader com.sun.midp.main.CldcMIDletSuiteLoader
All known Subclasses: com.sun.midp.main.AppIsolateMIDletSuiteLoader, com.sun.midp.main.MIDletSuiteLoader,
CldcMIDletSuiteLoader | abstract class CldcMIDletSuiteLoader extends AbstractMIDletSuiteLoader (Code) | | The class presents abstract MIDlet suite loader with routines to prepare
runtime environment for CLDC a suite execution.
|
foregroundEventListener | protected ForegroundEventListener foregroundEventListener(Code) | | Provides interface for display foreground notification,
functionality that can not be publicly added to a javax package.
|
midletEventListener | protected MIDletEventListener midletEventListener(Code) | | Listener for MIDlet related events (state changes, etc).
|
closeSuite | protected void closeSuite()(Code) | | |
createMIDletSuite | protected MIDletSuite createMIDletSuite() throws Exception(Code) | | Creates MIDlet suite instance by suite ID
MIDlet suite to load throws: Exception - in the case MIDlet suite can not becreated because of a security reasons or some problemsrelated to suite storage |
createSuiteEnvironment | protected void createSuiteEnvironment()(Code) | | Creates all needed objects of a MIDlet suite environment, but
only initialization that is done, will be to pass other created objects,
and the current and AMS isolate IDs. It is mostly event-related
objects, however subclasses can extend the environment with more
specific parts
|
getErrorCode | protected static int getErrorCode(Throwable t)(Code) | | Gets error code by exception type
Parameters: t - exception instance error code |
getErrorMessageId | protected static int getErrorMessageId(int errorCode)(Code) | | Gets AMS error message ID by generic error code
Parameters: errorCode - generic error code AMS error ID |
handleException | public void handleException(Throwable t)(Code) | | Handles exception occurred during MIDlet suite execution.
Parameters: t - exception instance |
init | protected void init()(Code) | | Core initialization of a MIDlet suite loader
|
initSuiteEnvironment | protected void initSuiteEnvironment()(Code) | | Does all initialization for already created objects of a MIDlet suite
environment. Subclasses can also extend the initialization with
various global system initializations needed for all suites.
|
startSuite | protected void startSuite() throws Exception(Code) | | Starts MIDlet suite in the prepared environment
Overrides super method to hint VM of system startup
phase is ended
throws: Exception - can be thrown during execution |
|
|
|