|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.dyuproject.ioc.config.Reference
public final class Reference
A configuration component from a json context file which allows a pojo to
be referenced by an id String
.
Field Summary | |
---|---|
protected Map<String,Object> |
_props
|
protected Object |
_ref
|
Constructor Summary | |
---|---|
Reference()
|
|
Reference(Object ref)
|
Method Summary | |
---|---|
Map<String,Object> |
getProps()
Gets the properties of a referenced object to be able to set or override existing properties. |
Object |
getRef()
Gets the object being referenced. |
void |
setProps(Map<String,Object> props)
Sets the properties of a reference object which can set or override existing properties. |
void |
setRef(Object ref)
Sets the object to reference. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Object _ref
protected Map<String,Object> _props
Constructor Detail |
---|
public Reference()
public Reference(Object ref)
Method Detail |
---|
public Object getRef()
public void setRef(Object ref)
public Map<String,Object> getProps()
public void setProps(Map<String,Object> props)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |