[jboss-user] [Microcontainer] - How to hide a bean from other deployments?

trustin do-not-reply at jboss.com
Mon Jan 12 02:34:13 EST 2009


Hi :)

I am trying to expose a couple beans (let's call them 'the public beans') in my service to other services via a KernelController (i.e. getInstalledContext(...).getTarget())  by letting the other services to look up my beans with pre-defined names.

The public beans depend on other beans described in the same jboss-beans.xml file where the public beans are described.  They are supposed to be used by the public beans, but they are not supposed to be exposed to other beans in a different service.  The public beans don't expose them to any other services.  How can I hide them from the kernel context so that other services can't access them directly?

Thanks in advance

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200887#4200887

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200887



More information about the jboss-user mailing list