接口 Configurable
-
public interface Configurable已过时。As of 1.2. Please use Configuration Admin service.Supports a configuration object.Configurableis an interface that should be used by a bundle developer in support of a configurable service. Bundles that need to configure a service may test to determine if the service object is aninstanceof Configurable.- 作者:
- $Id: dce95833dd076e870099385a306989959a84aafd $
-
-
方法概要
所有方法 实例方法 抽象方法 已过时的方法 修饰符和类型 方法 说明 java.lang.ObjectgetConfigurationObject()已过时。As of 1.2.
-
-
-
方法详细资料
-
getConfigurationObject
java.lang.Object getConfigurationObject()
已过时。As of 1.2. Please use Configuration Admin service.Returns this service's configuration object.Services implementing
Configurableshould take care when returning a service configuration object since this object is probably sensitive.If the Java Runtime Environment supports permissions, it is recommended that the caller is checked for some appropriate permission before returning the configuration object.
- 返回:
- The configuration object for this service.
- 抛出:
java.lang.SecurityException- If the caller does not have an appropriate permission and the Java Runtime Environment supports permissions.
-
-