Filip Hanik wrote:

> the way to do this today is
> 1. get the list of all bound names
> 2. retrieve all the object bound from the JNDI tree
> 3. type check the returned object to see if it implements the EJBHome
> interface
>
> Am I correct?
>

I would say so.

1. list bindings in root context of global namespace (all deployed homes are
found here)
2. select only those who are (Proxy.isProxyClass(object.getClass()) and
(object instanceof EJBHome)))
    (although the first check is redundant, just for fun)

Vladimir




_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to