PageRenderTime 41ms CodeModel.GetById 16ms RepoModel.GetById 0ms app.codeStats 0ms

/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. <remote connector-ref="remoting-connector" thread-pool-name="default"/>
  3. <async thread-pool-name="default"/>
  4. <timer-service thread-pool-name="default">
  5. <data-store path="timer-service-data" relative-to="jboss.server.data.dir"/>
  6. </timer-service>
  7. <!-- Disable pass-by-value for in-vm remote interface invocations on EJBs -->
  8. <in-vm-remote-interface-invocation pass-by-value="false"/>
  9. <!-- EJB3 pools -->
  10. <pools>
  11. <bean-instance-pools>
  12. <strict-max-pool name="slsb-strict-max-pool" max-pool-size="20" instance-acquisition-timeout="5"
  13. instance-acquisition-timeout-unit="MINUTES"/>
  14. <strict-max-pool name="entity-strict-max-pool" max-pool-size="20" instance-acquisition-timeout="5"
  15. instance-acquisition-timeout-unit="MINUTES"/>
  16. </bean-instance-pools>
  17. </pools>
  18. <caches>
  19. <cache name="simple"/>
  20. <cache name="passivating" passivation-store-ref="file"/>
  21. <cache name="clustered" passivation-store-ref="cluster"/>
  22. </caches>
  23. <passivation-stores>
  24. <file-passivation-store name="file"/>
  25. <cluster-passivation-store name="cluster" cache-container="sfsb" bean-cache="repl" client-mappings-cache="client-mappings"/>
  26. </passivation-stores>
  27. <!-- Session bean configurations -->
  28. <session-bean>
  29. <stateless>
  30. <bean-instance-pool-ref pool-name="slsb-strict-max-pool"/>
  31. </stateless>
  32. <stateful default-access-timeout="5000" cache-ref="file" clustered-cache-ref="cluster"/>
  33. <singleton default-access-timeout="5000"/>
  34. </session-bean>
  35. <thread-pools>
  36. <thread-pool name="default">
  37. <max-threads count="10"/>
  38. <keepalive-time time="100" unit="milliseconds"/>
  39. </thread-pool>
  40. </thread-pools>
  41. <entity-bean>
  42. <optimistic-locking enabled="true" />
  43. <bean-instance-pool-ref pool-name="entity-strict-max-pool"/>
  44. </entity-bean>
  45. <iiop use-qualified-name="true" enable-by-default="true"/>
  46. </subsystem>