You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by sl...@apache.org on 2008/09/25 00:33:15 UTC
svn commit: r698759 - in
/myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/event:
ApplicationPostConstructEvent.java ApplicationPreDestroyEvent.java
ListenersFor.java
Author: slessard
Date: Wed Sep 24 15:33:15 2008
New Revision: 698759
URL: http://svn.apache.org/viewvc?rev=698759&view=rev
Log:
Added EDR2's javax.faces.event classes
Added:
myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/event/ApplicationPostConstructEvent.java
myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/event/ApplicationPreDestroyEvent.java
myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/event/ListenersFor.java
Added: myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/event/ApplicationPostConstructEvent.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/event/ApplicationPostConstructEvent.java?rev=698759&view=auto
==============================================================================
--- myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/event/ApplicationPostConstructEvent.java (added)
+++ myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/event/ApplicationPostConstructEvent.java Wed Sep 24 15:33:15 2008
@@ -0,0 +1,33 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package javax.faces.event;
+
+import javax.faces.application.Application;
+
+/**
+ * @author Simon Lessard (latest modification by $Author: slessard $)
+ * @version $Revision: 696523 $ $Date: 2008-09-24 18:27:16 -0400 (mer., 17 sept. 2008) $
+ */
+public class ApplicationPostConstructEvent extends SystemEvent
+{
+ public ApplicationPostConstructEvent(Application application)
+ {
+ super(application);
+ }
+}
Added: myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/event/ApplicationPreDestroyEvent.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/event/ApplicationPreDestroyEvent.java?rev=698759&view=auto
==============================================================================
--- myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/event/ApplicationPreDestroyEvent.java (added)
+++ myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/event/ApplicationPreDestroyEvent.java Wed Sep 24 15:33:15 2008
@@ -0,0 +1,33 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package javax.faces.event;
+
+import javax.faces.application.Application;
+
+/**
+ * @author Simon Lessard (latest modification by $Author: slessard $)
+ * @version $Revision: 696523 $ $Date: 2008-09-24 18:29:20 -0400 (mer., 17 sept. 2008) $
+ */
+public class ApplicationPreDestroyEvent extends SystemEvent
+{
+ public ApplicationPreDestroyEvent(Application application)
+ {
+ super(application);
+ }
+}
Added: myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/event/ListenersFor.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/event/ListenersFor.java?rev=698759&view=auto
==============================================================================
--- myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/event/ListenersFor.java (added)
+++ myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/event/ListenersFor.java Wed Sep 24 15:33:15 2008
@@ -0,0 +1,35 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package javax.faces.event;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+/**
+ * @author Simon Lessard (latest modification by $Author: slessard $)
+ * @version $Revision: 696523 $ $Date: 2008-09-24 18:31:37 -0400 (mer., 17 sept. 2008) $
+ */
+@Retention(RetentionPolicy.RUNTIME)
+@Target(ElementType.TYPE)
+public @interface ListenersFor
+{
+ public ListenerFor[] name();
+}