1 Reply Latest reply on Mar 29, 2003 5:09 PM by Adrian Brock

    Check If JBoss Is Started

    Chris Shorrock Newbie

      I'm working on an application that utilizes many of the features of JBoss (and JBossMX) to build a modularized framework.

      I've currently ran into a problem that, after many attempts, has me stumped.

      What I require is a way, within the JVM, to see if the server has finished loading, and thus is started. More specifically what would be GREAT would be if I could get a reference to the current org.jboss.system.server.Server object, or even the org.jboss.system.server.ServerImpl object so that I could call 'boolean isStarted();' method.

      Is there any way I can retrieve a reference to this object? OR is there anything I can do accomplish the same type of thing (some way to check to see if everything is done being configured).

      Any help would be GREATLY appreciated. Thank you.

      - Chris Shorrock