Class NodeActivator

java.lang.Object
net.bluemind.node.api.NodeActivator
All Implemented Interfaces:
org.osgi.framework.BundleActivator

public class NodeActivator extends Object implements org.osgi.framework.BundleActivator
The activator class controls the plug-in life cycle
  • Constructor Details

    • NodeActivator

      public NodeActivator()
  • Method Details

    • start

      public void start(org.osgi.framework.BundleContext bundleContext) throws Exception
      Specified by:
      start in interface org.osgi.framework.BundleActivator
      Throws:
      Exception
    • stop

      public void stop(org.osgi.framework.BundleContext bundleContext) throws Exception
      Specified by:
      stop in interface org.osgi.framework.BundleActivator
      Throws:
      Exception
    • requiresLocalNode

      public static boolean requiresLocalNode(String host)
    • get

      public static INodeClient get(String host) throws ServerFault
      Throws:
      ServerFault
    • forget

      public static void forget(String host) throws ServerFault
      Throws:
      ServerFault