ariba.util.core
Class FeatureConfig<T>

java.lang.Object
  extended by ariba.util.core.FeatureConfig<T>

public abstract class FeatureConfig<T>
extends java.lang.Object

Different products will fetch configuration in various ways: file, DB, etc. Those products will implement that mechanism. A class implementing this feature should be passed to the feature code at startup.


Constructor Summary
FeatureConfig()
           
 
Method Summary
abstract  java.util.Set<java.lang.String> getFeatures()
          Return a Set of features names for this feature set.
abstract  Feature<T> makeFeature(java.lang.String featureName)
          For each feature name, configure a T feature.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FeatureConfig

public FeatureConfig()
Method Detail

getFeatures

public abstract java.util.Set<java.lang.String> getFeatures()
Return a Set of features names for this feature set. This will each be created from configuration in turn.

Returns:

makeFeature

public abstract Feature<T> makeFeature(java.lang.String featureName)
For each feature name, configure a T feature.

Returns:


AribaWeb User Interface Development Framework
Copyright © 2000-2014 Ariba, Inc. All Rights Reserved.