Interface Server<T extends Remote,​A extends Remote>

  • Type Parameters:
    T - the type of remote interface this server supplies to clients
    A - the type of the admin interface this server supplies
    All Superinterfaces:
    Remote
    All Known Implementing Classes:
    AbstractServer, DefaultEntityConnectionServer

    public interface Server<T extends Remote,​A extends Remote>
    extends Remote
    A server for serving remote interfaces
    • Field Detail

      • DEFAULT_SERVER_CONNECTION_TIMEOUT

        static final int DEFAULT_SERVER_CONNECTION_TIMEOUT
        See Also:
        Constant Field Values
      • JAVAX_NET_KEYSTORE

        static final String JAVAX_NET_KEYSTORE
        The system property key for specifying a ssl keystore
        See Also:
        Constant Field Values
      • JAVAX_NET_KEYSTORE_PASSWORD

        static final String JAVAX_NET_KEYSTORE_PASSWORD
        The system property key for specifying a ssl keystore password
        See Also:
        Constant Field Values
      • JAVAX_NET_TRUSTSTORE

        static final String JAVAX_NET_TRUSTSTORE
        The system property key for specifying a ssl truststore
        See Also:
        Constant Field Values
      • JAVAX_NET_TRUSTSTORE_PASSWORD

        static final String JAVAX_NET_TRUSTSTORE_PASSWORD
        The system property key for specifying a ssl truststore password
        See Also:
        Constant Field Values
      • SERVER_HOST_NAME

        static final PropertyValue<String> SERVER_HOST_NAME
        The host on which to locate the server
        Value type: String
        Default value: localhost
      • RMI_SERVER_HOSTNAME

        static final PropertyValue<String> RMI_SERVER_HOSTNAME
        Specifies the rmi server hostname
        Note that this is the standard Java property 'java.rmi.server.hostname'
        Value type: String
        Default value: localhost
      • SERVER_NAME_PREFIX

        static final PropertyValue<String> SERVER_NAME_PREFIX
        Specifies the prefix used when exporting/looking up the JMinor server
        Value type: String
        Default value: JMinor Server
      • SERVER_PORT

        static final PropertyValue<Integer> SERVER_PORT
        The port on which the server is made available to clients.
        If specified on the client side, the client will only connect to a server running on this port, use -1 or no value if the client should connect to any available server
        Value type: Integer
        Default value: none
      • REGISTRY_PORT

        static final PropertyValue<Integer> REGISTRY_PORT
        The port on which to locate the server registry
        Value type: Integer
        Default value: Registry.REGISTRY_PORT (1099)
      • KEYSTORE

        static final PropertyValue<String> KEYSTORE
        The rmi ssl keystore to use
        Value type: String Default value: null
      • KEYSTORE_PASSWORD

        static final PropertyValue<String> KEYSTORE_PASSWORD
        The rmi ssl keystore password to use
        Value type: String Default value: null
      • TRUSTSTORE

        static final PropertyValue<String> TRUSTSTORE
        The rmi ssl truststore to use
        Value type: String Default value: null
      • TRUSTSTORE_PASSWORD

        static final PropertyValue<String> TRUSTSTORE_PASSWORD
        The rmi ssl truststore password to use
        Value type: String Default value: null
      • SERVER_ADMIN_PORT

        static final PropertyValue<Integer> SERVER_ADMIN_PORT
        The port on which the server should export the remote admin interface
        Value type: Integer
        Default value: none
      • SERVER_ADMIN_USER

        static final PropertyValue<String> SERVER_ADMIN_USER
        Specifies a username:password combination representing the server admin user
        Example: scott:tiger
      • SERVER_CONNECTION_SSL_ENABLED

        static final PropertyValue<Boolean> SERVER_CONNECTION_SSL_ENABLED
        Specifies whether the server should establish connections using a secure sockets layer, true (on) or false (off)
        Value type: Boolean
        Default value: true
      • SERVER_CONNECTION_TIMEOUT

        static final PropertyValue<Integer> SERVER_CONNECTION_TIMEOUT
        Specifies a specific connection timeout for different client types Value type: Integer
        Default value: 120000ms (2 minutes)