On Sat, Jun 28, 2008 at 4:39 AM,  <[EMAIL PROTECTED]> wrote:
> Author: dblevins
> Date: Fri Jun 27 19:39:54 2008
> New Revision: 672458
>
> URL: http://svn.apache.org/viewvc?rev=672458&view=rev
> Log:
> OPENEJB-126: Constructor Injection
> Works for stateless and stateful beans
> Switched to xbean libraries version 3.4.1
...
>     private static void fillInjectionProperties(ObjectRecipe objectRecipe, 
> Class clazz, CoreDeploymentInfo deploymentInfo, Context context) {
> +        boolean usePrefix = true;
> +
> +        try {
> +            clazz.getConstructor();
> +        } catch (NoSuchMethodException e) {
> +            // Using constructor injection
> +            // xbean can't handle the prefix yet
> +            usePrefix = false;
> +        }
> +

What's the prefix? What doesn't XBean support?

Jacek

-- 
Jacek Laskowski
Notatnik Projektanta Java EE - http://www.JacekLaskowski.pl

Reply via email to