com.netflix.archaius.samplelibrary
Class SampleLibrary

java.lang.Object
  extended by com.netflix.archaius.samplelibrary.SampleLibrary

public class SampleLibrary
extends java.lang.Object

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

SampleLibrary

public SampleLibrary()
Method Detail

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)