On Thu, Jun 9, 2011 at 10:44 AM, David Blevins <[email protected]>wrote:

>
>
> The format of the internal names bound into openejb/Deployment is
> guaranteed to be unique.  It's not pretty to look at obviously, but every
> possible proxy will be bound there guaranteed.  For binding into
> 'openejb/Deployment' we don't use the "optional" set of binding methods.  If
> something can't be bound it's a deployment issue.
>

Interesting,

optionalBind(bindings, ref, "openejb/Deployment/"

according to the statement, It is definitly a wrong usage because it meant
to binding a optional ref to a unique section,.   But all optionalBind() is
used to bind the refo to "openejb/Deployment/"  in  class JndiBuilder for
now.

Should we change all of them to normal bind ?



>
>
>
> -David
>
>


-- 
Shawn

Reply via email to