|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jdesktop.jdic.desktop.internal.ServiceManager
public class ServiceManager
The ServiceManager
class provides static fields to refer to
the available services, and static methods to get the approprate service
objects with the given service name. This class is abstract and final and
cannot be instantiated.
ServiceManagerStub
,
LaunchService
,
BrowserService
,
MailerService
Field Summary | |
---|---|
static java.lang.String |
BROWSER_SERVICE
Constant name for looking up the browser service object. |
static java.lang.String |
LAUNCH_SERVICE
Constant name for looking up the launch service object. |
static java.lang.String |
MAILER_SERVICE
Constant name for looking up the mailer service object. |
Method Summary | |
---|---|
static java.lang.Object |
getService(java.lang.String serviceName)
Gets a service object with the given name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String LAUNCH_SERVICE
public static final java.lang.String BROWSER_SERVICE
public static final java.lang.String MAILER_SERVICE
Method Detail |
---|
public static java.lang.Object getService(java.lang.String serviceName) throws java.lang.NullPointerException
serviceName
- the given service name.
java.lang.NullPointerException
- if the given service name is null.LaunchService
,
BrowserService
,
MailerService
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |