org.apache.hivemind.service.impl
Class DefaultsSymbolSource

java.lang.Object
  |
  +--org.apache.hivemind.impl.BaseLocatable
        |
        +--org.apache.hivemind.service.impl.DefaultsSymbolSource
All Implemented Interfaces:
Locatable, LocationHolder, SymbolSource

public class DefaultsSymbolSource
extends BaseLocatable
implements SymbolSource

Implementation of SymbolSource driven off of an extension point.

Author:
Howard Lewis Ship

Constructor Summary
DefaultsSymbolSource()
           
 
Method Summary
 void initializeService()
           
 void setDefaults(java.util.List list)
           
 void setErrorHandler(ErrorHandler handler)
           
 void setLog(org.apache.commons.logging.Log log)
           
 java.lang.String valueForSymbol(java.lang.String name)
          Returns the value for the symbol, if this source can provide one.
 
Methods inherited from class org.apache.hivemind.impl.BaseLocatable
getLocation, setLocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultsSymbolSource

public DefaultsSymbolSource()
Method Detail

valueForSymbol

public java.lang.String valueForSymbol(java.lang.String name)
Description copied from interface: SymbolSource
Returns the value for the symbol, if this source can provide one. Returns null if the source can not provide a value.

Specified by:
valueForSymbol in interface SymbolSource

initializeService

public void initializeService()

setDefaults

public void setDefaults(java.util.List list)

setLog

public void setLog(org.apache.commons.logging.Log log)

setErrorHandler

public void setErrorHandler(ErrorHandler handler)