Class XMLRPCServer

  • All Implemented Interfaces:
    com.softwareag.entirex.aci.MonitorInfoInterface, com.softwareag.entirex.aci.ServerMBean, com.softwareag.entirex.aci.ServerProperties

    public class XMLRPCServer
    extends com.softwareag.entirex.aci.Server
    XMLRPCServer extends com.softwareag.entirex.aci.Server.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String SERVER_IDENTIFICATION_NAME
      Identification name of XML RPC Server
      • Fields inherited from class com.softwareag.entirex.aci.Server

        activeServers, COMMUNICATION_MODE_ALL, COMMUNICATION_MODE_MESSAGE, COMMUNICATION_MODE_RELIABLE, STATE_ERROR, STATE_INIT, STATE_RETRY, STATE_RUNNING, STATE_SHUTDOWN
      • Fields inherited from interface com.softwareag.entirex.aci.ServerProperties

        BROKER_ID, CODE_PAGE, COMPRESS_LEVEL, CUSTOM_CLASS, ENCRYPT, ENCRYPT_LEVEL, FIXED_SERVERS, JMX_ENABLED, LOGFILE, MAX_SERVERS, MAXRESTARTCYCLES, MIN_SERVERS, MONITOR_PORT, MONITOR_REMOTE, NAME, PASSWORD, PASSWORD_ENCRYPT, PROPERTIES_FILE, SECURITY, SERVER_ADR, SERVERLOGFILE, TIMEOUT, TRACE, USER_ID, WAIT_ATTACH, WAIT_SERVER
    • Constructor Summary

      Constructors 
      Constructor Description
      XMLRPCServer()
      Constructor of XMLRPCServer
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void registerXMLRPCServerClass​(XMLRPCServerInterface xmlrpcserverclass)
      Register the implementation of XMLRPCServerInterface called
      if Java API for XML RPC Server is defined in configuration file.
      Method must be called before starting the server.
      To use implementation of XMLRPCServerInterface the configuration
      file must define
      <TargetServer name="xmlrpcServerClass">

      void start​(java.lang.String[] args)
      Starts the XML RPC Server with an implementation of XMLRPCServerInterface.
      • Methods inherited from class com.softwareag.entirex.aci.Server

        addShutDownHook, createCallHandler, createRpcHandler, createServer, getActiveServers, getAdditionalShutdownHandler, getAppMon, getArgusPort, getArgusTimeout, getBooleanProperty, getCommunicationModes, getIntProperty, getMaxServers, getMinServers, getMonitorInfo, getNumberBusyWorkers, getNumberWorkers, getProperties, getProperty, getPropertyFilename, getServerEnhancedInfo, getServerInfo, getServerName, getState, getTable, getTableNames, getTraceLevel, getWorkersHighWatermark, init, isArgusMonitoringEnabled, isLicenseCheckRequired, processProperties, remoteMonitoring, setAdditionalShutdownHandler, setBrokerImplFactory, setCommandlineParser, setEncoding, setPropertyFilename, setServerName, setState, setTrace, setTraceLevel, startServer, startServerWithoutWait, startServing, stop, stopServer, stopServing
      • Methods inherited from class java.lang.Object

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

      • SERVER_IDENTIFICATION_NAME

        public static final java.lang.String SERVER_IDENTIFICATION_NAME
        Identification name of XML RPC Server
        See Also:
        Constant Field Values
    • Constructor Detail

      • XMLRPCServer

        public XMLRPCServer()
        Constructor of XMLRPCServer
    • Method Detail

      • registerXMLRPCServerClass

        public void registerXMLRPCServerClass​(XMLRPCServerInterface xmlrpcserverclass)
        Register the implementation of XMLRPCServerInterface called
        if Java API for XML RPC Server is defined in configuration file.
        Method must be called before starting the server.
        To use implementation of XMLRPCServerInterface the configuration
        file must define
        <TargetServer name="xmlrpcServerClass">

        Parameters:
        xmlrpcserverclass - An implementation of XMLRPCServerInterface
      • start

        public void start​(java.lang.String[] args)
                   throws java.lang.Exception
        Starts the XML RPC Server with an implementation of XMLRPCServerInterface.
        Parameters:
        args - Command line arguments
        Throws:
        java.lang.Exception - on configuration errors and other critical errors.