You can also implement a BeanInfo class for your application object bean.
您还可以为应用程序对象Bean实现一个beaninfo类。
This information resides in a BeanInfo class, which is typically provided by your bean when the bean's class is loaded via a static initializer.
这条信息位于beaninfo类中,该类通常在bean的类通过静态初始化器装入时,由bean提供。
You can also use the BeanInfo to hide certain properties from the rule editor simply by having your BeanInfo not return a PropertyDescriptor for these properties.
您还可以使用BeanInfo在规则编辑器中隐藏某些属性,只需要让您的 BeanInfo不为这些属性返回PropertyDescriptor 即可。
Use a BeanInfo to give your application objects more human readable property names and to hide properties which should be available to programmers, but not rule authors.
使用BeanInfo使您的应用程序对象具有更易于阅读的属性名,并隐藏那些程序员可以使用、而规则编写者不应该使用的属性。
Additionally, BeanInfo files are generated for all the class files generated that provide a mechanism for exposing information about the generated methods and structures.
除此之外,为所有的类文件生成了BeanInfo文件,提供展示生成的方法及结构的相关信息的机制。
Additionally, BeanInfo files are generated for all the class files generated that provide a mechanism for exposing information about the generated methods and structures.
除此之外,为所有的类文件生成了BeanInfo文件,提供展示生成的方法及结构的相关信息的机制。
应用推荐