Skip to content

Megaprog/bean-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Bean Proxy

The tool for creation of bean proxies.

How to get it?

You can use it as a maven dependency:

<dependency>
    <groupId>org.jmmo</groupId>
    <artifactId>bean-proxy</artifactId>
    <version>1.0</version>
</dependency>

Or download the latest build at: https://github.com/megaprog/bean-proxy/releases

How to use it?

Let we have the interface

public interface Example {
    int getIntValue();
    void setIntValue(int value);
}

And some map

Map<String, Object> values = new HashMap<>();
values.put("intValue", 1);

We need to create Example class instance with properties corresponded to values map. Gotcha!

Example example = BeanProxy.create(Example.class, values);

About

The tool for creation of bean proxies

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages