nbrugger-tgm / reactj

A reactive ui lib for easy MVC

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feature] Automatic Proxy & Bean support

nbrugger-tgm opened this issue · comments

We would like to implement automatic Proxy and Bean support.

Example

public class Data {
    private in property;
    public void setProperty(int prop){
        this.property = prop;
    }
} 

usage

Data model = new Data();
controller.bind(ReactiveObject.create(model));

Done

Introduced in 2.0.0-SNAPSHOT

Usage

ReactiveProxy<Data> data = ReactiveObject.create(Data.class);
Data model = data.object;
controller.bind(data.reactive);