Class MeridioWrapper.ResourceProvider

  • All Implemented Interfaces:
    org.apache.axis.EngineConfiguration, org.apache.axis.WSDDEngineConfiguration
    Enclosing class:
    MeridioWrapper

    protected static class MeridioWrapper.ResourceProvider
    extends java.lang.Object
    implements org.apache.axis.WSDDEngineConfiguration
    Implementation of EngineConfiguration that we'll use to get the wsdd file from a local resource.
    • Field Summary

      • Fields inherited from interface org.apache.axis.EngineConfiguration

        PROPERTY_NAME
    • Constructor Summary

      Constructors 
      Constructor Description
      ResourceProvider​(java.lang.Class resourceClass, java.lang.String resourceName)
      Constructor setting the resource name.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void configureEngine​(org.apache.axis.AxisEngine engine)  
      java.util.Iterator getDeployedServices()
      Get an enumeration of the services deployed to this engine
      org.apache.axis.deployment.wsdd.WSDDDeployment getDeployment()  
      java.util.Hashtable getGlobalOptions()
      Returns the global configuration options.
      org.apache.axis.Handler getGlobalRequest()
      Returns a global request handler.
      org.apache.axis.Handler getGlobalResponse()
      Returns a global response handler.
      org.apache.axis.Handler getHandler​(javax.xml.namespace.QName qname)
      retrieve an instance of the named handler
      java.util.List getRoles()
      Get a list of roles that this engine plays globally.
      org.apache.axis.handlers.soap.SOAPService getService​(javax.xml.namespace.QName qname)
      retrieve an instance of the named service
      org.apache.axis.handlers.soap.SOAPService getServiceByNamespaceURI​(java.lang.String namespace)
      Get a service which has been mapped to a particular namespace
      org.apache.axis.Handler getTransport​(javax.xml.namespace.QName qname)
      retrieve an instance of the named transport
      org.apache.axis.encoding.TypeMappingRegistry getTypeMappingRegistry()  
      void writeEngineConfig​(org.apache.axis.AxisEngine engine)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ResourceProvider

        public ResourceProvider​(java.lang.Class resourceClass,
                                java.lang.String resourceName)
        Constructor setting the resource name.
    • Method Detail

      • getDeployment

        public org.apache.axis.deployment.wsdd.WSDDDeployment getDeployment()
        Specified by:
        getDeployment in interface org.apache.axis.WSDDEngineConfiguration
      • configureEngine

        public void configureEngine​(org.apache.axis.AxisEngine engine)
                             throws org.apache.axis.ConfigurationException
        Specified by:
        configureEngine in interface org.apache.axis.EngineConfiguration
        Throws:
        org.apache.axis.ConfigurationException
      • writeEngineConfig

        public void writeEngineConfig​(org.apache.axis.AxisEngine engine)
                               throws org.apache.axis.ConfigurationException
        Specified by:
        writeEngineConfig in interface org.apache.axis.EngineConfiguration
        Throws:
        org.apache.axis.ConfigurationException
      • getHandler

        public org.apache.axis.Handler getHandler​(javax.xml.namespace.QName qname)
                                           throws org.apache.axis.ConfigurationException
        retrieve an instance of the named handler
        Specified by:
        getHandler in interface org.apache.axis.EngineConfiguration
        Parameters:
        qname - XXX
        Returns:
        XXX
        Throws:
        org.apache.axis.ConfigurationException - XXX
      • getService

        public org.apache.axis.handlers.soap.SOAPService getService​(javax.xml.namespace.QName qname)
                                                             throws org.apache.axis.ConfigurationException
        retrieve an instance of the named service
        Specified by:
        getService in interface org.apache.axis.EngineConfiguration
        Parameters:
        qname - XXX
        Returns:
        XXX
        Throws:
        org.apache.axis.ConfigurationException - XXX
      • getServiceByNamespaceURI

        public org.apache.axis.handlers.soap.SOAPService getServiceByNamespaceURI​(java.lang.String namespace)
                                                                           throws org.apache.axis.ConfigurationException
        Get a service which has been mapped to a particular namespace
        Specified by:
        getServiceByNamespaceURI in interface org.apache.axis.EngineConfiguration
        Parameters:
        namespace - a namespace URI
        Returns:
        an instance of the appropriate Service, or null
        Throws:
        org.apache.axis.ConfigurationException
      • getTransport

        public org.apache.axis.Handler getTransport​(javax.xml.namespace.QName qname)
                                             throws org.apache.axis.ConfigurationException
        retrieve an instance of the named transport
        Specified by:
        getTransport in interface org.apache.axis.EngineConfiguration
        Parameters:
        qname - XXX
        Returns:
        XXX
        Throws:
        org.apache.axis.ConfigurationException - XXX
      • getTypeMappingRegistry

        public org.apache.axis.encoding.TypeMappingRegistry getTypeMappingRegistry()
                                                                            throws org.apache.axis.ConfigurationException
        Specified by:
        getTypeMappingRegistry in interface org.apache.axis.EngineConfiguration
        Throws:
        org.apache.axis.ConfigurationException
      • getGlobalRequest

        public org.apache.axis.Handler getGlobalRequest()
                                                 throws org.apache.axis.ConfigurationException
        Returns a global request handler.
        Specified by:
        getGlobalRequest in interface org.apache.axis.EngineConfiguration
        Throws:
        org.apache.axis.ConfigurationException
      • getGlobalResponse

        public org.apache.axis.Handler getGlobalResponse()
                                                  throws org.apache.axis.ConfigurationException
        Returns a global response handler.
        Specified by:
        getGlobalResponse in interface org.apache.axis.EngineConfiguration
        Throws:
        org.apache.axis.ConfigurationException
      • getGlobalOptions

        public java.util.Hashtable getGlobalOptions()
                                             throws org.apache.axis.ConfigurationException
        Returns the global configuration options.
        Specified by:
        getGlobalOptions in interface org.apache.axis.EngineConfiguration
        Throws:
        org.apache.axis.ConfigurationException
      • getDeployedServices

        public java.util.Iterator getDeployedServices()
                                               throws org.apache.axis.ConfigurationException
        Get an enumeration of the services deployed to this engine
        Specified by:
        getDeployedServices in interface org.apache.axis.EngineConfiguration
        Throws:
        org.apache.axis.ConfigurationException
      • getRoles

        public java.util.List getRoles()
        Get a list of roles that this engine plays globally. Services within the engine configuration may also add additional roles.
        Specified by:
        getRoles in interface org.apache.axis.EngineConfiguration
        Returns:
        a List of the roles for this engine