javax.microedition.midlet
Class AutoStartPermission
java.lang.Object
java.security.Permission
java.security.BasicPermission
javax.microedition.midlet.AutoStartPermission
public final class AutoStartPermission
- extends java.security.BasicPermission
AutoStartPermission allows MIDlets in a MIDlet suite to assume the Auto
Start MIDlet behavior. AutoStartPermission is used only during
installation and hence the user permission modes oneshot, session
and blanket do not apply to this. Therefore, AutoStartPermission
MUST have only two options: allowed or not allowed. AutoStartPermission
class does not support any names and actions.
- Since:
- MIDP 3.0
Method Summary |
boolean |
implies(java.security.Permission permission)
Checks if the specified permission is "implied" by this object. |
Methods inherited from class java.security.BasicPermission |
equals, getActions, hashCode, newPermissionCollection |
Methods inherited from class java.security.Permission |
getName, toString |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
AutoStartPermission
public AutoStartPermission()
- Creates a new
AutoStartPermission
object
- See Also:
MIDlet
implies
public boolean implies(java.security.Permission permission)
- Checks if the specified permission is "implied" by this object.
Returns
true
iff:
permission
's class is the same as this object's class
- Overrides:
implies
in class java.security.BasicPermission
- Parameters:
permission
- the permission to check against.
- Returns:
true
if the specified permission is implied
by this object, otherwise false
.
Send a comment or suggestionVersion 3.0 of Mobile Information Device Profile Specification
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-2009 Motorola Inc. Portions copyright 1993-2002 Sun Microsystems, Inc. and Motorola, Inc. All Rights Reserved.