-
Notifications
You must be signed in to change notification settings - Fork 5
/
faq.html
152 lines (120 loc) · 6.19 KB
/
faq.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!--
(c) 2005, 2009, 2010 ThoughtWorks Ltd. All rights reserved.
(c) 2015 ProxyToys Committers. All rights reserved.
The software in this package is published under the terms of the BSD
style license a copy of which has been included with this distribution in
the LICENSE.txt file.
Created on 07-May-2005
-->
<head>
<title>ProxyToys - Frequently Asked Questions</title>
<link rel="stylesheet" type="text/css" href="style.css"/>
</head>
<body>
<div id="banner">
<a href="index.html"><img id="logo" src="logo.gif" alt="ProxyToys Logo"/></a>
<div id="title">Frequently Asked Questions</div>
</div>
<div id="center" class="Content2Column">
<div id="content">
<!-- ****************************************************** -->
<h1 id="Compatibility">Compatibility</h1>
<!-- ...................................................... -->
<h2 id="Compatibility_JDK">Which JDK is required to use ProxyToys?</h2>
<p>JDK 5.0 or later, since the 1.0 release. For JDK 1.4, please use ProxyToys 0.21</p>
<!-- ...................................................... -->
<h2 id="Compatibility_CGLIB">What are the advantages of using CGLIB based factory over Java Reflection mode?</h2>
<table>
<tr>
<th>Feature</th>
<th>Java Reflection factory</th>
<th>CGLIB factory</th>
</tr>
<tr>
<td>Can proxy public interfaces</td>
<td>Yes</td>
<td>Yes</td>
</tr>
<tr>
<td>Can proxy public classes</td>
<td>No</td>
<td>Yes</td>
</tr>
<tr>
<td>Can proxy non-public classes</td>
<td>No</td>
<td>No</td>
</tr>
<tr>
<td>Can proxy final classes</td>
<td>No</td>
<td>No</td>
</tr>
</table>
<!-- ...................................................... -->
<h2 id="Compatibility_CGLIB_Version">Which CGLIB versions are compatible with ProxyToys?</h2>
<p>ProxyToys can run with CGLIB versions 2.2, 2.1, 2.0.2 and 2.0. Note, that the CLIB Java archives cglib-full-2.0.x
contain also classes of <a href="http://asm.objectweb.org/">ASM 1.x</a>. The newer version ASM 2.x is no longer
compatible with any version of the plain CGLIB archives, you may use therefore cglib-nodep-2.2 instead.</p>
<p>Our Maven artifact has a transitive dependency on cglib-nodep-2.2, and we intend to keep up with releases of CGLIB going forward.</p>
<!-- ...................................................... -->
<h2 id="Compatibility_Others">Are there plans to provide enhanced mode support to other byte code libraries?</h2>
<p>Yes. <a href="mailing-lists.html">Let us know</a> which library you would like supported. The single precondition is that
the library must have a proxy implementation.</p>
<!-- ****************************************************** -->
<h1 id="Scalability">Scalability</h1>
<!-- ...................................................... -->
<h2 id="Scalability_ThreadSafety">Is ProxyToys thread safe?</h2>
<p>Yes. The Proxy factories have a static builder interface. Starting with ProxyToys 0.2 none of the proxy instances
itself created by the individual toys do have any state.</p>
<!-- ****************************************************** -->
<h1 id="Development">Development</h1>
<h2 id="Development_FailingUnitTests">I run the unit tests or ProxyToys in my IDE, but most of them are failing. Did
you ever run them?</h2>
<p>The unit tests are run with every build of ProxyToys as our <a href="http://ci.codehaus.org/browse/PROXYTOYS">CI loop shows</a>. If your IDE collects unit tests automatically, this
might be wrong. Instead you have to call explicitly com.thoughtworks.proxy.AllTests.suite().</p>
<br/><br/>
</div>
</div>
<div class="SidePanel" id="left">
<div class="MenuGroup">
<h1>ProxyToxy in General</h1>
<ul>
<li><a href="index.html">About ProxyToys</a></li>
<li><a href="news.html">News</a></li>
<li><a href="changes.html">Change History</a></li>
<li><a href="license.html">License</a></li>
<li><a href="download.html">Download</a></li>
<li><a href="versioning.html">About Versioning</a></li>
</ul>
</div>
<div class="MenuGroup">
<h1>Using ProxyToys</h1>
<ul>
<li><a href="tutorial.html">One minute Tutorial</a></li>
<li><a href="factories.html">Proxy Factories</a></li>
<li><a href="toys.html">Toys</a></li>
<li class="currentLink">Frequently Asked Questions</li>
<li><a href="example-code.html">Example Code</a></li>
<li><a href="mailing-lists.html">Mailing Lists</a></li>
<li><a href="apidocs/index.html">Javadoc</a></li>
<li><a href="issues.html">Reporting Issues</a></li>
</ul>
</div>
<div class="MenuGroup">
<h1>Developing ProxyToys</h1>
<ul>
<li><a href="architecture.html">Architecture Overview</a></li>
<li><a href="how-to-contribute.html">How to Contribute</a></li>
<li><a href="team.html">Development Team</a></li>
<li><a href="repository.html">Source Repository</a></li>
<li><a href="https://github.com/proxytoys/proxytoys">GitHub Project</a></li>
<li><a href="http://ci.codehaus.org/browse/PROXYTOYS">Build Status</a></li>
<li><a href="https://www.openhub.net/p/10075">Code Statistics</a></li>
</ul>
</div>
</div>
</body>
</html>