|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.properties.spi.core.registry.ConfigurationRegistry
@ThreadSafe public final class ConfigurationRegistry
Manages configurations for property descriptors. The configurations are backed by META-INF/property/config.xml
files. This registry serves as a cache.
Constructor Summary | |
---|---|
ConfigurationRegistry() Default constructor. |
Method Summary | |
---|---|
PropertiesContext |
get(Class<?> declaringType) Returns the properties context for the declaring type of a property set. |
PropertiesContext |
get(PropertyDescriptor descriptor) Returns the properties context for the given descriptor. |
String |
toString() Returns the string representation of the object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ConfigurationRegistry()
Method Detail |
---|
@CheckForNull public PropertiesContext get(PropertyDescriptor descriptor) throws NullPointerException
descriptor
- the descriptor whose properties context is requested.
null
if the
descriptor
is unknown.
NullPointerException
- if
descriptor
is
null
.
@CheckForNull public PropertiesContext get(Class<?> declaringType) throws NullPointerException
declaringType
- the declaring type of a property set.
null
if the
declaringType
is unknown.
NullPointerException
- if
declaringType
is
null
.
public String toString()
toString
in class
Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |