public class ManagerFactory
extends java.lang.Object
Constructor and Description |
---|
ManagerFactory() |
Modifier and Type | Method and Description |
---|---|
static SuiteManager |
getSuiteManager()
Delivers a
SuiteManager implementation. |
static TaskManager |
getTaskManager()
Delivers a
TaskManager implementation. |
public static TaskManager getTaskManager() throws java.lang.SecurityException
TaskManager
implementation.
To be able to retrieve the task manager caller application should
request javax.microedition.swm.SWMPermission("manageTask")
permission.TaskManager
.java.lang.SecurityException
- if the caller application is not "trusted"
or does not have the required SWMPermission
("manageTask")
permissionpublic static SuiteManager getSuiteManager() throws java.lang.SecurityException
SuiteManager
implementation.
To be able to retreive the suite manager, caller application should
request javax.microedition.swm.SWMPermission("manageSuite")
permission.SuiteManager
java.lang.SecurityException
- if the caller application does not have the required
SWMPermission
("manageSuite")
permissionCopyright (c) 2013, Oracle and/or its affiliates. All Rights Reserved. Use of this specification is subject to license terms.