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

SQL Anywhere 11.0.1 (日本語) » Mobile Link - サーバ管理 » Mobile Link サーバ API » Java による同期スクリプトの作成 » Java 用 Mobile Link サーバ API リファレンス » ServerContext インタフェース

 

getProperties メソッド

構文
public java.util.Properties getProperties(
   java.lang.String component,
   java.lang.String set )
備考

指定されたコンポーネントとプロパティ・セットに関連する一連のプロパティを返します。これらのプロパティは、Mobile Link システム・テーブル ml_property に格納されます。

パラメータ
  • component   コンポーネント

  • set   プロパティ・セット

戻り値

一連のプロパティ。空の場合があります。

参照

次のコードは、ServerContext のすべてのプロパティをリストします。

import java.util.*;
// ServerContext serverContext;
// PrintStream out
Properties prop = serverContext.getProperties();
prop.list(out);