|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.properties.spi.core.context.PropertyContextProxy
public final class PropertyContextProxy
A proxy to provide property context instances.
Constructor Summary | |
---|---|
PropertyContextProxy(PropertiesContext context) Default constructor. |
Method Summary | |
---|---|
PropertyContext |
getPropertyContext(PropertyDescriptor propertyDescriptor) Creates a new property context for the given propertyDescriptor . |
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 PropertyContextProxy(PropertiesContext context)
context
- the properties context to fetch information from the META-INF folder. May be
null
.
Method Detail |
---|
public PropertyContext getPropertyContext(PropertyDescriptor propertyDescriptor) throws NullPointerException
PropertyContextProvider
propertyDescriptor
.
getPropertyContext
in interface
PropertyContextProvider
propertyDescriptor
- the descriptor whose context is requested.
NullPointerException
- of
propertyDescriptor
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 |