Package com.iizix.ws.engine
Class WebServiceEngineInstance
- java.lang.Object
- com.iizix.ws.engine.WebServiceEngineInstance
 
- public class WebServiceEngineInstance extends java.lang.ObjectThe class used to hold the Web Service engine instance.- Author:
- Christopher Mindus
 
- Constructor Summary- Constructors - Constructor - Description - WebServiceEngineInstance()
 - Method Summary- All Methods Static Methods Concrete Methods - Modifier and Type - Method - Description - static IWebServiceEngine- getInstance()Gets the Web Service engine.- static void- setInstance(IWebServiceEngine engine)Sets the Web Service engine.
 
- Method Detail- setInstance- public static void setInstance(IWebServiceEngine engine) Sets the Web Service engine. This can only be done once, and is intended to be done from the Server or the Designer. Do not attempt to set it.- Parameters:
- engine- The web service engine.
- Throws:
- java.lang.IllegalStateException- If it is already set.
 
 - getInstance- public static IWebServiceEngine getInstance() Gets the Web Service engine.- Returns:
- The Web Service engine instance, null if not registered by the Server or the Designer.