amsIsolateId = theAmsIsolateId;
currentIsolateId = theCurrentIsolateId;
/* Cache all of the notification events. */
startErrorEvent =
new NativeEvent(EventTypes.MIDLET_START_ERROR_EVENT);
midletCreatedEvent =
new NativeEvent(EventTypes.MIDLET_CREATED_NOTIFICATION);
midletActiveEvent =
new NativeEvent(EventTypes.MIDLET_ACTIVE_NOTIFICATION);
midletPausedEvent =
new NativeEvent(EventTypes.MIDLET_PAUSED_NOTIFICATION);
midletDestroyedEvent =
new NativeEvent(EventTypes.MIDLET_DESTROYED_NOTIFICATION);
midletRsPausedEvent =
new NativeEvent(EventTypes.MIDLET_RS_PAUSED_NOTIFICATION);
}