An instantiation of all the context that is present for the duration of the MobiLink server.
public interface ServerContext
All members of ServerContext interface, including all inherited members.
Name | Description |
---|---|
Adds the specified LogListener object to receive a notification when an error is printed. | |
Adds the specified LogListener object from the list of Listener objects to receive a notification when info is printed. | |
Adds the specified ShutdownListener object that is to receive notification before the server context is destroyed. | |
Adds the specified LogListener object to receive a notification when a warning is printed. | |
Returns the set of properties associated with a given component and property set. | |
Returns the set of properties associated with the script version. | |
Returns the list of property set names for a given component. | |
Gets an array of the start classes that were constructed at server start time. | |
Opens and returns a new server connection. | |
Removes the specified LogListener object from the list of Listener objects that receive notifications when an error is printed. | |
Removes the specified LogListener object from the list of Listener objects that receive notifications when info is printed. | |
Removes the specified ShutdownListener object from the list of Listener objects that receive notifications before this ServerContext is destroyed. | |
Removes the specified LogListener object from the list of Listener objects that receive notifications when a warning is printed. | |
Forces the server to shut down. |
This context can be held as static data and used in a background thread. It is valid for the duration of the Java VM invoked by MobiLink.
To access a ServerContext instance, use the DBConnectionContext.getServerContext method.
addErrorListener method
addInfoListener method
addShutdownListener method
addWarningListener method
getProperties method
getPropertiesByVersion method
getPropertySetNames method
getStartClassInstances method
makeConnection method
removeErrorListener method
removeInfoListener method
removeShutdownListener method
removeWarningListener method
shutdown method
Discuss this page in DocCommentXchange.
|
Copyright © 2012, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.1 |