geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From genspr...@apache.org
Subject svn commit: r1023634 - /geronimo/server/trunk/plugins/openejb/openejb-portlets/src/main/java/org/apache/geronimo/console/ejbserver/EjbHelper.java
Date Mon, 18 Oct 2010 02:29:51 GMT
Author: genspring
Date: Mon Oct 18 02:29:50 2010
New Revision: 1023634

URL: http://svn.apache.org/viewvc?rev=1023634&view=rev
Log:
GERONIMO-5354 Support configuration from openejb portlet for added attributes of stateless
ejb container.

Modified:
    geronimo/server/trunk/plugins/openejb/openejb-portlets/src/main/java/org/apache/geronimo/console/ejbserver/EjbHelper.java

Modified: geronimo/server/trunk/plugins/openejb/openejb-portlets/src/main/java/org/apache/geronimo/console/ejbserver/EjbHelper.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/openejb/openejb-portlets/src/main/java/org/apache/geronimo/console/ejbserver/EjbHelper.java?rev=1023634&r1=1023633&r2=1023634&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/openejb/openejb-portlets/src/main/java/org/apache/geronimo/console/ejbserver/EjbHelper.java
(original)
+++ geronimo/server/trunk/plugins/openejb/openejb-portlets/src/main/java/org/apache/geronimo/console/ejbserver/EjbHelper.java
Mon Oct 18 02:29:50 2010
@@ -65,11 +65,13 @@ public class EjbHelper extends BaseRemot
 
     private static final Logger log = LoggerFactory.getLogger(EjbHelper.class);
 
-    private static final String POOLSIZE = "PoolSize";
+    private static final String POOLSIZE = "MaxSize";
+    private static final String POOLMIN = "MinSize";
     private static final String BULKPASSIVATE = "BulkPassivate";
     private static final String CAPACITY = "Capacity";
-    private static final String TIMEOUT = "TimeOut";
+    private static final String CLOSETIMEOUT = "CloseTimeout";
     private static final String ACCESSTIMEOUT = "AccessTimeout";
+    private static final String IDLETIMEOUT = "IdleTimeout";    
     private static final String PASSIVATOR = "Passivator";
     private static final String STRICTPOOLING = "StrictPooling";
     private static final String INSTANCELIMIT = "InstanceLimit";
@@ -231,9 +233,11 @@ public class EjbHelper extends BaseRemot
                 infos.add(information);
                 List<String> editableProperties = new ArrayList<String>();
                 editableProperties.add(POOLSIZE);
+                editableProperties.add(POOLMIN);                
                 editableProperties.add(BULKPASSIVATE);
-                editableProperties.add(TIMEOUT);
+                editableProperties.add(CLOSETIMEOUT);
                 editableProperties.add(ACCESSTIMEOUT);
+                editableProperties.add(IDLETIMEOUT);                
                 editableProperties.add(CAPACITY);
                 editableProperties.add(STRICTPOOLING);
                 editableProperties.add(INSTANCELIMIT);
@@ -285,11 +289,14 @@ public class EjbHelper extends BaseRemot
 
         List<String> numericProperties = new ArrayList<String>();
         numericProperties.add(POOLSIZE);
+        numericProperties.add(POOLMIN);        
         numericProperties.add(BULKPASSIVATE);
-        numericProperties.add(TIMEOUT);
+        numericProperties.add(CLOSETIMEOUT);
+        numericProperties.add(ACCESSTIMEOUT);
+        numericProperties.add(IDLETIMEOUT);           
         numericProperties.add(INSTANCELIMIT);
         numericProperties.add(CAPACITY);
-        numericProperties.add(ACCESSTIMEOUT);
+     
 
         if (numericProperties.contains(propertyKey)) {
             try {



Mime
View raw message