Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
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.
public java.lang.Object[ ] getStartClassInstances( )
An array of start classes that were constructed at server start time, or an array of length zero if there are no start classes.
The 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. } }