Author: norman.richards(a)jboss.com
Date: 2009-03-05 19:54:53 -0500 (Thu, 05 Mar 2009)
New Revision: 10125
Added:
trunk/src/main/org/jboss/seam/el/JBossELReferenceCache.java
Log:
JBSEAM-3932
Added: trunk/src/main/org/jboss/seam/el/JBossELReferenceCache.java
===================================================================
--- trunk/src/main/org/jboss/seam/el/JBossELReferenceCache.java
(rev 0)
+++ trunk/src/main/org/jboss/seam/el/JBossELReferenceCache.java 2009-03-06 00:54:53 UTC
(rev 10125)
@@ -0,0 +1,25 @@
+package org.jboss.seam.el;
+
+import org.jboss.el.util.ReflectionUtil;
+import org.jboss.seam.ScopeType;
+import org.jboss.seam.annotations.Create;
+import org.jboss.seam.annotations.Destroy;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.Scope;
+import org.jboss.seam.annotations.Startup;
+
+
+(a)Name("org.jboss.seam.el.referenceCache")
+(a)Scope(ScopeType.APPLICATION)
+@Startup
+public class JBossELReferenceCache {
+ @Create
+ public void start() {
+ ReflectionUtil.startup();
+ }
+
+ @Destroy
+ public void stop() {
+ ReflectionUtil.shutdown();
+ }
+}
Show replies by date