这种模式中,一个对象(代理)处理对另一个对象(因为没有更好的名称,暂时称之为实际对象)的访问。
In this pattern, an object (the proxy) handles all access to another object (which, for lack of a better name, I'll call the real object).
这些编目描述了数据库对象,例如表、列和索引,并包含关于用户所拥有的访问这些对象的访问类型的信息。
The catalog describes the database objects, such as tables, columns, and indexes, and contains information about the types of access that users have to these objects.
我们可以在一个地方定义通用的方法,然后将它们混入跨越多个类类型的对象,同时限制对每个对象为基础的敏感方法的访问。
We can define generic methods in one place and mix them into our Objects across multiple Class types while limiting access to sensitive methods on a per Object basis.
另一种限制源自于这样一个事实:域对象可以通过由实体管理器所管理的域对象所在的层访问,也可以通过分离它的所有其他层访问。
Another restriction arises from the fact that the domain objects can be accessed both in the tier where they are managed by the entity manager and in all the other tiers where they are detached.
试图访问一个对象的用户必须被授予此对象的安全标签。
Users attempting to access an object must have its security label granted to them.
如果只是要查看一个对象,我们不需要做任何更多的工作,只需要让对象可访问;实际的显示将由模板来处理。
To simply view an object, we don't need to do any more work than have the object accessible; the actual displaying will be handled by the template.
复制收集的优点是只访问活跃的对象,这意味着不会检查垃圾对象,也不需要将它们页交换到内存中或者送到缓存中。
Copying collection has the advantage of only visiting live objects, which means garbage objects will not be examined, nor will they need to be paged into memory or brought into the cache.
它以一种面向对象的方式提供访问资产清单的对象和方法,并提供对资产已扩展元数据的完全控制。
It provides objects and methods for accessing the asset manifest in an object-oriented style and offers full control on the extended metadata of the assets.
此方法通常根据对象所属的分组来限制对对象的访问。
This method restricts access to objects based commonly on the groups to which they belong.
一个需要注意的重要方面是,树形查看器通过称为内容提供程序的适配器访问模型对象,并使用标签提供程序确定显示对象的方式。
One important aspect to note is that tree viewers access model objects through an adapter called a content provider and determine how the object should be visualized through a label provider.
我记得有一次,我们在谈持久化对象存储的事情,说来说去都是对象的序列化和访问机制。
I remember on one occasion, we were talking about building a persistent object store. It was all about object serialization and access mechanisms.
垃圾收集器的工作是发现应用程序不再需要的对象,并在这些对象不再被访问或引用时将它们删除。
The job of the garbage collector is to find objects that are no longer needed by an application and to remove them when they can no longer be accessed or referenced.
提取的元数据包括一些数据模型对象,例如项目类和它们的属性,还有一些管理对象,例如用户定义和访问控制列表。
The extracted metadata includes data model objects, such as item types and their attributes, and administration objects, such as user definitions and access control lists.
另外,发出所需的语句创建需要的对象,或者绑定包并向其他用户或组授予访问和使用这些对象的能力。
Also, issue the required statements to create the objects desired, or bind the package and grant the ability to access and use those objects to other users or groups.
顾名思义,DAO模式封装了访问一个对象或相关对象集中的数据的逻辑。
The DAO pattern, as its name implies, encapsulates logic for accessing data in an object or set of related objects.
一旦应用程序的数据访问部分已经完成,还应该关闭数据对象,以便释放与之关联的连接对象。
Data objects should also be closed once the data access part of your application is complete, so that the connection object associated with it is released too.
创建好所有必需的数据库对象和包之后,使用组成员关系和组特权来控制对所创建的数据库对象和包的访问。
Once all required database objects and packages are created, use group membership and group privileges to control access to the created database objects and packages.
例如,在范例程序中,会访问对象历史以在对象文本的左边创建不同颜色的条目。
In a sample application, for example, the object history is accessed to create different colored bars at the left side of the object text.
浏览器并没有将隐私对象与非隐私对象合理地分开,由此可导致经适当配置的站点能够追踪到那些处于隐私和非隐私对象之间的访问者。
Browsers did not properly isolate their private sessions from non-private ones, with the result that suitably crafted sites could trace visitors between private and non-private sessions.
换言之,NHRT能够访问的对象不能引用服从gc的对象。
In other words, NHRT-accessible objects can't refer to objects subject to GC.
系统中的另一个高层对象是用户对象,它允许为访问站点的用户设置帐号。
Another top-level object in the system is the user object, which allows you to set up accounts for different users coming to your site.
要访问以类的形式存储在数组中的内容库对象,对象必须转换为它自己的类。
To access the Content store object that is stored in the array as the class expected to be returned, the object must be cast to its actual class.
它还实例化一个DKUserMgmtICM对象,该对象将用于在代码中稍后的地方从CM访问与用户相关的管理信息。
It also instantiates a DKUserMgmtICM object, which will be used to access user-related management information from CM later in the code.
你可以通过使用对象模版的SetAccessCheckCallbacks方法设置对象的安全回调函数,以此来指定是否允许访问该对象。
You can specify whether access to an object should be allowed by setting the security callback on the object, using the SetAccessCheckCallbacks method on object templates.
但是,由于gencon策略在堆中放置对象的特定方式,该策略支持更快的对象分配和更快的对象访问。
However, because of how it lays out objects in the heap, the gencon policy enables much faster object allocation and faster object access.
SecurityUtils对象是一个singleton,这意味着不同的对象可以使用它来获得对当前用户的访问。
The SecurityUtils object is a singleton, which means that different objects can use it to gain access to the current user.
用户tom的主目录有执行权限,但是没有读权限,所以用户ian不能列出内容,但是如果知道对象存在,就可以访问目录下的对象。
User tom's home has execute but not read permission, so user ian cannot list the contents, but can access objects within the directory if he knows they exist.
为了设定代码执行的上下文,self变量要设置为执行代码时所在的对象实例,以使得代码可以访问对象实例的变量。
In order to set the context, the variable self is set to the instance while the code is executing, giving the code access to the instance's variables.
对于特定的BusinessInfo对象,可以访问ServiceInfo对象,该对象描述了它所提供的服务。
For a given BusinessInfo object, you can access the ServiceInfoobjects that describe the services it provides.
global声明让规则引擎知道,某个对象应该可以从规则中访问,但该对象不应是用于对规则条件求值的知识的一部分。
The global declaration lets the rules engine know that an object should be accessible from within your rules but that it should not be part of the knowledge used to evaluate the rules' conditions.
应用推荐