1 /*------------------------------------------------------------------------------
2 Name: I_Main.java
3 Project: xmlBlaster.org
4 Copyright: xmlBlaster.org, see xmlBlaster-LICENSE file
5 ------------------------------------------------------------------------------*/
6 package org.xmlBlaster;
7
8
9 /**
10 * I_Main interface is a minimized interface to control Main.java.
11 * <p />
12 * It allows instantiating xmlBlaster in EmbeddedXmlBlaster with a specific classloader.
13 */
14 public interface I_Main
15 {
16 public void init(org.xmlBlaster.util.Global g);
17 public void init(java.util.Properties p);
18 /** Same as shutdown() but does additionally an engine.global.shutdown() */
19 public void destroy();
20 /** Release all resources */
21 public void shutdown();
22 public boolean isHalted();
23 public org.xmlBlaster.engine.ServerScope getGlobal();
24 }
syntax highlighted by Code2HTML, v. 0.9.1