|
IBM WebSphereTM eXtreme Scale, Release 8.6 API Specification |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.websphere.objectgrid.server.ServerFactory
public final class ServerFactory
A singleton factory for creating and retrieving the ObjectGrid Server singleton.
Method Summary | |
---|---|
static CatalogServerProperties |
getCatalogProperties()
Returns the properties object instance used in configuring the catalog service aspects of the server. |
static Server |
getInstance()
Retrieves the Server singleton for the process, where the first call to this method will initialize the singleton. |
static ServerProperties |
getServerProperties()
Returns the properties object instance used in configuring the server. |
static boolean |
isPropFileFound()
Answers true if the ServerFactory was initialized with a server properties file. |
static boolean |
isServerStarted()
Checks whether the server was started or not |
static boolean |
stopServer()
Stops the server if it was previously started |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static boolean isPropFileFound()
public static Server getInstance()
CatalogServerProperties
,
Container
,
Server
,
DeploymentPolicyFactory
,
DeploymentPolicy
public static ServerProperties getServerProperties()
public static CatalogServerProperties getCatalogProperties()
public static boolean stopServer()
true
if server was stopped, false
if notpublic static boolean isServerStarted()
true
if server was started, false
if not
|
IBM WebSphereTM eXtreme Scale, Release 8.6 API Specification |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |