1 2 Previous Next 28 Replies Latest reply on Feb 5, 2009 10:48 AM by Ales Justin

    How to hide a bean from other deployments?

    Trustin Lee Apprentice

      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

        1 2 Previous Next