|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nuiton.util.config.SimpleConfig<E>
ApplicationConfig
instead
@Deprecated public class SimpleConfig<E extends Enum<E>>
simple config implementation based on a Enum to obtain properties
| Field Summary | |
|---|---|
protected Class<E> |
klass
Deprecated. |
protected static org.apache.commons.logging.Log |
log
Deprecated. |
protected EnumMap<E,Object> |
properties
Deprecated. |
protected EnumSet<E> |
universe
Deprecated. |
| Constructor Summary | |
|---|---|
SimpleConfig(Class<E> klass)
Deprecated. |
|
SimpleConfig(Class<E> klass,
EnumMap<E,Object> properties)
Deprecated. |
|
| Method Summary | |
|---|---|
void |
copyFrom(Object src)
Deprecated. |
void |
copyFrom(Object src,
EnumSet<E> keys)
Deprecated. |
void |
copyTo(Object dst)
Deprecated. |
void |
copyTo(Object dst,
EnumSet<E> keys)
Deprecated. |
EnumMap<E,Object> |
getProperties()
Deprecated. |
Object |
getProperty(E key)
Deprecated. |
EnumSet<E> |
getUniverse()
Deprecated. |
void |
setProperties(EnumMap<E,Object> properties)
Deprecated. |
void |
setProperty(E key,
Object value)
Deprecated. |
String |
toString()
Deprecated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected static final org.apache.commons.logging.Log log
protected EnumMap<E extends Enum<E>,Object> properties
protected final EnumSet<E extends Enum<E>> universe
protected final Class<E extends Enum<E>> klass
| Constructor Detail |
|---|
public SimpleConfig(Class<E> klass)
public SimpleConfig(Class<E> klass,
EnumMap<E,Object> properties)
| Method Detail |
|---|
public EnumMap<E,Object> getProperties()
getProperties in interface Config<E extends Enum<E>>public Object getProperty(E key)
getProperty in interface Config<E extends Enum<E>>public EnumSet<E> getUniverse()
getUniverse in interface Config<E extends Enum<E>>public void setProperties(EnumMap<E,Object> properties)
setProperties in interface Config<E extends Enum<E>>
public void setProperty(E key,
Object value)
setProperty in interface Config<E extends Enum<E>>public void copyFrom(Object src)
copyFrom in interface Config<E extends Enum<E>>
public void copyFrom(Object src,
EnumSet<E> keys)
copyFrom in interface Config<E extends Enum<E>>public void copyTo(Object dst)
copyTo in interface Config<E extends Enum<E>>
public void copyTo(Object dst,
EnumSet<E> keys)
copyTo in interface Config<E extends Enum<E>>public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||