這個特性會啟用「Java 命名和目錄介面 (JNDI)」來存取 DataSource 或 JMS Connection Factory 之類的伺服器配置資源。另外,它也容許以 jndiEntry 的方式來存取伺服器中所配置的 Java 初始類型。
如果要啟用 Java Naming and Directory Interface 特性,請在您 server.xml 檔中的 featureManager 元素內,新增下列元素宣告:
<feature>jndi-1.0</feature>
如果您正在開發的特性相依於 Java Naming and Directory Interface 特性,請在您新特性的特性資訊清單檔中,將下列項目包含在 Subsystem-Content 標頭內:
com.ibm.websphere.appserver.jndi-1.0; type="osgi.subsystem.feature"