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

SQL Anywhere 10.0.1 » MobiLink - Server Administration » Writing Synchronization Scripts in Java » MobiLink server API for Java Reference » ServerContext interface

shutdown method Next Page

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