/[classpath]/classpath/java/beans/Introspector.java
ViewVC logotype

Diff of /classpath/java/beans/Introspector.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.13 by cbj, Fri Feb 22 22:57:32 2002 UTC revision 1.14 by tromey, Sat Nov 30 04:39:31 2002 UTC
# Line 1  Line 1 
1  /* java.beans.Introspector  /* java.beans.Introspector
2     Copyright (C) 1998 Free Software Foundation, Inc.     Copyright (C) 1998, 2002 Free Software Foundation, Inc.
3    
4  This file is part of GNU Classpath.  This file is part of GNU Classpath.
5    
# Line 209  public class Introspector { Line 209  public class Introspector {
209        }        }
210    }    }
211    
212      /**
213       * Flush all of the Introspector's internal caches.
214       *
215       * @since 1.2
216       */
217      public static void flushCaches()
218      {
219        beanInfoCache.clear();
220      }
221    
222      /**
223       * Flush the Introspector's internal cached information for a given
224       * class.
225       *
226       * @param clz the class to be flushed.
227       * @throws NullPointerException if clz is null.
228       * @since 1.2
229       */
230      public static void flushFromCaches(Class clz)
231      {
232        synchronized (clz)
233          {
234            beanInfoCache.remove(clz);
235          }
236      }
237    
238    /**    /**
239     * Get the BeanInfo for class <CODE>beanClass</CODE>,     * Get the BeanInfo for class <CODE>beanClass</CODE>,
240     * first by looking for explicit information, next by     * first by looking for explicit information, next by

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26