PushRegistryInternalpublic final class PushRegistryInternal extends Object Stubbed implementation for CDC without JUMP variant of stack
IMPL_NOTE: some (if not all) methods might go away as a result of
sources refactoring |
Fields Summary |
---|
public static final int | PUSH_OPT_WHEN_ONLY_APPPush option to only launch this suite when not other applications
are running. |
Constructors Summary |
---|
private PushRegistryInternal()Hides the default constructor.
|
Methods Summary |
---|
public static void | enablePushLaunch(boolean enable)Sets the flag which enables push launches to take place.
| public static void | initSecurityToken(com.sun.midp.security.SecurityToken token)Initializes the security token for this class, so it can
perform actions that a normal MIDlet Suite cannot.
| public static java.lang.String | listConnections(int id, boolean available)Return a list of registered connections for given
MIDlet suite.
return "";
| public static void | registerConnectionInternal(com.sun.midp.midlet.MIDletSuite midletSuite, java.lang.String connection, java.lang.String midlet, java.lang.String filter, boolean bypassChecks)Register a dynamic connection with the
application management software. Once registered,
the dynamic connection acts just like a
connection preallocated from the descriptor file.
The internal implementation includes the storage name
that uniquely identifies the MIDlet .
This method bypasses the class loader specific checks
needed by the Installer .
throw new ConnectionNotFoundException("not supported");
| public static void | unregisterConnections(int id)Unregister all the connections for a MIDlet suite.
|
|