myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lu4...@apache.org
Subject svn commit: r1435000 - /myfaces/core/branches/2.2.x/api/src/main/java/javax/faces/event/ActionListenerWrapper.java
Date Fri, 18 Jan 2013 01:11:52 GMT
Author: lu4242
Date: Fri Jan 18 01:11:52 2013
New Revision: 1435000

URL: http://svn.apache.org/viewvc?rev=1435000&view=rev
Log:
MYFACES-3678 Add ActionListenerWrapper class

Added:
    myfaces/core/branches/2.2.x/api/src/main/java/javax/faces/event/ActionListenerWrapper.java
  (with props)

Added: myfaces/core/branches/2.2.x/api/src/main/java/javax/faces/event/ActionListenerWrapper.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.2.x/api/src/main/java/javax/faces/event/ActionListenerWrapper.java?rev=1435000&view=auto
==============================================================================
--- myfaces/core/branches/2.2.x/api/src/main/java/javax/faces/event/ActionListenerWrapper.java
(added)
+++ myfaces/core/branches/2.2.x/api/src/main/java/javax/faces/event/ActionListenerWrapper.java
Fri Jan 18 01:11:52 2013
@@ -0,0 +1,36 @@
+/*
+ * 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.FacesWrapper;
+
+/**
+ *
+ * @author Leonardo Uribe
+ */
+public abstract class ActionListenerWrapper implements ActionListener, FacesWrapper<ActionListener>
+{
+
+    public void processAction(ActionEvent actionEvent) throws AbortProcessingException
+    {
+        getWrapped().processAction(actionEvent);
+    }
+    
+    public abstract ActionListener getWrapped();
+}

Propchange: myfaces/core/branches/2.2.x/api/src/main/java/javax/faces/event/ActionListenerWrapper.java
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message