org.fusesource.fabric.stream.log
Class HttpSimulatorFactory

java.lang.Object
  extended by org.fusesource.fabric.stream.log.HttpSimulatorFactory
All Implemented Interfaces:
org.osgi.service.cm.ManagedServiceFactory

public class HttpSimulatorFactory
extends java.lang.Object
implements org.osgi.service.cm.ManagedServiceFactory

Implements a OGSi ManagedServiceFactory so that we can easily configure HttpSimulators easily across a fabric cluster.

Author:
Hiram Chirino

Constructor Summary
HttpSimulatorFactory()
           
 
Method Summary
 void deleted(java.lang.String s)
           
 void destroy()
           
 java.lang.String getName()
           
static java.util.HashMap<java.lang.String,java.lang.String> toMap(java.util.Dictionary dictionary)
           
 void updated(java.lang.String pid, java.util.Dictionary dictionary)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpSimulatorFactory

public HttpSimulatorFactory()
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface org.osgi.service.cm.ManagedServiceFactory

updated

public void updated(java.lang.String pid,
                    java.util.Dictionary dictionary)
             throws org.osgi.service.cm.ConfigurationException
Specified by:
updated in interface org.osgi.service.cm.ManagedServiceFactory
Throws:
org.osgi.service.cm.ConfigurationException

deleted

public void deleted(java.lang.String s)
Specified by:
deleted in interface org.osgi.service.cm.ManagedServiceFactory

destroy

public void destroy()

toMap

public static java.util.HashMap<java.lang.String,java.lang.String> toMap(java.util.Dictionary dictionary)


Copyright © 2014 Red Hat. All Rights Reserved.