1 Reply Latest reply on Nov 21, 2005 1:29 PM by Maarten Roosendaal

    MBean needs to call SpringContext  via ServiceLocator starte

    Maarten Roosendaal Newbie


      I have an MBean which is deployed through an EAR file and the EAR file also contains a WAR file and JAR-files in de APP-INF/lib.

      The deployements works fine and the WAR file starts the Spring applicationContext. What i need is to call our ServiceLocator to get the applicationcontext. So i need to start the MBean and the Application in the samen ClassLoader or something by which i can access the ServiceLocator and get the applicationContext to access Spring beans.

      How can i do this? Hope someone can help.