You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by pa...@apache.org on 2017/11/03 12:02:28 UTC
svn commit: r1814164 - in
/myfaces/core/branches/2.3.x/api/src/main/java/javax/faces:
application/ResourceDependency.java event/ListenerFor.java
Author: paulnicolucci
Date: Fri Nov 3 12:02:28 2017
New Revision: 1814164
URL: http://svn.apache.org/viewvc?rev=1814164&view=rev
Log:
MYFACES-4170 Implement JSF 2.3 Spec Issue 1430
Modified:
myfaces/core/branches/2.3.x/api/src/main/java/javax/faces/application/ResourceDependency.java
myfaces/core/branches/2.3.x/api/src/main/java/javax/faces/event/ListenerFor.java
Modified: myfaces/core/branches/2.3.x/api/src/main/java/javax/faces/application/ResourceDependency.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.3.x/api/src/main/java/javax/faces/application/ResourceDependency.java?rev=1814164&r1=1814163&r2=1814164&view=diff
==============================================================================
--- myfaces/core/branches/2.3.x/api/src/main/java/javax/faces/application/ResourceDependency.java (original)
+++ myfaces/core/branches/2.3.x/api/src/main/java/javax/faces/application/ResourceDependency.java Fri Nov 3 12:02:28 2017
@@ -20,6 +20,7 @@ package javax.faces.application;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
+import java.lang.annotation.Repeatable;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@@ -30,6 +31,7 @@ import java.lang.annotation.Target;
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Inherited
+@Repeatable(ResourceDependencies.class)
public @interface ResourceDependency
{
public String library() default "";
Modified: myfaces/core/branches/2.3.x/api/src/main/java/javax/faces/event/ListenerFor.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.3.x/api/src/main/java/javax/faces/event/ListenerFor.java?rev=1814164&r1=1814163&r2=1814164&view=diff
==============================================================================
--- myfaces/core/branches/2.3.x/api/src/main/java/javax/faces/event/ListenerFor.java (original)
+++ myfaces/core/branches/2.3.x/api/src/main/java/javax/faces/event/ListenerFor.java Fri Nov 3 12:02:28 2017
@@ -20,6 +20,7 @@ package javax.faces.event;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
+import java.lang.annotation.Repeatable;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@@ -30,6 +31,7 @@ import java.lang.annotation.Target;
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Inherited
+@Repeatable(ListenersFor.class)
public @interface ListenerFor
{
public Class<? extends SystemEvent> systemEventClass();