Author: pete.muir(a)jboss.org
Date: 2009-03-28 11:32:35 -0400 (Sat, 28 Mar 2009)
New Revision: 2247
Added:
ri/trunk/impl/src/main/java/org/jboss/webbeans/resources/ManagerObjectFactory.java
Modified:
ri/trunk/impl/src/main/java/org/jboss/webbeans/el/NamespacedResolver.java
Log:
WBX-10
Modified: ri/trunk/impl/src/main/java/org/jboss/webbeans/el/NamespacedResolver.java
===================================================================
--- ri/trunk/impl/src/main/java/org/jboss/webbeans/el/NamespacedResolver.java 2009-03-28
15:32:12 UTC (rev 2246)
+++ ri/trunk/impl/src/main/java/org/jboss/webbeans/el/NamespacedResolver.java 2009-03-28
15:32:35 UTC (rev 2247)
@@ -51,7 +51,7 @@
}
catch (Exception e)
{
- throw new ExecutionException("Error resolving EL " + property);
+ throw new ExecutionException("Error resolving EL " + property, e);
}
if (!context.isPropertyResolved())
Added: ri/trunk/impl/src/main/java/org/jboss/webbeans/resources/ManagerObjectFactory.java
===================================================================
--- ri/trunk/impl/src/main/java/org/jboss/webbeans/resources/ManagerObjectFactory.java
(rev 0)
+++
ri/trunk/impl/src/main/java/org/jboss/webbeans/resources/ManagerObjectFactory.java 2009-03-28
15:32:35 UTC (rev 2247)
@@ -0,0 +1,19 @@
+package org.jboss.webbeans.resources;
+
+import java.util.Hashtable;
+
+import javax.naming.Context;
+import javax.naming.Name;
+import javax.naming.spi.ObjectFactory;
+
+import org.jboss.webbeans.CurrentManager;
+
+public class ManagerObjectFactory implements ObjectFactory
+{
+
+ public Object getObjectInstance(Object obj, Name name, Context nameCtx,
Hashtable<?, ?> environment) throws Exception
+ {
+ return CurrentManager.rootManager();
+ }
+
+}
Property changes on:
ri/trunk/impl/src/main/java/org/jboss/webbeans/resources/ManagerObjectFactory.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Show replies by date