Package org.apache.fluo.api.config
Class ObserverSpecification
- java.lang.Object
-
- org.apache.fluo.api.config.ObserverSpecification
-
@Deprecated public class ObserverSpecification extends Object
Deprecated.since 1.1.0. The methods that used this class inFluoConfiguration
were deprecated.This class encapsulates the information needed to setup an Observer. This class is used byFluoConfiguration.addObserver(ObserverSpecification)
.- Since:
- 1.0.0
-
-
Constructor Summary
Constructors Constructor Description ObserverSpecification(String className)
Deprecated.ObserverSpecification(String className, Map<String,String> observerConfig)
Deprecated.ObserverSpecification(String className, SimpleConfiguration observerConfig)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
equals(Object o)
Deprecated.String
getClassName()
Deprecated.SimpleConfiguration
getConfiguration()
Deprecated.int
hashCode()
Deprecated.
-
-
-
Constructor Detail
-
ObserverSpecification
public ObserverSpecification(String className)
Deprecated.- Parameters:
className
- The name of a class that implementsObserver
-
ObserverSpecification
public ObserverSpecification(String className, SimpleConfiguration observerConfig)
Deprecated.- Parameters:
className
- The name of a class that implementsObserver
observerConfig
- Per observer configuration that's specific to this observer. For configuration that's the same across multiple observers, consider usingFluoConfiguration.getAppConfiguration()
-
ObserverSpecification
public ObserverSpecification(String className, Map<String,String> observerConfig)
Deprecated.- Parameters:
className
- The name of a class that implementsObserver
observerConfig
- Per observer configuration that's specific to this observer. For configuration that's the same across multiple observers, consider usingFluoConfiguration.getAppConfiguration()
-
-
Method Detail
-
getClassName
public String getClassName()
Deprecated.
-
getConfiguration
public SimpleConfiguration getConfiguration()
Deprecated.
-
-