Class WebServiceEngineInstance


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

      • WebServiceEngineInstance

        public WebServiceEngineInstance()
    • 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.