-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathjac.prop
209 lines (189 loc) · 9.04 KB
/
jac.prop
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
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
# This file contains global parameters used for all JAC applications.
# If one particular application needs custom parameters, you can copy
# this file (and modify it) in the directory where you will run the
# application.
###############################################################################
# Choose you bytecode modifier. Current choice is BCEL or javassist10
jac.bytecodeModifier: BCEL
###############################################################################
# The classes to NOT be adapted when loaded into the VM
# By default, all classes are adapted excepted:
# - the classes in the jac.util package or subpackages
# - the classes in the jac.core package or subpackages
# - the classes in the jac.aspects package or subpackages
# - the classes named Run or Main (that are used to launch programs
# - the wrappers (classes that ends with "Wrapper" by convention)
# - the aspect components (classes that ends with "AC" by convention)
# - the classes that are given to the jac.notToAdapt rule (see below)
#
# NOTE: to precise that all the classes of a given package must NOT be adapted,
# use the * wildcard (e.g.: mypackage.*)
jac.toNotAdapt: \
java.* \
javax.* \
org.postgresql.* \
sun.* \
com.sun.* \
apple.* \
gnu.* \
antlr.* \
java_cup.* \
org.w3c.dom.* \
org.apache.xerces.* \
org.apache.log4j.* \
org.xml.sax.* \
CH.ifa.draw.* \
aspectBlock1.graphic.* \
aspectBlock1.data.DataValueVector \
aspectBlock1.data.TransferSetVector \
aspectBlock1.server.ScheduleServer \
org.mortbay.* \
org.aopalliance.* \
org.apache.* \
org.eclipse.* \
com.incors.* \
dori.jasper.* \
com.lowagie.* \
EDU.oswego.cs.dl.util.concurrent.* \
com.birosoft.liquid.* \
org.jutils.* \
org.gjt.sp.* \
bsh.* \
com.microstar.xml.*
###############################################################################
# The classes to be adapted by force (overloads the previous rules) when loaded
# into the VM
#
# NOTE: to precise that all the classes of a given package must be adapted
# by force, use the * wildcard (e.g.: mypackage.*)
jac.toAdapt: \
org.objectweb.jac.util.Repository \
org.objectweb.jac.util.Thumbnail \
org.objectweb.jac.core.ApplicationRepository \
org.objectweb.jac.core.ACParser \
org.objectweb.jac.core.ParserImpl \
org.objectweb.jac.aspects.tracing.Debugger \
org.objectweb.jac.aspects.tracing.Recorder \
org.objectweb.jac.core.NameRepository \
org.objectweb.jac.core.dist.Topology \
org.objectweb.jac.aspects.distribution.thinclient.AbstractServer \
org.objectweb.jac.aspects.gui.Actions \
org.objectweb.jac.aspects.gui.WrappableMap \
org.objectweb.jac.aspects.gui.CollectionWrapper \
org.objectweb.jac.aspects.gui.TableModel \
org.objectweb.jac.aspects.gui.swing.SwingDisplay \
org.objectweb.jac.aspects.gui.swing.SHEditorConfig \
org.objectweb.jac.aspects.gui.web.WebDisplay \
org.objectweb.jac.aspects.user.UserManager \
org.objectweb.jac.aspects.user.Profile \
org.objectweb.jac.aspects.user.Rule \
org.objectweb.jac.aspects.idGen.Counters \
org.objectweb.jac.aspects.timestamp.Timestamps
# org.objectweb.jac.aspects.gui.web.JacLocalServlet$ActionThread \
# org.objectweb.jac.aspects.gui.swing.SwingLabel \
# org.objectweb.jac.aspects.gui.swing.Menu \
# org.objectweb.jac.aspects.gui.swing.MenuBar \
# Methods that are wrappable (if none specified, all are wrappable by
# default)
jac.wrappableMethods: \
org.objectweb.jac.core.ApplicationRepository extend unextend addApplication . \
org.objectweb.jac.util.Repository . \
org.objectweb.jac.core.NameRepository . \
org.objectweb.jac.aspects.gui.swing.SwingLabel setLabel . \
org.objectweb.jac.aspects.gui.TableModel getColumnName . \
org.objectweb.jac.aspects.gui.swing.Menu addAction addSubMenu . \
org.objectweb.jac.aspects.gui.swing.MenuBar addAction addSubMenu . \
org.objectweb.jac.aspects.gui.web.WebDisplay \
showCustomized show openView showModal fullRefresh \
showInput refresh showMessage showError applicationStarted
# org.objectweb.jac.aspects.gui.swing.SwingDisplay showCustomized . \
# org.objectweb.jac.lib.java.util.Vector get add clear contains remove size \
# isEmpty equals toArray iterator indexOf \
# lastIndexOf . \
# org.objectweb.jac.lib.java.util.HashSet add clear contains remove size \
# isEmpty equals toArray iterator . \
# org.objectweb.jac.lib.java.util.Hashtable clear isEmpty size \
# containsKey containsValue get put \
# equals keySet entrySet values
jac.dontTranslateField: \
javax.* \
org.objectweb.jac.lib.* \
org.objectweb.jac.util.Repository \
org.objectweb.jac.core.NameRepository \
org.objectweb.jac.core.ApplicationRepository \
org.objectweb.jac.aspects.gui.TableModel \
org.objectweb.jac.aspects.gui.swing.Menu \
org.objectweb.jac.aspects.gui.swing.SwingDisplay \
org.objectweb.jac.aspects.gui.web.WebDisplay \
org.objectweb.jac.aspects.gui.swing.MenuBar
###############################################################################
# Aspect composition parametrization
# The default composition aspect class
jac.comp.compositionAspect: org.objectweb.jac.core.CompositionAspect
# This part is very important since it precise the ordering of the wrappers
# that can be loaded into the system by aspects. If it is wrong, the system
# can have eratic behaviors. Refer to the documentation to know more about
# wrappers ordering
jac.comp.wrappingOrder: \
org.objectweb.jac.aspects.cache.CacheWrapper \
org.objectweb.jac.wrappers.ForwardingWrapper \
org.objectweb.jac.aspects.naming.BindingWrapper \
org.objectweb.jac.aspects.session.SessionWrapper \
org.objectweb.jac.aspects.authentication.AuthenticationWrapper \
org.objectweb.jac.aspects.user.UserWrapper \
org.objectweb.jac.aspects.integrity.RepositoryWrapper \
org.objectweb.jac.aspects.confirmation.ConfirmationAC$ConfirmationWrapper \
org.objectweb.jac.aspects.gui.InputWrapper \
org.objectweb.jac.aspects.gui.WaitWrapper \
org.objectweb.jac.aspects.integrity.ConstraintWrapper \
org.objectweb.jac.aspects.i18n.I18n$TranslatorWrapper \
org.objectweb.jac.wrappers.VerboseWrapper \
org.objectweb.jac.aspects.authentication.OwningWrapper \
org.objectweb.jac.core.dist.StubWrapper \
org.objectweb.jac.aspects.distribution.BroadcastingAC$BroadcastingWrapper \
org.objectweb.jac.aspects.distribution.LoadBalancingAC$LoadBalancingWrapper \
org.objectweb.jac.aspects.distribution.consistency.ClientServerConsistencyWrapper \
org.objectweb.jac.aspects.synchronization.SynchronizationAC$SynchronizationWrapper \
org.objectweb.jac.aspects.transaction.TransactionAC$TransactionWrapper \
org.objectweb.jac.aspects.transaction.DispatchTransactionWrapper \
org.objectweb.jac.aspects.distribution.consistency.StrongPushConsistencyWrapper \
org.objectweb.jac.aspects.distribution.consistency.StrongPullConsistencyWrapper \
org.objectweb.jac.aspects.integrity.ConstraintWrapper \
org.objectweb.jac.aspects.integrity.PrimaryKeyWrapper \
org.objectweb.jac.aspects.integrity.RoleWrapper \
org.objectweb.jac.aspects.persistence.PersistenceWrapper \
org.objectweb.jac.aspects.gui.ViewControlWrapper \
org.objectweb.jac.aspects.timestamp.TimestampAC$Wrapper \
org.objectweb.jac.aspects.session.PerSessionObjectWrapper
###############################################################################
#jac.topology: //localhost/s1 //localhost/s2
###############################################################################
# This property declares all the default aspect components that can be woven
# to the JAC applications and their default names
jac.acs: \
naming org.objectweb.jac.aspects.naming.NamingAC \
rtti org.objectweb.jac.core.rtti.RttiAC \
binding org.objectweb.jac.aspects.naming.BindingAC \
tracing org.objectweb.jac.aspects.tracing.TracingAC \
debugging org.objectweb.jac.aspects.tracing.DebuggingAC \
gui org.objectweb.jac.aspects.gui.GuiAC \
load-balancing org.objectweb.jac.aspects.distribution.LoadBalancingAC \
deployment org.objectweb.jac.aspects.distribution.DeploymentAC \
remote-access org.objectweb.jac.aspects.distribution.RemoteAccessAC \
consistency org.objectweb.jac.aspects.distribution.ConsistencyAC \
broadcasting org.objectweb.jac.aspects.distribution.BroadcastingAC \
persistence org.objectweb.jac.aspects.persistence.PersistenceAC \
authentication org.objectweb.jac.aspects.authentication.AuthenticationAC \
session org.objectweb.jac.aspects.session.SessionAC \
synchronization org.objectweb.jac.aspects.synchronization.SynchronizationAC \
transaction org.objectweb.jac.aspects.transaction.TransactionAC \
integrity org.objectweb.jac.aspects.integrity.IntegrityAC \
confirmation org.objectweb.jac.aspects.confirmation.ConfirmationAC \
i18n org.objectweb.jac.aspects.i18n.I18nAC \
user org.objectweb.jac.aspects.user.UserAC \
cache org.objectweb.jac.aspects.cache.CacheAC \
queue org.objectweb.jac.aspects.queue.MessageQueueAC \
idGen org.objectweb.jac.aspects.idGen.IdGenAC \
export org.objectweb.jac.aspects.export.ExportAC \
timestamp org.objectweb.jac.aspects.timestamp.TimestampAC \
null org.objectweb.jac.samples.bench.NullAC