没有任何数据可供显示
开源项目社区 | 当前位置 : |
|
www.trustie.net/open_source_projects | 主页 > 开源项目社区 > tigerbeans |
tigerbeans
|
0 | 0 | 0 |
贡献者 | 讨论 | 代码提交 |
概述
This framework simplifies the development and maintenance of JavaBeans. You can define the JavaBeans without writing any code:
public interface Person {
String getName();
@NotNull
void setName(String name);
int getAge();
@Max(100)
void setAge(int age);
}
And then get REAL bean instances (which adhere to the property definitions and constrains) like this:
Person john = TigerBeanFactory.createBean(Person.class);
There's no code generation -- everything is generated in runtime.
创建时间:2014-05-11 09:23