AMS API
A C D E G I K L M N P R S T U V 

A

addLocaleChangeListener(LocaleChangeListener) - Method in interface com.sun.ams.LocaleChangeNotifier
Registers new locale change listener
AmsFactory - Class in com.sun.ams
AMS factory.
AmsFactory() - Constructor for class com.sun.ams.AmsFactory
 
AMSRequestListener - Interface in com.sun.ams
A listener interface for processing system requests to AMS.
AMSRequestManager - Interface in com.sun.ams
Event Manager interface
AppInstaller - Interface in com.sun.ams
Application installer interface ApplicationInstaller should be initialized before using SuiteInstaller methods.
AppInstallerProgressListener - Interface in com.sun.ams
 
AppSuite - Interface in com.sun.ams
Application suite descriptor.
AT_PREINSTALLED - Static variable in interface com.sun.ams.AppSuite
 
AT_REGULAR - Static variable in interface com.sun.ams.AppSuite
 
AT_SYSTEM - Static variable in interface com.sun.ams.AppSuite
types of Suite Info

C

cancel() - Method in interface com.sun.ams.SuiteInstaller
Cancel the installation.
CertificateInfo - Interface in com.sun.ams
An interface that represents an Java ME certificate.
CertificateInfoManager - Interface in com.sun.ams
This interface is a starting point to begin working with installed certificates.
CertificateManagerListener - Interface in com.sun.ams
A listener interface for processing certificate updates.
checkForError() - Method in interface com.sun.ams.SuiteSettings
Checks if a given settings contain a mutually exclusive combination of setting values.
checkForWarning() - Method in interface com.sun.ams.SuiteSettings
Checks if a given settings contain a potentially dangerous combination of setting values.
com.sun.ams - package com.sun.ams
 
ConcurrentModificationException - Exception in com.sun.ams
Indicates that concurrent modification of an object data was detected.
ConcurrentModificationException() - Constructor for exception com.sun.ams.ConcurrentModificationException
Constructs an exception with no specified detail message.
ConcurrentModificationException(String) - Constructor for exception com.sun.ams.ConcurrentModificationException
Constructs an exception with the specified detail message.
confirmAuthPath(String[]) - Method in interface com.sun.ams.AppInstallerProgressListener
Ask the user to confirm the authentication path.
confirmCertificateImport(Certificate) - Method in interface com.sun.ams.AppInstallerProgressListener
Called to ask the user to confirm that a certificate the MIDlet suite is signed with may imported into the internal keystore.
confirmCurrentScreenSaverUnset(String) - Method in interface com.sun.ams.AppInstallerProgressListener
Called then current screen saver is no longer available in new version of installed test suite
confirmCurrentScreenSaverUpdate(String) - Method in interface com.sun.ams.AppInstallerProgressListener
Called then current screen saver MIDlet is being updated by new version of screen saver MIDlet
confirmGrantMaximumPermissions(Vector, boolean) - Method in interface com.sun.ams.AppInstallerProgressListener
Ask the user during installation or update if he wants to grant maximum permissions allowed by MIDP specification to the MIDlet suite.
confirmInstallUnverified() - Method in interface com.sun.ams.AppInstallerProgressListener
Called to ask the user to confirm that the MIDlet suite not passing verification due to unknown CA may be installed as untrusted.
confirmJarDownload(int) - Method in interface com.sun.ams.AppInstallerProgressListener
Called with the application description so the user can be asked to confirm the jar download.
confirmPersistentSuiteInstallation() - Method in interface com.sun.ams.AppInstallerProgressListener
Called to aks the user to confirm that the permanent MIDlet suite installation can proceed, and that the user will not be able to delete the MIDlet suite after installation.
confirmRebindingServiceProviders(Vector<String>) - Method in interface com.sun.ams.AppInstallerProgressListener
Called if the new service providers are installed so the user can be asked to confirm if he wants to perform rebinding existing applications with these new service providers.
confirmRedirect(String) - Method in interface com.sun.ams.AppInstallerProgressListener
Called with the URL where the request is attempted to be redirected so the user can be asked to confirm if he really wants to install from the new location.
confirmUnsignedFxInstall() - Method in interface com.sun.ams.AppInstallerProgressListener
Called with the current state of the install so the user can be asked to confirm the unsigned JavaFX application install.
confirmUpdate(int) - Method in interface com.sun.ams.AppInstallerProgressListener
Called to ask the user about update of already installed application.
confirmUpdate(int) - Method in interface com.sun.ams.LinkInstallerProgressListener
Called to ask the user about update of already installed link.

D

debugTask(String) - Method in interface com.sun.ams.AppSuite
Starts task from this suite in debug mode
DESTROYED - Static variable in interface com.sun.ams.TaskInfo
The task was destroyed and the descriptor is invalid.
DOMAIN_IDENTIFIED - Static variable in interface com.sun.ams.CertificateInfo
The constant indicates identified third party security domain.
DOMAIN_MANUFACTURER - Static variable in interface com.sun.ams.CertificateInfo
The constant indicates manufacturer security domain.
DOMAIN_OPERATOR - Static variable in interface com.sun.ams.CertificateInfo
The constant indicates operator security domain.
done(int) - Method in interface com.sun.ams.SuiteInstallerProgressListener
Reports the listener about installation completion
DOWNLOADING_BODY - Static variable in interface com.sun.ams.SuiteInstallerProgressListener
Install stage: downloading application body.
DOWNLOADING_DATA - Static variable in interface com.sun.ams.SuiteInstallerProgressListener
Install stage: downloading additional application data.
DOWNLOADING_DESCRIPTOR - Static variable in interface com.sun.ams.SuiteInstallerProgressListener
Install stage: downloading application descriptor.

E

EXIT_FATAL_ERROR - Static variable in interface com.sun.ams.TaskInfo
The fatal error has occured during the task execution.
EXIT_REGULAR - Static variable in interface com.sun.ams.TaskInfo
The task has finished its execution without errors.
EXIT_TERMINATED - Static variable in interface com.sun.ams.TaskInfo
The task has been terminated.

G

