deltaspike-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tandrasc...@apache.org
Subject svn commit: r1568617 - /deltaspike/site/trunk/content/jsf.mdtext
Date Sat, 15 Feb 2014 11:43:09 GMT
Author: tandraschko
Date: Sat Feb 15 11:43:09 2014
New Revision: 1568617

URL: http://svn.apache.org/r1568617
Log:
docu for SystemEvent broadcasting

Modified:
    deltaspike/site/trunk/content/jsf.mdtext

Modified: deltaspike/site/trunk/content/jsf.mdtext
URL: http://svn.apache.org/viewvc/deltaspike/site/trunk/content/jsf.mdtext?rev=1568617&r1=1568616&r2=1568617&view=diff
==============================================================================
--- deltaspike/site/trunk/content/jsf.mdtext (original)
+++ deltaspike/site/trunk/content/jsf.mdtext Sat Feb 15 11:43:09 2014
@@ -1228,13 +1228,30 @@ In the listing above all beans which imp
 
 ## PhaseListener
 
-#Event broadcasting (TODO)
+#Event broadcasting
 
-## BeforeJsfRequest / AfterJsfRequest
+## BeforeJsfRequest / AfterJsfRequest (TODO)
 
-## BeforePhase / AfterPhase
+## BeforePhase / AfterPhase (TODO)
 
-## JSF' SystemEvent
+## JSF SystemEvents
+
+Following JSF SystemEvents can be observed via CDI:
+
+  - javax.faces.event.PostConstructApplicationEvent
+  - javax.faces.event.PreDestroyApplicationEvent
+  - javax.faces.event.ExceptionQueuedEvent
+
+
+    :::java
+    @ApplicationScoped
+    public class ApplicationConfig
+    {
+        public void init(@Observers PostConstructApplicationEvent event)
+        {
+            // ...
+        }
+    }
 
 # Support of EAR deployments
 Before using features described by this page, please ensure that you are aware of [DELTASPIKE-335](https://issues.apache.org/jira/browse/DELTASPIKE-335)
and the corresponding impact.



Mime
View raw message