Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.0 » MobiLink - Server Administration » MobiLink Server APIs » Writing synchronization scripts in Java » MobiLink server API for Java Reference » ServerContext interface

 

getStartClassInstances method

Syntax
public java.lang.Object[ ] getStartClassInstances( )

Gets an array of the start classes that were constructed at server start time. The array length is zero if there are no start classes.

Returns

An array of start classes that were constructed at server start time, or an array of length zero if there are no start classes.

Example

Following is an example that uses getStartClassInstances():

Object objs[] = sc.getStartClassInstances();
int i;
for( i=0; i < objs.length; i += 1 ) {
  if( objs[i] instanceof MyClass ) {
    // Use class.
  }
}
See also