tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblev...@apache.org
Subject svn commit: r701548 - in /openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb: ContainerType.java core/singleton/SingletonContainer.java
Date Fri, 03 Oct 2008 22:02:19 GMT
Author: dblevins
Date: Fri Oct  3 15:02:18 2008
New Revision: 701548

URL: http://svn.apache.org/viewvc?rev=701548&view=rev
Log:
Added a container type for sintleton.  Doesn't seem to be used for anything but printing in
the log.

Modified:
    openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/ContainerType.java
    openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/core/singleton/SingletonContainer.java

Modified: openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/ContainerType.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/ContainerType.java?rev=701548&r1=701547&r2=701548&view=diff
==============================================================================
--- openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/ContainerType.java
(original)
+++ openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/ContainerType.java
Fri Oct  3 15:02:18 2008
@@ -21,6 +21,7 @@
  */
 public enum ContainerType {
     STATELESS,
+    SINGLETON,
     STATEFUL,
     BMP_ENTITY,
     CMP_ENTITY,

Modified: openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/core/singleton/SingletonContainer.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/core/singleton/SingletonContainer.java?rev=701548&r1=701547&r2=701548&view=diff
==============================================================================
--- openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/core/singleton/SingletonContainer.java
(original)
+++ openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/core/singleton/SingletonContainer.java
Fri Oct  3 15:02:18 2008
@@ -99,7 +99,7 @@
     }
 
     public ContainerType getContainerType() {
-        return ContainerType.STATELESS;
+        return ContainerType.SINGLETON;
     }
 
     public Object getContainerID() {



Mime
View raw message