tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblev...@apache.org
Subject svn commit: r1375189 - /openejb/trunk/openejb/container/openejb-core/src/main/java/org/apache/openejb/core/timer/EjbTimerServiceImpl.java
Date Mon, 20 Aug 2012 19:49:13 GMT
Author: dblevins
Date: Mon Aug 20 19:49:13 2012
New Revision: 1375189

URL: http://svn.apache.org/viewvc?rev=1375189&view=rev
Log:
Some stub code for reworking config

Modified:
    openejb/trunk/openejb/container/openejb-core/src/main/java/org/apache/openejb/core/timer/EjbTimerServiceImpl.java

Modified: openejb/trunk/openejb/container/openejb-core/src/main/java/org/apache/openejb/core/timer/EjbTimerServiceImpl.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/container/openejb-core/src/main/java/org/apache/openejb/core/timer/EjbTimerServiceImpl.java?rev=1375189&r1=1375188&r2=1375189&view=diff
==============================================================================
--- openejb/trunk/openejb/container/openejb-core/src/main/java/org/apache/openejb/core/timer/EjbTimerServiceImpl.java
(original)
+++ openejb/trunk/openejb/container/openejb-core/src/main/java/org/apache/openejb/core/timer/EjbTimerServiceImpl.java
Mon Aug 20 19:49:13 2012
@@ -124,7 +124,16 @@ public class EjbTimerServiceImpl impleme
         }
 
         final Properties properties = new Properties();
+        properties.putAll(SystemInstance.get().getProperties());
+        properties.putAll(deployment.getModuleContext().getAppContext().getProperties());
+        properties.putAll(deployment.getModuleContext().getProperties());
+        properties.putAll(deployment.getProperties());
+
+        // TODO just iterate over these properties and look for "org.quartz.scheduler*" props
+
         final SystemInstance systemInstance = SystemInstance.get();
+
+
         final String defaultThreadPool = DefaultTimerThreadPoolAdapter.class.getName();
         properties.put(StdSchedulerFactory.PROP_THREAD_POOL_CLASS, systemInstance.hasProperty(QUARTZ_THREAD_POOL_ADAPTER)
? systemInstance.getOptions().get(QUARTZ_THREAD_POOL_ADAPTER, SimpleThreadPool.class.getName())
                 : defaultThreadPool);



Mime
View raw message