Class WebServiceEngineInstance

java.lang.Object
com.iizix.ws.engine.WebServiceEngineInstance

public class WebServiceEngineInstance extends Object
The class used to hold the Web Service engine instance.
Author:
Christopher Mindus
  • Constructor Details

    • WebServiceEngineInstance

      public WebServiceEngineInstance()
  • Method Details

    • 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:
      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.