SQLFire 1.0.1

com.vmware.sqlfire
Class FabricServiceManager

java.lang.Object
  extended by com.vmware.sqlfire.FabricServiceManager

public abstract class FabricServiceManager
extends Object

A factory class for returning singleton instance of either a 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.


Method Summary
static FabricService currentFabricServiceInstance()
          Get the current instance of either FabricServer or FabricLocator.
static FabricLocator getFabricLocatorInstance()
          Get the singleton instance of FabricLocator.
static FabricServer getFabricServerInstance()
          Get the singleton instance of FabricServer.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getFabricServerInstance

public static final FabricServer getFabricServerInstance()
Get the singleton instance of FabricServer.


getFabricLocatorInstance

public static final FabricLocator getFabricLocatorInstance()
Get the singleton instance of FabricLocator.


currentFabricServiceInstance

public static final FabricService currentFabricServiceInstance()
Get the current instance of either FabricServer or FabricLocator. This can be null if neither of getFabricServerInstance() or getFabricLocatorInstance() have been invoked, or the instance has been stopped.


SQLFire 1.0.1

Copyright © 2010-2011 VMware, Inc. All rights reserved.