public class SystemProperties
extends java.lang.Object
Note: This class is reserved for internal use within the Toolbox, and is subject to change without notice.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
AS400_GUI_AVAILABLE
Specifies whether GUI support is available in the current execution environment.
|
static java.lang.String |
AS400_MUST_ADD_LANGUAGE_LIBRARY
Specifies whether the
AS400 class should attempt to add the appropriate secondary language library to the library list. |
static java.lang.String |
AS400_MUST_USE_NET_SOCKETS
Specifies whether only Internet domain sockets must be used when communicating with the system.
|
static java.lang.String |
AS400_MUST_USE_SOCKETS
Specifies whether sockets must be used when communicating with the system.
|
static java.lang.String |
AS400_MUST_USE_SUPPLIED_PROFILE
Specifies whether the explicitly supplied profile must be used when communicating with the system.
|
static java.lang.String |
AS400_PROXY_SERVER
Specifies the proxy server host name and port number.
|
static java.lang.String |
AS400_SIGNON_HANDLER
Specifies the name of the default signon handler class used by the
AS400 class. |
static java.lang.String |
AS400_THREAD_USED
Specifies whether threads are used when communicating with the host servers.
|
static java.lang.String |
COMMANDCALL_THREADSAFE
Specifies whether the
CommandCall class should assume that called commands are threadsafe. |
static java.lang.String |
CONNECTIONPOOL_PRETEST
Specifies whether pooled connections are to be pretested before being allocated to a requester by the connection pool manager.
|
static java.lang.String |
FALLBACK_CCSID
Specifies the fallback CCSID to use in cases where a text data field with CCSID 65535 is encountered and must be converted.
|
static java.lang.String |
FTP_REUSE_SOCKET
Specifies whether the socket is reused for multiple file transfers when in "active" mode.
|
static java.lang.String |
LIST_WAIT_TIMEOUT
Specifies the maximum number of seconds to wait for an object list to be built, before timing out.
|
static java.lang.String |
PROGRAMCALL_THREADSAFE
Specifies whether the
ProgramCall class should assume that called programs are threadsafe. |
static java.lang.String |
THROW_SAX_EXCEPTION_IF_PARSE_ERROR
Specifies the behavior of the
ProgramCallDocument in the event that XML parsing errors occur. |
static java.lang.String |
TRACE_CATEGORY
Specifies which trace categories to enable.
|
static java.lang.String |
TRACE_FILE
Specifies the file to which the
Trace class writes output. |
static java.lang.String |
TRACE_JDBC_SERVER
Specifies which trace categories to start on the JDBC server job.
|
static java.lang.String |
TRACE_SHOW_CHARS
Specifies whether trace should also display the characters associated with the trace information.
|
static java.lang.String |
TUNNELPROXYSERVER_CLIENTCLEANUPINTERVAL
Specifies how often, in seconds, the proxy server looks for idle connections.
|
static java.lang.String |
TUNNELPROXYSERVER_CLIENTLIFETIME
Specifies how long, in seconds, a client can be idle before the proxy
server removes references to the objects.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getProperty(java.lang.String propertyName) |
public static final java.lang.String AS400_GUI_AVAILABLE
AS400
class may prompt during sign-on to display error conditions, to obtain additional signon information, or to change the password.
If set to false, then connection error conditions or missing information will result in exceptions.
AS400.setGuiAvailable()
public static final java.lang.String AS400_PROXY_SERVER
AS400.setProxyServer()
public static final java.lang.String AS400_SIGNON_HANDLER
AS400
class.
AS400.setSignonHandler()
and AS400.setDefaultSignonHandler()
public static final java.lang.String AS400_MUST_ADD_LANGUAGE_LIBRARY
AS400
class should attempt to add the appropriate secondary language library to the library list.
This property is ignored if not running on the IBM i system.
AS400.setMustAddLanguageLibrary()
public static final java.lang.String AS400_MUST_USE_SOCKETS
AS400.setMustUseSockets()
public static final java.lang.String AS400_MUST_USE_NET_SOCKETS
AS400.setMustUseNetSockets()
public static final java.lang.String AS400_MUST_USE_SUPPLIED_PROFILE
AS400.setMustUseSuppliedProfile()
public static final java.lang.String AS400_THREAD_USED
AS400.setThreadUsed()
public static final java.lang.String TRACE_CATEGORY
Trace
class for complete list.)
Trace
class.
public static final java.lang.String TRACE_SHOW_CHARS
public static final java.lang.String TRACE_FILE
Trace
class writes output.
System.out
.
public static final java.lang.String TRACE_JDBC_SERVER
AS400JDBCDriver
. Follow the link labeled "JDBC properties", and search for the "server trace" property.
AS400JDBCDriver
public static final java.lang.String COMMANDCALL_THREADSAFE
CommandCall
class should assume that called commands are threadsafe.
If true, all called commands are assumed to be threadsafe.
If false, all called commands are assumed to be non-threadsafe.
CommandCall.setThreadSafe()
public static final java.lang.String PROGRAMCALL_THREADSAFE
ProgramCall
class should assume that called programs are threadsafe.
If true, all called programs are assumed to be thread-safe.
If false, all called programs are assumed to be non-thread-safe.
ProgramCall.setThreadSafe()
public static final java.lang.String TUNNELPROXYSERVER_CLIENTCLEANUPINTERVAL
public static final java.lang.String TUNNELPROXYSERVER_CLIENTLIFETIME
public static final java.lang.String FTP_REUSE_SOCKET
FTP
and AS400FTP
.
If true, the socket is reused.
If false, a new socket is created for each file transfer.
This property is ignored for a given FTP object if FTP.setReuseSocket(true/false) has
been performed on the object.
FTP.setReuseSocket()
public static final java.lang.String FALLBACK_CCSID
AS400Text
to make a "best guess" on the CCSID, based on the default locale.
This option overrides the best guess with a specific CCSID value.
This is useful where the Locale of a client system is different from that of the IBM i system.
public static final java.lang.String CONNECTIONPOOL_PRETEST
ConnectionPool.setPretestConnections()
public static final java.lang.String THROW_SAX_EXCEPTION_IF_PARSE_ERROR
ProgramCallDocument
in the event that XML parsing errors occur.
By default, the ProgramCallDocument object simply traces any parse errors. The trace category is PCML
. Setting this property to true directs the Toolbox to also throw a SAXException in the event of a parsing error.
public static final java.lang.String LIST_WAIT_TIMEOUT
JobList.load()
) call list-building APIs (such as QGYOLJOB) that build object lists remotely on the IBM i system. If the number of objects being listed is extremely large, the building of the list may take longer than anticipated.