|
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
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
|
<?xml version="1.0" encoding="UTF-8"?>
<!--
JCA Deployers
-->
<deployment xmlns="urn:jboss:bean-deployer:2.0">
<!-- TODO this should be removed later on when ENC gets changed -->
<bean name="java:comp/Initializer" class="org.jboss.ejb3.embedded.JavaCompInitializer"/>
<bean name="DefaultPersistenceProperties" class="org.jboss.ejb3.DefaultPersistenceProperties"/>
<bean name="Ejb3Deployer" class="org.jboss.ejb3.deployers.Ejb3Deployer">
<property name="type">ejb3x</property>
<property name="kernel"><inject bean="jboss.kernel:service=Kernel"/></property>
<property name="mbeanServer"><inject bean="JMXKernel" property="mbeanServer"/></property>
<property name="defaultPersistenceProperties"><inject bean="DefaultPersistenceProperties" property="properties"/></property>
<property name="cacheFactoryRegistry"><inject bean="EJB3CacheFactoryRegistry" /></property>
<property name="poolFactoryRegistry"><inject bean="EJB3PoolFactoryRegistry" /></property>
<property name="remoteProxyFactoryRegistry"><inject bean="EJB3RemoteProxyFactoryRegistry" /></property>
<property name="persistenceManagerFactoryRegistry"><inject bean="EJB3PersistenceManagerFactoryRegistry" /></property>
<!--
Configure the deployer to optionally require a deployment
descriptor for deployable units. By turning this switch to "true",
"META-INF/jboss.xml" or the EJB3 Deployment Descriptor "META-INF/ejb-jar.xml"
will be required for deployment, enabling a performance increace in deployment by
not scanning for annotations in non-deployable EJB3 JARs.
Default for this value is "false".
-->
<property name="deploymentDescriptorRequired">false</property>
<property name="ignoredJarsSet">
<set elementClass="java.lang.String">
<value>snmp-adaptor.jar</value>
<value>otherimages.jar</value>
<value>applet.jar</value>
<value>jcommon.jar</value>
<value>console-mgr-classes.jar</value>
<value>jfreechart.jar</value>
<value>juddi-service.jar</value>
<value>wsdl4j.jar</value>
<value>commons-collections.jar</value>
<value>commons-pool.jar</value>
<value>juddi.jar</value>
<value>commons-discovery.jar</value>
<value>uddi4j.jar</value>
<value>axis.jar</value>
<value>commons-dbcp.jar</value>
<value>jboss-juddiaxis.jar</value>
<value>trove.jar</value>
<value>javassist.jar</value>
<value>jboss-aop-jdk50.jar</value>
<value>jboss-aspect-library-jdk50.jar</value>
<value>ejb3-persistence.jar</value>
<value>commons-validator-1.1.3.jar</value>
<value>commons-collections.jar</value>
<value>commons-fileupload.jar</value>
<value>commons-pool.jar</value>
<value>hibernate-entitymanager.jar</value>
<value>jboss-ejb3x.jar</value>
<value>commons-digester-1.6.jar</value>
<value>cglib-2.1.1.jar</value>
<value>commons-discovery.jar</value>
<value>jboss-annotations-ejb3.jar</value>
<value>jaxen-1.1-beta-4.jar</value>
<value>hibernate-annotations.jar</value>
<value>commons-httpclient.jar</value>
<value>commons-logging.jar</value>
<value>commons-vfs.jar</value>
<value>hibernate3.jar</value>
<value>commons-logging-api.jar</value>
<value>asm.jar</value>
<value>asm-attrs.jar</value>
<value>commons-lang-2.0.jar</value>
<value>commons-beanutils.jar</value>
<value>jboss-ejb3.jar</value>
<value>dom4j.jar</value>
<value>commons-codec-1.2.jar</value>
<value>wsdl4j.jar</value>
<value>xmlsec.jar</value>
<value>jbossws.jar</value>
<value>jboss-bean-deployer.jar</value>
<value>jboss-microcontainer.jar</value>
<value>jboss-dependency.jar</value>
<value>jboss-container.jar</value>
<value>tomcat-coyote.jar</value>
<value>commons-collections.jar</value>
<value>myfaces.jar</value>
<value>jstl.jar</value>
<value>commons-digester-1.6.jar</value>
<value>myfaces-impl.jar</value>
<value>commons-beanutils.jar</value>
<value>myfaces-jsf-api.jar</value>
<value>commons-codec-1.2.jar</value>
<value>catalina-optional.jar</value>
<value>tomcat-util.jar</value>
<value>jasper-compiler.jar</value>
<value>commons-el.jar</value>
<value>jasper-compiler-jdt.jar</value>
<value>tomcat-http.jar</value>
<value>catalina-manager.jar</value>
<value>jasper-runtime.jar</value>
<value>tomcat55-service.jar</value>
<value>servlets-invoker.jar</value>
<value>catalina.jar</value>
<value>naming-resources.jar</value>
<value>servlets-default.jar</value>
<value>tomcat-ajp.jar</value>
<value>commons-modeler.jar</value>
<value>tomcat-apr.jar</value>
<value>servlets-webdav.jar</value>
</set>
</property>
<depends>AspectLibrary</depends>
</bean>
<bean name="EJBStage2Deployer" class="org.jboss.ejb3.deployers.EJBStage2Deployer">
<depends>AspectLibrary</depends>
</bean>
<bean name="AppClientParsingDeployer" class="org.jboss.ejb3.deployers.AppClientParsingDeployer">
<property name="type">car</property>
<!-- TODO: check depends -->
<depends>AspectLibrary</depends>
</bean>
<bean name="JBossClientParsingDeployer" class="org.jboss.ejb3.deployers.JBossClientParsingDeployer">
<property name="type">car</property>
<depends>AppClientParsingDeployer</depends>
</bean>
<bean name="AppClientScanningDeployer" class="org.jboss.ejb3.deployers.AppClientScanningDeployer">
<depends>JBossClientParsingDeployer</depends>
</bean>
<bean name="Ejb3ClientDeployer" class="org.jboss.ejb3.deployers.Ejb3ClientDeployer">
<property name="type">car</property>
<property name="kernel"><inject bean="jboss.kernel:service=Kernel"/></property>
<property name="mbeanServer"><inject bean="JMXKernel" property="mbeanServer"/></property>
<!-- TODO: check depends -->
<depends>AspectLibrary</depends>
<depends>AppClientScanningDeployer</depends>
</bean>
<!-- EJB3 Cache Factory Registry -->
<bean name="EJB3CacheFactoryRegistry" class="org.jboss.ejb3.cache.CacheFactoryRegistry">
<property name="factories">
<!-- Define each of the registered factories -->
<map class="java.util.HashMap" keyClass="java.lang.String"
valueClass="java.lang.Class">
<!-- NoPassivationCache -->
<entry>
<key>NoPassivationCache</key>
<value>org.jboss.ejb3.cache.NoPassivationCacheFactory</value>
</entry>
<!-- SimpleStatefulCache -->
<entry>
<key>SimpleStatefulCache</key>
<value>org.jboss.ejb3.cache.simple.SimpleStatefulCacheFactory</value>
</entry>
<!-- StatefulTreeCache -->
<entry>
<key>StatefulTreeCache</key>
<value>org.jboss.ejb3.cache.tree.StatefulTreeCacheFactory</value>
</entry>
</map>
</property>
</bean>
<!-- EJB3 Pool Factory Registry -->
<bean name="EJB3PoolFactoryRegistry" class="org.jboss.ejb3.pool.PoolFactoryRegistry">
<property name="factories">
<!-- Define each of the registered factories -->
<map class="java.util.HashMap" keyClass="java.lang.String"
valueClass="java.lang.Class">
<!-- ThreadlocalPool -->
<entry>
<key>ThreadlocalPool</key>
<value>org.jboss.ejb3.pool.ThreadlocalPoolFactory</value>
</entry>
<!-- StrictMaxPool -->
<entry>
<key>StrictMaxPool</key>
<value>org.jboss.ejb3.pool.StrictMaxPoolFactory</value>
</entry>
</map>
</property>
</bean>
<!-- Remoting Proxy Factory Registry -->
<bean name="EJB3RemoteProxyFactoryRegistry" class="org.jboss.ejb3.remoting.RemoteProxyFactoryRegistry">
<property name="factories">
<!-- Define each of the registered factories -->
<map class="java.util.HashMap" keyClass="java.lang.String"
valueClass="java.lang.Class">
<!-- RemoteProxyFactory -->
<entry>
<key>RemoteProxyFactory</key>
<value>org.jboss.ejb3.remoting.RemoteProxyFactory</value>
</entry>
<!-- IORFactory -->
<entry>
<key>IORFactory</key>
<value>org.jboss.ejb3.iiop.IORFactory</value>
</entry>
<!-- ServiceRemoteProxyFactory -->
<entry>
<key>ServiceRemoteProxyFactory</key>
<value>org.jboss.ejb3.service.ServiceRemoteProxyFactory</value>
</entry>
<!-- StatefulClusterProxyFactory -->
<!-- <entry>
<key>StatefulClusterProxyFactory</key>
<value>org.jboss.ejb3.stateful.StatefulClusterProxyFactory</value>
</entry>-->
<!-- StatefulRemoteProxyFactory -->
<entry>
<key>StatefulRemoteProxyFactory</key>
<value>org.jboss.ejb3.stateful.StatefulRemoteProxyFactory</value>
</entry>
<!-- StatelessClusterProxyFactory -->
<!-- <entry>
<key>StatelessClusterProxyFactory</key>
<value>org.jboss.ejb3.stateless.StatelessClusterProxyFactory</value>
</entry>-->
<!-- StatelessRemoteProxyFactory -->
<entry>
<key>StatelessRemoteProxyFactory</key>
<value>org.jboss.ejb3.stateless.StatelessRemoteProxyFactory</value>
</entry>
</map>
</property>
</bean>
<!-- EJB3 Persistence Manager Factory Registry -->
<bean name="EJB3PersistenceManagerFactoryRegistry" class="org.jboss.ejb3.cache.persistence.PersistenceManagerFactoryRegistry">
<property name="factories">
<!-- Define each of the registered factories -->
<map class="java.util.HashMap" keyClass="java.lang.String"
valueClass="java.lang.Class">
<!-- StatefulSessionFilePersistenceManager -->
<entry>
<key>StatefulSessionFilePersistenceManager</key>
<value>org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManagerFactory</value>
</entry>
</map>
</property>
</bean>
<bean name="JNDIKernelRegistryPlugin" class="org.jboss.ejb3.kernel.JNDIKernelRegistryPlugin"/>
<!-- Persistence Unit deployers -->
<bean name="PersistenceUnitParsingDeployer" class="org.jboss.ejb3.deployers.PersistenceUnitParsingDeployer">
<property name="type">car</property>
</bean>
</deployment>
|