You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by ga...@apache.org on 2010/08/23 21:10:26 UTC
svn commit: r988255 -
/openejb/trunk/openejb3/container/openejb-core/src/main/resources/META-INF/org.apache.openejb/service-jar.xml
Author: gawor
Date: Mon Aug 23 19:10:26 2010
New Revision: 988255
URL: http://svn.apache.org/viewvc?rev=988255&view=rev
Log:
OPENEJB-1146: Support for stateful timeout. Periodically check for expired beans. Based on patch from Thiago Veronezi.
Modified:
openejb/trunk/openejb3/container/openejb-core/src/main/resources/META-INF/org.apache.openejb/service-jar.xml
Modified: openejb/trunk/openejb3/container/openejb-core/src/main/resources/META-INF/org.apache.openejb/service-jar.xml
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-core/src/main/resources/META-INF/org.apache.openejb/service-jar.xml?rev=988255&r1=988254&r2=988255&view=diff
==============================================================================
--- openejb/trunk/openejb3/container/openejb-core/src/main/resources/META-INF/org.apache.openejb/service-jar.xml (original)
+++ openejb/trunk/openejb3/container/openejb-core/src/main/resources/META-INF/org.apache.openejb/service-jar.xml Mon Aug 23 19:10:26 2010
@@ -377,12 +377,18 @@
Passivator org.apache.openejb.core.stateful.SimplePassivater
- # Specifies the time to wait between invocations. This
- # value is measured in minutes. A value of 5 would
+ # Specifies the time a bean can be idle before it is removed by the container.
+ # This value is measured in minutes. A value of 5 would
# result in a time-out of 5 minutes between invocations.
- # A value of zero would mean no timeout.
+ # A value of -1 would mean no timeout.
+ # A value of 0 would mean a bean can be immediately removed by the container.
TimeOut 20
+
+ # Specifies the frequency (in seconds) at which the bean cache is checked for
+ # idle beans.
+
+ Frequency 60
# Specifies the size of the bean pools for this
# stateful SessionBean container.