[jboss-cvs] javassist/src/main/javassist/util/proxy ...
Shigeru Chiba
chiba at is.titech.ac.jp
Thu Aug 31 23:04:43 EDT 2006
User: chiba
Date: 06/08/31 23:04:43
Modified: src/main/javassist/util/proxy ProxyFactory.java
Log:
updated CtConstructor#isEmpty().
Revision Changes Path
1.15 +13 -1 javassist/src/main/javassist/util/proxy/ProxyFactory.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ProxyFactory.java
===================================================================
RCS file: /cvsroot/jboss/javassist/src/main/javassist/util/proxy/ProxyFactory.java,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -b -r1.14 -r1.15
--- ProxyFactory.java 31 Aug 2006 18:46:24 -0000 1.14
+++ ProxyFactory.java 1 Sep 2006 03:04:43 -0000 1.15
@@ -193,6 +193,9 @@
/**
* A provider of class loaders.
+ *
+ * @see #classLoaderProvider
+ * @since 3.4
*/
public static interface ClassLoaderProvider {
/**
@@ -212,6 +215,15 @@
* <p>The value of this field can be updated for changing the default
* implementation.
*
+ * <p>Example:
+ * <ul><pre>
+ * ProxyFactory.classLoaderProvider = new ProxyFactory.ClassLoaderProvider() {
+ * public ClassLoader get(ProxyFactory pf) {
+ * return Thread.currentThread().getContextClassLoader();
+ * }
+ * };
+ * </pre></ul>
+ *
* @since 3.4
*/
public static ClassLoaderProvider classLoaderProvider
More information about the jboss-cvs-commits
mailing list