|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.reactive.beans.factory.config.AbstractPlaceholder
public abstract class AbstractPlaceholder
Allows for configuration of individual bean property values from a configuration resource.
Field Summary | |
---|---|
protected java.lang.String |
key
|
protected java.lang.Class |
type
|
Constructor Summary | |
---|---|
AbstractPlaceholder(java.lang.String value)
The constructor calls the determineType(String) and determineKey(String) methods to determine
the placeholders type and the placeholders key respectivly. |
Method Summary | |
---|---|
protected abstract java.lang.String |
determineKey(java.lang.String value)
Determines the key that the PlaceholderMatcher will use to evaluate the placeholder. |
protected abstract java.lang.Class |
determineType(java.lang.String value)
Determines the class that the placeholder will evaluate to. |
java.lang.String |
getKey()
Returns the key that will be used to ask the configurable source for a value. |
java.lang.Class |
getType()
The class the the configuration key will resolve to. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.Class type
protected java.lang.String key
Constructor Detail |
---|
public AbstractPlaceholder(java.lang.String value)
determineType(String)
and determineKey(String)
methods to determine
the placeholders type and the placeholders key respectivly.
value
- The value to construct a placeholder out ofMethod Detail |
---|
public java.lang.String getKey()
Placeholder
getKey
in interface Placeholder
public java.lang.Class getType()
Placeholder
getType
in interface Placeholder
protected abstract java.lang.Class determineType(java.lang.String value)
value
- The String representation of the placeholder
protected abstract java.lang.String determineKey(java.lang.String value)
PlaceholderMatcher
will use to evaluate the placeholder.
value
- The String representation of the placeholder
PlaceholderMatcher
will use to evaluate the placeholder
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |