Figure 6 shows the cache instance properties.
图6展示了缓存实例的属性。
postMixInProperties: This method is called after all the widget parameters have been set (mixed in) as widget instance properties.
postMixInProperties:这个方法会在所有小部件参数均被设置(混合入)为小部件实例属性后调用。
We can test and unset individual instance properties of the contact. For example, if the user cleared the string in the interface, we could use this to signify unsetting.
我们可以测试和取消设置联系人的个别实例属性。
For details about the mechanism for supplying arguments to the constructor (if required) and setting object instance properties after the object is constructed, see Injecting Dependencies.
更多关于为构造函数提供参数(如果有必要的话)的机制和构造对象之后设置对象实例属性的细节,请看”依赖注入”。
Its constructor takes two arguments: initialization properties and a pre-configured logger instance. Properties object contains the following.
其构造函数含有两个参数:初始化属性和预配置的记录器(logger)实例。
For instance, properties are assigned by one-dimensional arrays, predicates of arity 2 by two-dimensional arrays, and so on.
例如,性质用一维数组赋值,2元谓词用2维数组赋值,等等。
The method registerService(class,instance,properties) on the BundleContext class allows us to define a service for later use, and is typically called during the bundle's start() call.
BundleContext类的registerService(class,instance,properties)方法可以让我们定义一个服务以供后用,该方法通常在bundle的start()调用期间被调用。
The method registerService(class,instance,properties) on the BundleContext class allows us to define a service for later use, and is typically called during the bundle's start() call.
BundleContext类的registerService(class,instance,properties)方法可以让我们定义一个服务以供后用,该方法通常在bundle的start()调用期间被调用。
应用推荐