Here is an example of a bean property implemented using ValueHolder:
protected ValueHolder someProperty; public SomeClass getSomeProperty() { return (SomeClass) somePropertyHolder.getValue(SomeClass.class); } public void setSomeProperty(SomeClass newValue) { somePropertyHolder.setValue(SomeClass.class, newValue); }@since 1.2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|