Class ScriptDeploymentEngine

  • All Implemented Interfaces:
    DeploymentConstants

    public class ScriptDeploymentEngine
    extends DeploymentEngine
    An Axis2 DeploymentEngine subclass for deploying script services supporting hot deploy and hot update.
    • Constructor Detail

      • ScriptDeploymentEngine

        public ScriptDeploymentEngine​(AxisConfiguration realAxisConfig)
    • Method Detail

      • getScriptForWSDL

        protected File getScriptForWSDL​(File wsdlFile)
        Gets the script associated with the wsdl. The associated script is the file with the same name as the wsdl file excluding the file suffix, for example, stockquote.js and stockquote.wsdl.
      • getWSDLForScript

        protected File getWSDLForScript​(File scriptFile)
        Gets the WSDL associated with the script. The associated WSDL is the file with the same name as the script file excluding the file suffix, for example, stockquote.js and stockquote.wsdl.
      • createService

        protected AxisService createService​(File wsdlFile,
                                            File scriptFile)
        Creates an Axis2 service for the script
      • readScriptSource

        protected String readScriptSource​(File scriptFile)
                                   throws AxisFault
        Reads the complete script source code into a String
        Throws:
        AxisFault