org.fusesource.fabric.itests
Class EmbeddedFabricService

java.lang.Object
  extended by org.fusesource.fabric.itests.EmbeddedFabricService

public class EmbeddedFabricService
extends java.lang.Object


Constructor Summary
EmbeddedFabricService()
           
 
Method Summary
 void createZooKeeperCluster()
           
 void dumpBundles()
           
 void dumpServiceReferences()
           
 org.osgi.service.cm.ConfigurationAdmin getConfigAdmin()
           
 org.fusesource.fabric.api.FabricService getFabricService()
           
 de.kalpatec.pojosr.framework.launch.PojoServiceRegistry getRegistry()
           
static
<T> T
getService(java.lang.Class<T> type, de.kalpatec.pojosr.framework.launch.PojoServiceRegistry registry)
           
static
<T> T
getService(java.lang.Class<T> type, java.lang.String filter, de.kalpatec.pojosr.framework.launch.PojoServiceRegistry registry)
           
 org.fusesource.fabric.zookeeper.IZKClient getZooKeeperClient()
           
 org.fusesource.fabric.api.ZooKeeperClusterService getZooKeeperClusterService()
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmbeddedFabricService

public EmbeddedFabricService()
Method Detail

start

public void start()
           throws java.lang.Exception
Throws:
java.lang.Exception

dumpBundles

public void dumpBundles()

dumpServiceReferences

public void dumpServiceReferences()
                           throws java.lang.Exception
Throws:
java.lang.Exception

stop

public void stop()

getRegistry

public de.kalpatec.pojosr.framework.launch.PojoServiceRegistry getRegistry()

getService

public static <T> T getService(java.lang.Class<T> type,
                               java.lang.String filter,
                               de.kalpatec.pojosr.framework.launch.PojoServiceRegistry registry)

getService

public static <T> T getService(java.lang.Class<T> type,
                               de.kalpatec.pojosr.framework.launch.PojoServiceRegistry registry)

getConfigAdmin

public org.osgi.service.cm.ConfigurationAdmin getConfigAdmin()

getZooKeeperClusterService

public org.fusesource.fabric.api.ZooKeeperClusterService getZooKeeperClusterService()
                                                                             throws java.lang.Exception
Throws:
java.lang.Exception

createZooKeeperCluster

public void createZooKeeperCluster()
                            throws java.lang.Exception
Throws:
java.lang.Exception

getFabricService

public org.fusesource.fabric.api.FabricService getFabricService()
                                                         throws java.lang.Exception
Throws:
java.lang.Exception

getZooKeeperClient

public org.fusesource.fabric.zookeeper.IZKClient getZooKeeperClient()
                                                             throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2014 Red Hat. All Rights Reserved.