Bean Proxy

The tool for creation of bean proxies

License

License

GroupId

GroupId

org.jmmo
ArtifactId

ArtifactId

bean-proxy
Last Version

Last Version

1.0
Release Date

Release Date

Type

Type

jar
Description

Description

Bean Proxy
The tool for creation of bean proxies
Project URL

Project URL

https://github.com/megaprog/bean-proxy
Source Code Management

Source Code Management

https://github.com/megaprog/bean-proxy

Download bean-proxy

How to add to project

<!-- https://jarcasting.com/artifacts/org.jmmo/bean-proxy/ -->
<dependency>
    <groupId>org.jmmo</groupId>
    <artifactId>bean-proxy</artifactId>
    <version>1.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.jmmo/bean-proxy/
implementation 'org.jmmo:bean-proxy:1.0'
// https://jarcasting.com/artifacts/org.jmmo/bean-proxy/
implementation ("org.jmmo:bean-proxy:1.0")
'org.jmmo:bean-proxy:jar:1.0'
<dependency org="org.jmmo" name="bean-proxy" rev="1.0">
  <artifact name="bean-proxy" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.jmmo', module='bean-proxy', version='1.0')
)
libraryDependencies += "org.jmmo" % "bean-proxy" % "1.0"
[org.jmmo/bean-proxy "1.0"]

Dependencies

test (2)

Group / Artifact Type Version
junit : junit jar 4.12
org.hamcrest : hamcrest-junit jar 2.0.0.0

Project Modules

There are no modules declared in this project.

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);

Versions

Version
1.0