getAMSRequestManager() - Static method in class com.sun.ams.AmsFactory
Returns AMSRequestManager implementation.
getAppInstaller() - Static method in class com.sun.ams.AmsFactory
Returns AppInstaller implementation.
getAppSuites() - Method in interface com.sun.ams.SuiteStoreManager
Request a list of installed applications.
getAvailableProperties() - Method in interface com.sun.ams.SuiteInfo
Enumerate names of available properies
getCertificateInfoManager() - Static method in class com.sun.ams.AmsFactory
Returns CertificateInfoManager implementation.
getCertificates() - Method in interface com.sun.ams.CertificateInfoManager
Fetches all installed certificates.
getCertificates(String) - Method in interface com.sun.ams.CertificateInfoManager
Fetches installed certificates for a specific domain.
getChoicesCount() - Method in interface com.sun.ams.SuiteSetting
Gets number of choices for this setting
getChoiceTitle(int) - Method in interface com.sun.ams.SuiteSetting
Title of choice with specified index.
getClassName() - Method in interface com.sun.ams.TaskInfo
Returns a name of the entry class.
getCurrentTask() - Method in interface com.sun.ams.TaskManager
Returns a descriptor of the task the caller belongs to.
getDefaultApp() - Method in interface com.sun.ams.AppSuite
Get default application (MIDlet) from the suite.
getDependencies() - Method in interface com.sun.ams.AppSuite
Enumerates Dynamic Components this MIDlet Suite depends on
getDescription() - Method in interface com.sun.ams.SuiteSetting
Gets setting description
getDescription() - Method in interface com.sun.ams.SuiteSettingsGroup
Gets group description
getDomain() - Method in interface com.sun.ams.CertificateInfo
Gets domain the certificate bound to.
getDownloadUrl() - Method in interface com.sun.ams.SuiteInfo
Gets the URL that the suite descriptor was downloaded from.
getForegroundTask() - Method in interface com.sun.ams.TaskManager
Returns foreground task.
getGroup(int) - Method in interface com.sun.ams.SuiteSettings
Gets settings group with specified zero-based index.
getGroupsCount() - Method in interface com.sun.ams.SuiteSettings
Gets number of settings groups.
getHeapUse() - Method in interface com.sun.ams.TaskInfo
Returns heap use of given task
getIcon() - Method in interface com.sun.ams.SuiteInfo
Gets component icon
getIdx() - Method in interface com.sun.ams.SuiteSetting
Gets setting index in settings group
getIdx() - Method in interface com.sun.ams.SuiteSettingsGroup
Gets group zero-based index.
getLevel() - Method in interface com.sun.ams.LoggerInfo
Get the log Level that has been specified for this Logger.
getLibSuites() - Method in interface com.sun.ams.SuiteStoreManager
Request a list of dynamic components.
getLinkInstaller() - Static method in class com.sun.ams.AmsFactory
Returns LinkInstaller implementation.
getLinkSuites() - Method in interface com.sun.ams.SuiteStoreManager
Request a list of added links.
getLocaleChangeNotifier() - Static method in class com.sun.ams.AmsFactory
Returns LocaleChangeNotifier implementation
getLogger(String) - Method in interface com.sun.ams.TaskInfo
Method to find a named logger.
getLoggerNames() - Method in interface com.sun.ams.TaskInfo
Get an enumeration of known logger names.
getName() - Method in interface com.sun.ams.LoggerInfo
Get the name for this logger.
getName() - Method in interface com.sun.ams.SuiteInfo
Get name for given suite
getNetworkAccessCredentials() - Method in interface com.sun.ams.AppInstallerProgressListener
Called to ask user for login and password for network access.
getNetworkAccessCredentials() - Method in interface com.sun.ams.LinkInstallerProgressListener
Called to ask user for login and password for network access.
getNotAfter() - Method in interface com.sun.ams.CertificateInfo
Gets the end of the key's validity period in milliseconds since Jan 1, 1970.
getNotBefore() - Method in interface com.sun.ams.CertificateInfo
Gets the start of the key's validity period in milliseconds since Jan 1, 1970.
getOwner() - Method in interface com.sun.ams.CertificateInfo
Gets the distinguished name of the key's owner.
getPriority() - Method in interface com.sun.ams.TaskInfo
Returns priority of given task
getProperty(String) - Method in interface com.sun.ams.SuiteInfo
Requests property with given name
getResourceAccessCredentials() - Method in interface com.sun.ams.AppInstallerProgressListener
Called to ask user for login and password for network resource access.
getRmsDecryptionPassword() - Method in interface com.sun.ams.AppInstallerProgressListener
Called to ask user for RMS decryption password.
getRmsEncryptionPassword() - Method in interface com.sun.ams.AppInstallerProgressListener
Called to ask user for RMS encryption password.
getSecurityDomain() - Method in interface com.sun.ams.AppSuite
Returns security domain the suite is bound to.
getSelectedChoice() - Method in interface com.sun.ams.SuiteSetting
Return index of currently selected (active) choice
getSetting(int) - Method in interface com.sun.ams.SuiteSettingsGroup
Gets a setting with specified index.
getSettings() - Method in interface com.sun.ams.SuiteInfo
Gets settings
getSettingsCount() - Method in interface com.sun.ams.SuiteSettingsGroup
Gets count of individual settings in group.
getState() - Method in interface com.sun.ams.SuiteInfo
getStatus() - Method in interface com.sun.ams.TaskInfo
Returns task current status
getStoreManager() - Static method in class com.sun.ams.AmsFactory
Returns SuiteStoreManager implementation.
getSuiteInfo(String, String) - Method in interface com.sun.ams.SuiteStoreManager
Returns descriptor of installed suite.
getSuiteInfo() - Method in interface com.sun.ams.TaskInfo
Returns suite information this task executed from.
getSuites(int) - Method in interface com.sun.ams.SuiteStoreManager
Request a list of installed suites of specified types.
getSuiteType() - Method in interface com.sun.ams.SuiteInfo
Get suite type as one of the predefined constants
getTaskList(boolean) - Method in interface com.sun.ams.TaskManager
Returns an array of running tasks.
getTaskManager() - Static method in class com.sun.ams.AmsFactory
Returns TaskManager implementation.
getTitle() - Method in interface com.sun.ams.SuiteSetting
Gets setting title
getTitle() - Method in interface com.sun.ams.SuiteSettingsGroup
Gets group title.
getType() - Method in interface com.sun.ams.AppSuite
Returns type of the suite as one of the predefined constants
getType() - Method in interface com.sun.ams.LibSuite
Gets type of the Dynamic Component as one of the predifined constats
getVendor() - Method in interface com.sun.ams.SuiteInfo
Get vendor name for given suite

I

initialize(String, AppInstallerProgressListener) - Method in interface com.sun.ams.AppInstaller
Initializes an installer with an address of an resource where an application descriptor or jar file can be found and installation progress listener.
initialize(String, AppInstallerProgressListener, boolean) - Method in interface com.sun.ams.AppInstaller
Initializes an installer with an address of an resource where an application descriptor or jar file can be found and installation progress listener.
initialize(String, byte[], AppInstallerProgressListener) - Method in interface com.sun.ams.AppInstaller
Initializes an installer with an address of an resource where an application descriptor or jar file can be found and installation progress listener.
initialize(String, String, AppInstallerProgressListener) - Method in interface com.sun.ams.AppInstaller
Initializes an installer with an address of an resource where an application descriptor can be found, an URL of the application body and installation progress listener.
initialize(String, String, byte[], AppInstallerProgressListener) - Method in interface com.sun.ams.AppInstaller
Initializes an installer with an address of an resource where an application descriptor can be found, an URL of the application body and installation progress listener.
initialize(SuiteInfo, AppInstallerProgressListener) - Method in interface com.sun.ams.AppInstaller
Initializes an installer with an Link object and installation progress listener.
initialize(String, String, LinkInstallerProgressListener) - Method in interface com.sun.ams.LinkInstaller
Initializes an installer with an address of an resource where an application descriptor can be found, an URL of the application body and installation progress listener.
isEnabled() - Method in interface com.sun.ams.CertificateInfo
Gets the enabled status of this key.
isTrusted() - Method in interface com.sun.ams.AppSuite
Indicates if this suite is trusted.

K

keepRMS() - Method in interface com.sun.ams.AppInstallerProgressListener
Called to ask the user to confirm if the RMS data should be kept for new version of an updated suite.

L

LibSuite - Interface in com.sun.ams
Dynamic Component descriptor
LinkInstaller - Interface in com.sun.ams
Link Installer interface LinkInstaller should be initialized before using SuiteInstaller methods.
LinkInstallerProgressListener - Interface in com.sun.ams
A listener interface for processing link installer notifications.
localeChanged() - Method in interface com.sun.ams.LocaleChangeListener
This method is called to notify about locale change.
LocaleChangeListener - Interface in com.sun.ams
This interface should be used to receive locale change notifications To receive notifications from system application should register listener using LocaleChangeNotifier.addLocaleChangeListener().
LocaleChangeNotifier - Interface in com.sun.ams
Interface to manage locale change notification subscriptions.
LoggerInfo - Interface in com.sun.ams
Logger descriptor interface.
LT_REGULAR - Static variable in interface com.sun.ams.LibSuite
 
LT_SYSTEM - Static variable in interface com.sun.ams.LibSuite
types of Library Suite

M

MAX_PRIORITY - Static variable in interface com.sun.ams.TaskInfo
The maximum priority that a task can have.
MIN_PRIORITY - Static variable in interface com.sun.ams.TaskInfo
The minimum priority that a task can have.

N

