OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ProxyFactory
(Results
1 - 10
of
10
) sorted by null
/external/javassist/src/test/test/javassist/proxy/
JASSIST113RegressionTest.java
3
import javassist.util.proxy.
ProxyFactory
;
18
ProxyFactory
proxyFactory
= new
ProxyFactory
();
19
proxyFactory
.setInterfaces(new Class[]{Bear.class});
20
proxyFactory
.createClass();
ProxySimpleTest.java
12
import javassist.util.proxy.
ProxyFactory
;
17
ProxyFactory
.ClassLoaderProvider cp =
ProxyFactory
.classLoaderProvider;
18
ProxyFactory
.classLoaderProvider = new
ProxyFactory
.ClassLoaderProvider() {
19
public ClassLoader get(
ProxyFactory
pf) {
23
ProxyFactory
pf = new
ProxyFactory
();
30
ProxyFactory
.classLoaderProvider = cp;
44
ProxyFactory
pf = new ProxyFactory()
[
all
...]
ProxyFactoryCompatibilityTest.java
6
import javassist.util.proxy.
ProxyFactory
;
44
System.out.println("
ProxyFactory
.useCache = " +
ProxyFactory
.useCache);
46
ProxyFactory
factory = new
ProxyFactory
();
70
ProxyFactory
factory2 = new
ProxyFactory
();
ProxyCacheGCTest.java
6
import javassist.util.proxy.
ProxyFactory
;
42
ProxyFactory
.useCache = false;
53
ProxyFactory
.useCache = true;
89
// now create a
proxyfactory
and use it to create a proxy
91
ProxyFactory
factory = new
ProxyFactory
();
ProxySerializationTest.java
20
ProxyFactory
factory = new
ProxyFactory
();
/external/javassist/src/main/javassist/util/proxy/
ProxyObjectOutputStream.java
24
* An input stream class which knows how to serialize proxies created via {@link
ProxyFactory
}. It must
26
* {@link
ProxyFactory
#useWriteReplace} set to false. Subsequent deserialization of the serialized data
35
* using class
ProxyFactory
48
if (
ProxyFactory
.isProxyClass(cl)) {
52
byte[] signature =
ProxyFactory
.getFilterSignature(cl);
ProxyObjectInputStream.java
24
* An input stream class which knows how to deserialize proxies created via {@link
ProxyFactory
} and
26
* from a proxy factory configured with {@link
ProxyFactory
#useWriteReplace} set to false.
34
* using class
ProxyFactory
. the classloader used to resolve proxy superclass and interface names
79
ProxyFactory
factory = new
ProxyFactory
();
SerializedProxy.java
80
ProxyFactory
f = new
ProxyFactory
();
RuntimeSupport.java
22
* Runtime support routines that the classes generated by
ProxyFactory
use.
24
* @see
ProxyFactory
46
* @see javassist.util.proxy.
ProxyFactory
209
return new SerializedProxy(clazz,
ProxyFactory
.getFilterSignature(clazz), methodHandler);
ProxyFactory.java
48
*
ProxyFactory
f = new
ProxyFactory
();
108
* this default globally by setting static field {@link
ProxyFactory
#useCache} to false.
110
* {@link
ProxyFactory
#setUseCache(boolean)}. It is strongly recommended that new clients
111
* of class
ProxyFactory
enable caching. Failure to do so may lead to exhaustion of
115
* method {@link
ProxyFactory
#setHandler(MethodHandler)} is called. This method was
123
* {@link
ProxyFactory
#setHandler(MethodHandler)}.
125
* <p>A proxy object generated by <code>
ProxyFactory
</code> is serializable
143
* {@link
ProxyFactory
#useWriteReplace} to false. Alternatively, it may be
144
* configured per factory by calling instance method {@link
ProxyFactory
#setUseWriteReplace(boolean)}
[
all
...]
Completed in 118 milliseconds