Package org.xmlBlaster.j2ee.util

Examples of org.xmlBlaster.j2ee.util.GlobalUtil


  
   /**
    * Start the embedded XmlBlaster.
    */
   public void start() throws Exception {
      globalUtil = new GlobalUtil();
      glob = globalUtil.newGlobal(propFile,args );

      loadJacorbProperties();
      globalUtil.setupSecurityManager(glob);

View Full Code Here


         ctx =  new InitialContext();
      } catch (NamingException e) {
         throw new IllegalStateException("No NamingContext available, trying to run with a jndiName in a server withouth jndi is not valid: "+e);
      } // end of try-catch
     
      GlobalUtil gu = new GlobalUtil(engineGlobal);
      bind(ctx,jndiName,gu);

   }
View Full Code Here

   public String getJNDIName() {
      return jndiName;
   }

   private void loadPropertyFile() throws IllegalStateException{
      globalUtil = new GlobalUtil();
      if ( jndiName != null) {
         try {
            globalUtil = (GlobalUtil)new InitialContext().lookup(jndiName);
         } catch (NamingException e) {
            throw new IllegalStateException("Could not lookup GlobalUtil with JNDI " + jndiName + ": "+e);
View Full Code Here

      log.info("Setting up test ...");
      if (withEmbedded) {
         glob.init(Util.getOtherServerPorts(serverPort));
         serverThread = EmbeddedXmlBlaster.startXmlBlaster(glob);
         log.info("XmlBlaster is ready for testing a lots of subscribers");
         globalUtil = new GlobalUtil( serverThread.getMain().getGlobal() );
      } else {
         globalUtil = new GlobalUtil( );
      } // end of else
      glob = globalUtil.getClone(glob);


      numReceived = 0;
View Full Code Here

      */
      glob.init(args);

      serverThread = EmbeddedXmlBlaster.startXmlBlaster(args);

      globalUtil = new GlobalUtil( serverThread.getMain().getGlobal() );
      Global runglob = globalUtil.getClone( glob );

      log.info("XmlBlaster is ready for testing subscribe MIME filter");

      try {
View Full Code Here

TOP

Related Classes of org.xmlBlaster.j2ee.util.GlobalUtil

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.