NORM_PRIORITY - Static variable in interface com.sun.ams.TaskInfo
The default priority that is assigned to a task.
notifyCertificateDisabled(CertificateInfo) - Method in interface com.sun.ams.CertificateManagerListener
Notifies a listener that certificate has been disabled
notifyCertificateEnabled(CertificateInfo) - Method in interface com.sun.ams.CertificateManagerListener
Notifies a listener that certificate has been enabled
notifyCertificateInstalled(CertificateInfo) - Method in interface com.sun.ams.CertificateManagerListener
Notifies a listener about a tasks new status
notifyCertificateRemoved(CertificateInfo) - Method in interface com.sun.ams.CertificateManagerListener
Notifies a listener that certificate has been removed
notifyStatusUpdate(TaskInfo, int) - Method in interface com.sun.ams.TaskManagerListener
Notifies a listener about a tasks new status
notifySuiteInstalled(SuiteInfo) - Method in interface com.sun.ams.SuiteStoreListener
Notifies a listener that suite has been installed
notifySuiteInstalling(SuiteInfo) - Method in interface com.sun.ams.SuiteStoreListener
Notifies a listener that suite is been installing
notifySuiteRemoved(SuiteInfo) - Method in interface com.sun.ams.SuiteStoreListener
Notifies a listener that suite has been removed
notifySuiteSettingsChanged(SuiteInfo) - Method in interface com.sun.ams.SuiteStoreListener
Notifies a listener that suite settings have changed.
notifySuiteStateChanged(SuiteInfo) - Method in interface com.sun.ams.SuiteStoreListener
Notifies a listener that suite state has changed
notifyTaskStopped(TaskInfo, int) - Method in interface com.sun.ams.TaskManagerListener
Notifies a listener when a task finishes its execution

P

PAUSED - Static variable in interface com.sun.ams.TaskInfo
The task is paused.
pauseTask() - Method in interface com.sun.ams.TaskInfo
Pauses given task.

R

remove() - Method in interface com.sun.ams.SuiteInfo
Removes a software package.
remove(boolean) - Method in interface com.sun.ams.SuiteInfo
Removes a software package.
removeLocaleChangeListener(LocaleChangeListener) - Method in interface com.sun.ams.LocaleChangeNotifier
Removes previously registered listener
resumeTask() - Method in interface com.sun.ams.TaskInfo
Resumes given task.
RUNNING - Static variable in interface com.sun.ams.TaskInfo
The task is running.

S

save() - Method in interface com.sun.ams.SuiteSettings
Saves suite settings.
selectForegroundRequest() - Method in interface com.sun.ams.AMSRequestListener
Notifies AMS front end that request to select foreground application has arrived.
setEnabled(boolean) - Method in interface com.sun.ams.CertificateInfo
Sets the enabled status for this key.
setEventListener(AMSRequestListener) - Method in interface com.sun.ams.AMSRequestManager
Assigns the request manger listener
setForegroundTask() - Method in interface com.sun.ams.TaskInfo
Assigned foreground task.
setLevel(Level) - Method in interface com.sun.ams.LoggerInfo
Set the log level specifying which message levels will be logged by the logger.
setPriority(int) - Method in interface com.sun.ams.TaskInfo
Changes priority for given task
setSelectedChoice(int) - Method in interface com.sun.ams.SuiteSetting
Sets index currently selected by user.
setState(int, boolean) - Method in interface com.sun.ams.SuiteInfo
Modifies suites state
setStatusListener(CertificateManagerListener) - Method in interface com.sun.ams.CertificateInfoManager
Assigns the certificate manager status listener
setStatusListener(SuiteStoreListener) - Method in interface com.sun.ams.SuiteStoreManager
Assigns the suite store status listener
setStatusListener(TaskManagerListener) - Method in interface com.sun.ams.TaskManager
Assigns the task status update listener
ST_APPLICATION - Static variable in interface com.sun.ams.SuiteInfo
 
ST_INVALID - Static variable in interface com.sun.ams.SuiteInfo
types of Suite Info
ST_LIBRARY - Static variable in interface com.sun.ams.SuiteInfo
 
