On Wed, 28 Mar 2001, Vladimir Blagojevic wrote:

> 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)

Man, you have a warped sense of fun!

Tom
-- 
"If you mess with something for long enough it will break."
        - Schmidt's law of engineering


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

Reply via email to