Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.hivemind.service.impl
Class DefaultsSymbolSource  view DefaultsSymbolSource download DefaultsSymbolSource.java

java.lang.Object
  extended byorg.apache.hivemind.impl.BaseLocatable
      extended byorg.apache.hivemind.service.impl.DefaultsSymbolSource
All Implemented Interfaces:
org.apache.hivemind.Locatable, org.apache.hivemind.LocationHolder, org.apache.hivemind.SymbolSource

public class DefaultsSymbolSource
extends org.apache.hivemind.impl.BaseLocatable
implements org.apache.hivemind.SymbolSource

Implementation of org.apache.hivemind.SymbolSource driven off of an extension point.


Field Summary
private  java.util.List _defaults
           
private  java.util.Map _symbols
           
 
Fields inherited from class org.apache.hivemind.impl.BaseLocatable
 
Constructor Summary
DefaultsSymbolSource()
           
 
Method Summary
 void initializeService()
           
 void setDefaults(java.util.List list)
           
 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
 

Field Detail

_defaults

private java.util.List _defaults

_symbols

private java.util.Map _symbols
Constructor Detail

DefaultsSymbolSource

public DefaultsSymbolSource()
Method Detail

valueForSymbol

public java.lang.String valueForSymbol(java.lang.String name)
Description copied from interface: org.apache.hivemind.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 org.apache.hivemind.SymbolSource

initializeService

public void initializeService()

setDefaults

public void setDefaults(java.util.List list)