Class AbstractApiJsonServiceExporter

    • Field Summary

      • Fields inherited from class org.springframework.remoting.support.RemotingSupport

        logger
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void afterPropertiesSet()  
      protected void establishService​(java.lang.Class<? extends IRpcService> serviceInterface, IRpcService service, java.lang.String serviceName, java.lang.String serviceURL)
      Establishes the specified service which implements the specified interface.
      protected org.springframework.context.ApplicationContext getApplicationContext()  
      protected com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()  
      void setAllowExtraParams​(boolean arg0)  
      void setAllowLessParams​(boolean arg0)  
      void setApplicationContext​(org.springframework.context.ApplicationContext arg0)  
      void setBackwardsCompatible​(boolean arg0)  
      void setContentType​(java.lang.String arg0)  
      void setConvertedParameterTransformer​(com.googlecode.jsonrpc4j.ConvertedParameterTransformer arg0)  
      void setErrorResolver​(com.googlecode.jsonrpc4j.ErrorResolver arg0)  
      void setHttpStatusCodeProvider​(com.googlecode.jsonrpc4j.HttpStatusCodeProvider arg0)  
      void setInterceptorList​(java.util.List<com.googlecode.jsonrpc4j.JsonRpcInterceptor> arg0)  
      void setInvocationListener​(com.googlecode.jsonrpc4j.InvocationListener arg0)  
      void setObjectMapper​(com.fasterxml.jackson.databind.ObjectMapper arg0)  
      void setRethrowExceptions​(boolean arg0)  
      void setShouldLogInvocationErrors​(boolean arg0)  
      • Methods inherited from class com.googlecode.jsonrpc4j.spring.JsonServiceExporter

        exportService, handleRequest
      • Methods inherited from class org.springframework.remoting.support.RemoteExporter

        checkService, checkServiceInterface, getExporterName, getProxyForService, getService, getServiceInterface, setInterceptors, setRegisterTraceInterceptor, setService, setServiceInterface
      • Methods inherited from class org.springframework.remoting.support.RemotingSupport

        getBeanClassLoader, overrideThreadContextClassLoader, resetThreadContextClassLoader, setBeanClassLoader
      • Methods inherited from class java.lang.Object

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

      • AbstractApiJsonServiceExporter

        public AbstractApiJsonServiceExporter()
    • Method Detail

      • establishService

        protected void establishService​(java.lang.Class<? extends IRpcService> serviceInterface,
                                        IRpcService service,
                                        java.lang.String serviceName,
                                        java.lang.String serviceURL)
        Establishes the specified service which implements the specified interface. The service will register at the name server under the specified name. It will accessible via HTTP by the specified service URL.
      • afterPropertiesSet

        public void afterPropertiesSet()
                                throws java.lang.Exception
        Specified by:
        afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
        Throws:
        java.lang.Exception
      • getObjectMapper

        protected com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
      • setObjectMapper

        public void setObjectMapper​(com.fasterxml.jackson.databind.ObjectMapper arg0)
      • getApplicationContext

        protected org.springframework.context.ApplicationContext getApplicationContext()
      • setApplicationContext

        public void setApplicationContext​(org.springframework.context.ApplicationContext arg0)
        Specified by:
        setApplicationContext in interface org.springframework.context.ApplicationContextAware
      • setErrorResolver

        public void setErrorResolver​(com.googlecode.jsonrpc4j.ErrorResolver arg0)
      • setBackwardsCompatible

        public void setBackwardsCompatible​(boolean arg0)
      • setRethrowExceptions

        public void setRethrowExceptions​(boolean arg0)
      • setAllowExtraParams

        public void setAllowExtraParams​(boolean arg0)
      • setAllowLessParams

        public void setAllowLessParams​(boolean arg0)
      • setInvocationListener

        public void setInvocationListener​(com.googlecode.jsonrpc4j.InvocationListener arg0)
      • setHttpStatusCodeProvider

        public void setHttpStatusCodeProvider​(com.googlecode.jsonrpc4j.HttpStatusCodeProvider arg0)
      • setConvertedParameterTransformer

        public void setConvertedParameterTransformer​(com.googlecode.jsonrpc4j.ConvertedParameterTransformer arg0)
      • setShouldLogInvocationErrors

        public void setShouldLogInvocationErrors​(boolean arg0)
      • setContentType

        public void setContentType​(java.lang.String arg0)
      • setInterceptorList

        public void setInterceptorList​(java.util.List<com.googlecode.jsonrpc4j.JsonRpcInterceptor> arg0)