|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.xenonsoft.bridgetown.soa.config.ValueReferenceConfig
Value or reference Configuration for a JavaBean property configuration
The reference service context, if it is supplied, is normally expected to be a foreign service context and not the local one.
If this member is null, then assume the
context is local.
| Field Summary | |
protected java.lang.String |
refContext
The reference serice context |
protected java.lang.String |
refService
The reference service bean. |
protected ServiceConfig |
refServiceConfig
the service configuration |
protected java.lang.Object |
value
The computed value of the value reference or the actual direct value as created and used by an external configuration loader. |
static java.lang.String |
VALUE_REF_EMPTY
A special constant to denote that a value reference is really interpreted as an empty string |
static java.lang.String |
VALUE_REF_NULL
A special constant to denote that a value reference is really interpreted as a Object NULL |
| Constructor Summary | |
ValueReferenceConfig()
Default constructor |
|
| Method Summary | |
java.lang.String |
getRefContext()
Gets the referenced service context. |
java.lang.String |
getRefService()
Gets the referenced service (bean) name |
ServiceConfig |
getRefServiceConfig()
Gets the refServiceConfig associated with the reference bean name |
java.lang.Object |
getValue()
Gets the value |
void |
setRefContext(java.lang.String refContext)
Sets the referenced service context. |
void |
setRefService(java.lang.String service)
Sets the referenced service (bean) name |
void |
setRefServiceConfig(ServiceConfig serviceConfig)
Sets the refServiceConfig associated with the reference bean name |
void |
setValue(java.lang.Object value)
Sets the value |
void |
setValueFromListConfig(ListConfig listConfig)
Sets the value of the property from a list configuration |
void |
setValueFromMapConfig(MapConfig mapConfig)
Sets the value of the property from a map configuration |
java.lang.String |
toString()
Gets debuggable string |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final java.lang.String VALUE_REF_EMPTY
public static final java.lang.String VALUE_REF_NULL
protected java.lang.Object value
protected java.lang.String refContext
protected java.lang.String refService
protected ServiceConfig refServiceConfig
| Constructor Detail |
public ValueReferenceConfig()
| Method Detail |
public java.lang.Object getValue()
public void setValue(java.lang.Object value)
value - The value to set.public java.lang.String getRefService()
public void setRefService(java.lang.String service)
public ServiceConfig getRefServiceConfig()
public void setRefServiceConfig(ServiceConfig serviceConfig)
public java.lang.String getRefContext()
public void setRefContext(java.lang.String refContext)
refContext - the new value for refContextpublic void setValueFromListConfig(ListConfig listConfig)
listConfig - public void setValueFromMapConfig(MapConfig mapConfig)
mapConfig - public java.lang.String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||