psdi.iface.webservices

Class AxisWSDeployer

  • All Implemented Interfaces:
    ServerDeployer


    public class AxisWSDeployer
    extends BaseDeployer
    Manage deployment and undeployment of Web Services in Axis 2
    • Constructor Detail

      • AxisWSDeployer

        public AxisWSDeployer()
        Private Constructor
        Throws:
        MXException - MAXIMO exception
    • Method Detail

      • loadWebServices

        public void loadWebServices()
                             throws MXException,
                                    java.rmi.RemoteException
        Loads all Web Service information when chche refreshed
        Parameters:
        configContext - Configuration Context
        Throws:
        MXException - Maximo Exception
        AxisException - Axis Exception
        java.rmi.RemoteException
      • loadWebServices

        public void loadWebServices(org.apache.axis2.context.ConfigurationContext configContext)
                             throws MXException,
                                    java.rmi.RemoteException
        Loads all Web Service information
        Parameters:
        configContext - Configuration Context
        Throws:
        MXException - Maximo Exception
        AxisException - Axis Exception
        java.rmi.RemoteException
      • processWebService

        protected void processWebService(java.util.Vector allServices,
                                         boolean deploy)
                                  throws MXException,
                                         java.rmi.RemoteException
        Process Web Service for multiple services.
        Specified by:
        processWebService in class BaseDeployer
        Parameters:
        allServices - Vector of all selected MaxWSRegistry objects
        deploy - indicator if services need to be deployed or undeployed
        Throws:
        MXException - MAXIMO exception
        java.rmi.RemoteException - Remote exception
      • deployWebService

        public void deployWebService(WSRegistryInfo regInfo)
                              throws MXException
        Deploys Web Service
        Parameters:
        regInfo - information about Web Service from WSRegistry
        Throws:
        MXException - Maximo Exception
        AxisException - Axis Exception
      • undeployWebService

        public void undeployWebService(java.lang.String name)
                                throws MXException,
                                       java.rmi.RemoteException
        Undeploys Web Service
        Parameters:
        service - MaxWSRegistry object for a service
        Throws:
        MXException - Maximo Exception
        AxisException - Axis Exception
        java.rmi.RemoteException
      • isServiceExists

        public boolean isServiceExists(java.lang.String name)
                                throws MXException,
                                       java.rmi.RemoteException
        Is Web Service exists in AXIS
        Parameters:
        service - MaxWSRegistry object for a service
        Returns:
        if service exists - true otherwise false
        Throws:
        MXException - Maximo Exception
        AxisException - Axis Exception
        java.rmi.RemoteException
      • getAxis2Config

        public org.apache.axis2.engine.AxisConfiguration getAxis2Config()
                                                                 throws MXException
        Return AxisConfiguration object
        Returns:
        AxisConfiguration object
        Throws:
        MXException
      • getAxis2ConfigContext

        public org.apache.axis2.context.ConfigurationContext getAxis2ConfigContext()
                                                                            throws MXException
        Return ConfigurationContext object
        Returns:
        ConfigurationContext object
        Throws:
        MXException