FileDocCategorySizeDatePackage
SystemServiceManager.javaAPI DocphoneME MR2 API (J2ME)2277Wed May 02 18:00:10 BST 2007com.sun.midp.services

SystemServiceManager

public abstract class SystemServiceManager extends Object
Keeps track of available services.

Fields Summary
private static SystemServiceManager
instance
Constructors Summary
Methods Summary
public static synchronized com.sun.midp.services.SystemServiceManagergetInstance(com.sun.midp.security.SecurityToken token)
Gets class instance.

return
SystemServiceManage class instance



                
        
              

        token.checkIfPermissionAllowed(Permissions.MIDP);

        if (instance == null) {
            if (MIDletSuiteUtils.isAmsIsolate()) {
                instance = new SystemServiceManagerImpl();
            }
        }

        return instance;
    
public abstract SystemServicegetService(java.lang.String serviceID)
Gets registered service.

param
serviceID unique service ID
return
service corresponding to specified ID

public abstract voidregisterService(SystemService service)
Registers service.

param
service service to register

public abstract voidshutdown()
Shutdowns service manager