|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.netflix.archaius.samplelibrary.SampleLibrary
public class SampleLibrary
Simple Sample Library. To demonstrate how to utilize the properties management aspect of Archaius in a library loaded in applications and web apps. Libraries (published as JAR files) can contain properties conventionally located at META-INF/conf/config.proeprties. The ClasspathPropertiesConfiguration of Archaius will scan through all JAR files in the classpath and load all properties located in the above location in each JAR file. As an example, look at the META-INF/cong/config.properties file of this JAR/library
Constructor Summary | |
---|---|
SampleLibrary()
|
Method Summary | |
---|---|
java.lang.String |
getName()
|
void |
setName(java.lang.String name)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SampleLibrary()
Method Detail |
---|
public java.lang.String getName()
public void setName(java.lang.String name)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |