org.apache.qpid.configuration
Class Accessor.MapAccessor

java.lang.Object
  extended by org.apache.qpid.configuration.Accessor.MapAccessor
All Implemented Interfaces:
Accessor
Direct Known Subclasses:
Accessor.PropertyFileAccessor
Enclosing interface:
Accessor

public static class Accessor.MapAccessor
extends Object
implements Accessor


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.qpid.configuration.Accessor
Accessor.CombinedAccessor, Accessor.MapAccessor, Accessor.PropertyFileAccessor, Accessor.SystemPropertyAccessor, Accessor.ValidationAccessor
 
Field Summary
protected  Map<Object,Object> source
           
 
Constructor Summary
Accessor.MapAccessor(Map<Object,Object> map)
           
 
Method Summary
 Boolean getBoolean(String name)
           
 Integer getInt(String name)
           
 Long getLong(String name)
           
 String getString(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

source

protected Map<Object,Object> source
Constructor Detail

Accessor.MapAccessor

public Accessor.MapAccessor(Map<Object,Object> map)
Method Detail

getBoolean

public Boolean getBoolean(String name)
Specified by:
getBoolean in interface Accessor

getInt

public Integer getInt(String name)
Specified by:
getInt in interface Accessor

getLong

public Long getLong(String name)
Specified by:
getLong in interface Accessor

getString

public String getString(String name)
Specified by:
getString in interface Accessor


Licensed to the Apache Software Foundation