aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/javassist/util/proxy
diff options
context:
space:
mode:
authorchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>2006-09-01 03:04:43 +0000
committerchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>2006-09-01 03:04:43 +0000
commitc88e65c04fb27c77e1073690ab2aef59e9f05294 (patch)
tree71bad993c4e615179450e672b75e44d24fdeec80 /src/main/javassist/util/proxy
parentac5eb2dd048fa474e96f5f5786c6d482b674c051 (diff)
downloadjavassist-c88e65c04fb27c77e1073690ab2aef59e9f05294.tar.gz
javassist-c88e65c04fb27c77e1073690ab2aef59e9f05294.zip
updated CtConstructor#isEmpty().
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@322 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
Diffstat (limited to 'src/main/javassist/util/proxy')
-rw-r--r--src/main/javassist/util/proxy/ProxyFactory.java14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/main/javassist/util/proxy/ProxyFactory.java b/src/main/javassist/util/proxy/ProxyFactory.java
index 7fe72c77..e3d6b65e 100644
--- a/src/main/javassist/util/proxy/ProxyFactory.java
+++ b/src/main/javassist/util/proxy/ProxyFactory.java
@@ -192,7 +192,10 @@ public class ProxyFactory {
}
/**
- * A provider of class loaders.
+ * A provider of class loaders.
+ *
+ * @see #classLoaderProvider
+ * @since 3.4
*/
public static interface ClassLoaderProvider {
/**
@@ -212,6 +215,15 @@ public class ProxyFactory {
* <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