Package com.iizix.ws.engine
Class WebServiceEngineInstance
java.lang.Object
com.iizix.ws.engine.WebServiceEngineInstance
The class used to hold the Web Service engine instance.
- Author:
- Christopher Mindus
Constructor Summary
Method Summary
Modifier and TypeMethodDescriptionstatic IWebServiceEngine
Gets the Web Service engine.static void
setInstance
(IWebServiceEngine engine) Sets the Web Service engine.
Constructor Details
WebServiceEngineInstance
public WebServiceEngineInstance()
Method Details
setInstance
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:
IllegalStateException
- If it is already set.
getInstance
Gets the Web Service engine.- Returns:
- The Web Service engine instance, null if not registered by the Server or the Designer.