geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strub...@apache.org
Subject svn commit: r1796253 - /geronimo/specs/trunk/geronimo-jcdi_2.0_spec/src/main/java/javax/enterprise/event/NotificationOptions.java
Date Fri, 26 May 2017 08:22:05 GMT
Author: struberg
Date: Fri May 26 08:22:05 2017
New Revision: 1796253

URL: http://svn.apache.org/viewvc?rev=1796253&view=rev
Log:
GERNONIMO-6553 add missing method to NotificationOptions

Modified:
    geronimo/specs/trunk/geronimo-jcdi_2.0_spec/src/main/java/javax/enterprise/event/NotificationOptions.java

Modified: geronimo/specs/trunk/geronimo-jcdi_2.0_spec/src/main/java/javax/enterprise/event/NotificationOptions.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jcdi_2.0_spec/src/main/java/javax/enterprise/event/NotificationOptions.java?rev=1796253&r1=1796252&r2=1796253&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-jcdi_2.0_spec/src/main/java/javax/enterprise/event/NotificationOptions.java
(original)
+++ geronimo/specs/trunk/geronimo-jcdi_2.0_spec/src/main/java/javax/enterprise/event/NotificationOptions.java
Fri May 26 08:22:05 2017
@@ -39,6 +39,10 @@ public interface NotificationOptions
         return builder().setExecutor(executor).build();
     }
 
+    static NotificationOptions of(String optionKey, Object value)
+    {
+        return builder().set(optionKey, value).build();
+    }
 
     static Builder builder()
     {



Mime
View raw message