The above code revisits the AppContext configuration class.
上面的代码重新访问了 AppContext配置类。
The AppContext class now represents configuration class just like the XML.
appcontext类现在就像XML一样表示配置类。
The context configuration location now points to the AppContext configuration class.
上下文配置位置现在指向AppContext配置类。
It tells the Spring container that this is a configuration class having bean definitions and dependencies.
它告知spring容器这个类是一个拥有bean定义和依赖项的配置类。
This pattern is ideal for the configuration class because there should only be one configuration object for the application.
这种模式对于configuration类是十分理想的,因为应用程序应当仅有一个配置对象。
The configuration class can change how it stores and reads configuration items without worrying about its descendant classes.
configuration类可以更改存储和读取配置项的方法而不需要考虑它的子类。
The Permissions configuration class functions as a container for static enum types that configure the permissions in a particular application using EAz.
Permissions配置类可用作在特定的应用程序中使用Eaz配置权限的静态Enum类型的容器。
Before diving into code in the next article in this series, let's take a look at the structures of the PermissionSet interface and the configuration class Permissions.
在深入研究本系列文章中下一篇文章中的代码之前,让我们先分析一下PermissionSet接口的结构和配置类Permissions。
To do that, I create my own Configuration class, as shown below.
为此,我创建了自己的configuration类,如下所示。
The Configuration class is simply a base class — an abstract class.
configuration类只是一个基类——一个抽象类。
Listing 8 shows how to extend the Configuration class to implement the Iterator interface, which is internal to PHP.
清单8显示了如何扩展configuration类来实现Iterator接口,对于php来说,该接口是内部接口。
Notice that the values from the Configuration fields are integers that are matched to specific constants from the Configuration class.
请注意,配置字段的值是一些匹配Configuration类里特定的常量的整数。
Notice that the values from the Configuration fields are integers that are matched to specific constants from the Configuration class.
请注意,配置字段的值是一些匹配Configuration类里特定的常量的整数。
应用推荐