/jboss-as-7.1.1.Final/ejb3/src/test/resources/org/jboss/as/ejb3/subsystem/subsystem.xml
XML | 54 lines | 43 code | 8 blank | 3 comment | 0 complexity | 25498d88c87ebcd7d55ff91a5712121f MD5 | raw file
Possible License(s): LGPL-2.1, Apache-2.0
1<subsystem xmlns="urn:jboss:domain:ejb3:1.2">
2
3 <remote connector-ref="remoting-connector" thread-pool-name="default"/>
4 <async thread-pool-name="default"/>
5
6 <timer-service thread-pool-name="default">
7 <data-store path="timer-service-data" relative-to="jboss.server.data.dir"/>
8 </timer-service>
9
10 <!-- Disable pass-by-value for in-vm remote interface invocations on EJBs -->
11 <in-vm-remote-interface-invocation pass-by-value="false"/>
12
13 <!-- EJB3 pools -->
14 <pools>
15 <bean-instance-pools>
16 <strict-max-pool name="slsb-strict-max-pool" max-pool-size="20" instance-acquisition-timeout="5"
17 instance-acquisition-timeout-unit="MINUTES"/>
18 <strict-max-pool name="entity-strict-max-pool" max-pool-size="20" instance-acquisition-timeout="5"
19 instance-acquisition-timeout-unit="MINUTES"/>
20 </bean-instance-pools>
21 </pools>
22 <caches>
23 <cache name="simple"/>
24 <cache name="passivating" passivation-store-ref="file"/>
25 <cache name="clustered" passivation-store-ref="cluster"/>
26 </caches>
27 <passivation-stores>
28 <file-passivation-store name="file"/>
29 <cluster-passivation-store name="cluster" cache-container="sfsb" bean-cache="repl" client-mappings-cache="client-mappings"/>
30 </passivation-stores>
31
32 <!-- Session bean configurations -->
33 <session-bean>
34 <stateless>
35 <bean-instance-pool-ref pool-name="slsb-strict-max-pool"/>
36 </stateless>
37 <stateful default-access-timeout="5000" cache-ref="file" clustered-cache-ref="cluster"/>
38 <singleton default-access-timeout="5000"/>
39
40 </session-bean>
41
42 <thread-pools>
43 <thread-pool name="default">
44 <max-threads count="10"/>
45 <keepalive-time time="100" unit="milliseconds"/>
46 </thread-pool>
47 </thread-pools>
48 <entity-bean>
49 <optimistic-locking enabled="true" />
50 <bean-instance-pool-ref pool-name="entity-strict-max-pool"/>
51 </entity-bean>
52
53 <iiop use-qualified-name="true" enable-by-default="true"/>
54</subsystem>