getBacklog()
Get the WebService listen queue backlog limit.
java.lang.String
getBindAddress()
Get the specific address the WebService listens on.t
boolean
getDownloadServerClasses()
A flag indicating if the server should attempt to download classes from
thread context class loader when a request arrives that does not have a
class loader key prefix.
java.lang.String
getHost()
Get the name of the public interface to use for the host portion of the
RMI codebase URL.
public java.net.URL addClassLoader(java.lang.ClassLoader cl)
removeClassLoader
public void removeClassLoader(java.lang.ClassLoader cl)
setPort
public void setPort(int port)
Set the WebService listening port.
Parameters:
part, - the listening port, 0 == Anonymous.
getPort
public int getPort()
Get the WebService listening port.
Returns:
the WebService listening port, 0 == Anonymous.
getHost
public java.lang.String getHost()
Get the name of the public interface to use for the host portion of the
RMI codebase URL.
setHost
public void setHost(java.lang.String host)
Set the name of the public interface to use for the host portion of the
RMI codebase URL.
getBindAddress
public java.lang.String getBindAddress()
Get the specific address the WebService listens on.t
Returns:
the interface name or IP address the WebService binds to.
setBindAddress
public void setBindAddress(java.lang.String host)
throws java.net.UnknownHostException
Set the specific address the WebService listens on. This can be used on
a multi-homed host for a ServerSocket that will only accept connect requests
to one of its addresses.
Parameters:
host, - the interface name or IP address to bind. If host is null,
connections on any/all local addresses will be allowed.
getBacklog
public int getBacklog()
Get the WebService listen queue backlog limit. The maximum queue length
for incoming connection indications (a request to connect) is set to the
backlog parameter. If a connection indication arrives when the queue is
full, the connection is refused.
Returns:
the queue backlog limit.
setBacklog
public void setBacklog(int backlog)
Set the WebService listen queue backlog limit. The maximum queue length
for incoming connection indications (a request to connect) is set to the
backlog parameter. If a connection indication arrives when the queue is
full, the connection is refused.
Parameters:
backlog, - the queue backlog limit.
getDownloadServerClasses
public boolean getDownloadServerClasses()
A flag indicating if the server should attempt to download classes from
thread context class loader when a request arrives that does not have a
class loader key prefix.
setDownloadServerClasses
public void setDownloadServerClasses(boolean flag)