ST_LINK - Static variable in interface com.sun.ams.SuiteInfo
 
start() - Method in interface com.sun.ams.SuiteInstaller
Begins installation of the suite.
STARTING - Static variable in interface com.sun.ams.TaskInfo
The task is starting up.
startTask(String) - Method in interface com.sun.ams.AppSuite
Starts task from this suite
startTask(String, String, String) - Method in interface com.sun.ams.TaskManager
Starts task with given parameters.
startTaskWithOptions(String, String, String, int) - Method in interface com.sun.ams.TaskManager
Starts task with given parameters and options.
STATE_AVAILABLE - Static variable in interface com.sun.ams.SuiteInfo
available suite state flag.
STATE_ENABLED - Static variable in interface com.sun.ams.SuiteInfo
enabled suite state flag When suite is disabled any attempt to run application or use library from this suite should fail.
STATE_HIDDEN - Static variable in interface com.sun.ams.SuiteInfo
hidden suite state flag
STATE_REMOVE_DENIED - Static variable in interface com.sun.ams.SuiteInfo
Flag indicating wheather suite can be removed.
STATE_UPDATE_DENIED - Static variable in interface com.sun.ams.SuiteInfo
Flag indicating wheather suite can be updated.
stopTask() - Method in interface com.sun.ams.TaskInfo
Stops given task.
STORING - Static variable in interface com.sun.ams.SuiteInstallerProgressListener
Install stage: storing application.
SuiteInfo - Interface in com.sun.ams
Suite descriptor
SuiteInstaller - Interface in com.sun.ams
Suite Installer interface
SuiteInstallerProgressListener - Interface in com.sun.ams
A listener interface for processing suite installer notifications.
SuiteLockedException - Exception in com.sun.ams
Thrown when someone tries to access a Suite that has been locked
SuiteLockedException() - Constructor for exception com.sun.ams.SuiteLockedException
Constructs a SuiteLockedException
SuiteLockedException(String) - Constructor for exception com.sun.ams.SuiteLockedException
Constructs a SuiteLockedException with the specified reason.
SuiteNotFoundException - Exception in com.sun.ams
Thrown when someone tries to access a Suite that is absent
SuiteNotFoundException() - Constructor for exception com.sun.ams.SuiteNotFoundException
Constructs a SuiteNotFoundException
SuiteNotFoundException(String) - Constructor for exception com.sun.ams.SuiteNotFoundException
Constructs a SuiteNotFoundException with the specified reason.
SuiteSetting - Interface in com.sun.ams
Interface for the individual suite setting.
SuiteSettings - Interface in com.sun.ams
Interface to suite settings.
SuiteSettingsGroup - Interface in com.sun.ams
Interface for settings group.
SuiteStoreListener - Interface in com.sun.ams
A listener interface for processing suite store updates.
SuiteStoreManager - Interface in com.sun.ams
Interface to suite store manager service.
switchToAMSRequest() - Method in interface com.sun.ams.AMSRequestListener
Notifies AMS front end that request to switch to the main AMS screen has arrived.

T

TaskInfo - Interface in com.sun.ams
Task descriptor interface.
TaskManager - Interface in com.sun.ams
TaskManager interface
TaskManagerListener - Interface in com.sun.ams
A listener interface for processing task status updates.

U

UnsupportedServiceException - Exception in com.sun.ams
Exception that indicates absence of a service
UnsupportedServiceException(String) - Constructor for exception com.sun.ams.UnsupportedServiceException
 
updateStatus(int, int) - Method in interface com.sun.ams.SuiteInstallerProgressListener
Called with the current status of the install.

V

VERIFYING - Static variable in interface com.sun.ams.SuiteInstallerProgressListener
Install stage: verifying downloaded content.
A C D E G I K L M N P R S T U V 
AMS API

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

Use is subject to License Terms. Your use of this web site or any of its contents or software indicates your agreement to be bound by these License Terms.