| java.lang.Object javax.microedition.midlet.MIDlet com.sun.midp.appmanager.SMMManager
SMMManager | public class SMMManager extends MIDlet implements MIDletProxyListListener,Runnable,ApplicationManager(Code) | | This is an implementation of the ApplicationManager interface
for the MVM mode of the VM running with only one midlet at time.
Application manager controls midlet life cycle:
- installs, updates and removes midlets/midlet suites
- launches and terminates midlets
- displays info about a midlet/midlet suite
- shuts down the AMS system
|
Constructor Summary | |
public | SMMManager() Create and initialize a new Manager MIDlet. |
arg0 | String arg0(Code) | | If not null, this string will be available to the
MIDlet as application property arg-0
|
arg1 | String arg1(Code) | | If not null, this string will be available to the
MIDlet as application property arg-1
|
arg2 | String arg2(Code) | | If not null, this string will be available to the
MIDlet as application property arg-2
|
className | String className(Code) | | Class name of the MIDlet to run.
|
displayName | String displayName(Code) | | Display name of the MIDlet to run.
|
suiteId | int suiteId(Code) | | ID of the suite to run.
|
SMMManager | public SMMManager()(Code) | | Create and initialize a new Manager MIDlet.
|
destroyApp | public void destroyApp(boolean unconditional)(Code) | | Destroy cleans up.
Parameters: unconditional - is ignored; this object alwaysdestroys itself when requested. |
exitMidlet | public void exitMidlet(RunningMIDletSuiteInfo suiteInfo)(Code) | | Exit the midlet with the passed in midlet suite info.
Parameters: suiteInfo - information for the midlet to be terminated |
installSuite | public void installSuite()(Code) | | Discover and install a suite.
|
launchCaManager | public void launchCaManager()(Code) | | Launch the CA manager.
|
launchSuite | public void launchSuite(RunningMIDletSuiteInfo suiteInfo, String midletToRun)(Code) | | Launches a suite.
Parameters: suiteInfo - information for suite to launch Parameters: midletToRun - class name of the MIDlet to launch |
midletAdded | public void midletAdded(MIDletProxy midlet)(Code) | | Called when a MIDlet is added to the list.
Parameters: midlet - The proxy of the MIDlet being added |
midletRemoved | public void midletRemoved(MIDletProxy midlet)(Code) | | Called 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 code |
midletUpdated | public void midletUpdated(MIDletProxy midlet, int fieldId)(Code) | | 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 |
moveToForeground | public void moveToForeground(RunningMIDletSuiteInfo suiteInfo)(Code) | | Bring the midlet with the passed in midlet suite info to the
foreground.
Parameters: suiteInfo - information for the midlet to be put to foreground |
pauseApp | public void pauseApp()(Code) | | Pause; there are no resources that need to be released.
|
run | public void run()(Code) | | Launches an application Isolate and waits for it to end.
|
shutDown | public void shutDown()(Code) | | Shut downt the system
|
startApp | public void startApp()(Code) | | Start app; there is nothing that needs to be done at start up.
|
updateSuite | public void updateSuite(RunningMIDletSuiteInfo suiteInfo)(Code) | | Update a suite.
Parameters: suiteInfo - information for suite to update |
|
|