Java SharedBeanInfo Example

Introduction

The java sharedbeaninfo example is extracted from the most popular open source projects, you can refer to the following example for usage.

Programming language: Java

Class/type: SharedBeanInfo

Example#1
File: DefaultReportPreProcessorPropertyMetaData.javaProject: pentaho-nbaker/pentaho-reporting

 private void writeObject(ObjectOutputStream out) throws IOException {
   out.defaultWriteObject();
   out.writeObject(beanInfo.getBeanClass());
 }

Example#2
File: DefaultReportPreProcessorPropertyMetaData.javaProject: pentaho-nbaker/pentaho-reporting

 public PropertyDescriptor getBeanDescriptor() {
   if (propertyDescriptor == null) {
     propertyDescriptor = beanInfo.getPropertyDescriptor(getName());
   }
   return propertyDescriptor;
 }