public abstract class FabricServiceManager extends Object
FabricServer or FabricLocator. A
node can be booted as either a FabricServer or a
FabricLocator but not both. To start a fabric server with an embedded
locator use the "start-locator" property. See
FabricServer and FabricLocator for
more information on managing servers and locators.| Modifier and Type | Method and Description |
|---|---|
static FabricService |
currentFabricServiceInstance()
Get the current instance of either
FabricServer or
FabricLocator. |
static FabricAgent |
getFabricAgentInstance()
Get the singleton instance of
FabricAgent. |
static FabricLocator |
getFabricLocatorInstance()
Get the singleton instance of
FabricLocator. |
static FabricServer |
getFabricServerInstance()
Get the singleton instance of
FabricServer. |
public static final FabricServer getFabricServerInstance()
FabricServer.public static final FabricLocator getFabricLocatorInstance()
FabricLocator.public static final FabricAgent getFabricAgentInstance()
FabricAgent.public static final FabricService currentFabricServiceInstance()
FabricServer or
FabricLocator. This can be null if neither of
getFabricServerInstance() or getFabricLocatorInstance()
have been invoked, or the instance has been stopped.Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.