Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
サーバー起動時に構築された起動クラスの配列を取得します。
Object[] ServerContext.getStartClassInstances()
サーバー起動時に構築された起動クラスの配列。起動クラスがない場合は、長さが 0 の配列。
詳細については、ユーザー定義起動クラスを参照してください。
次の例は、getStartClassInstances メソッドの使用方法を示します。
Object objs[] = sc.getStartClassInstances(); int i; for (i=0; i < objs.length; i += 1) { if (objs[i] instanceof MyClass) { // Use class. } }