RACF matches strictly on the resource name.
RACF根据资源名进行严格的匹配。
Use a Uniform Resource Name (URN -- see Resources) rather than a URL.
使用统一资源名(URN——参见参考资料)而不是 URL。
If you have not modified the resource name used in this example, no change is needed.
如果您没有修改本实例中使用的资源名称,那么无需进行任何修改。
A Uniform resource name (URN) is a URI that identifies a resource by name in a particular namespace.
统一资源名称(urn)也是一种URI,根据特定名称空间中的名称来标识资源。
We care that the server resource name is correct and that the second argument is a callback function.
我们关心服务器资源名称是正确的,并且第二个参数是一个回调函数。
That way, no two components would use the same resource name, and so no name could become overloaded.
通过那个方法,没有两个组件使用相同的资源名,因此就没有名称被重载。
The href attribute is the resource name, resolved according to the base URI of the extension element.
hre f属性是一个资源名,它是根据扩展元素的基uri进行解析的。
The same resource name in two different components actually maps to two different container resources.
在两个不同的组件中相同的资源名实际上是映射到两个不同的容器资源。
The String argument is the resource name that you want to determine whether the user is authorized to use.
String参数是资源名,您可以决定是否授权用户使用它。
It is still a good idea for components which expect to use the same resource to share the same resource name.
希望为组件使用相同的资源,共享相同的资源名仍是一个好主意。
Binding each component's resource name to the container's resource name is part of the J2EE 1.3 specification.
将每个组件的资源名绑定到容器的资源名是J2EE 1.3规范的一部分。
When multiple component types plan on using the same resource, it's easier for them to all use the same resource name.
当不同组件类型计划使用相同的资源时,这可以使得它们轻易的使用相同的资源名。
This means that if multiple components use the same resource name, that name could become overloaded at deployment time.
这意味着如果多个组件使用相同资源名的话,这个名称在部署时期就会被重载。
A service locator that caches references will cause a J2EE 1.3 (and later) application with an overloaded resource name to work incorrectly.
缓存引用的服务定位器将导致J2EE 1.3(以及以后版本)中有重载资源名的应用程序工作不正常。
We have seen that an overloaded resource name and the typical service locator implementation, a singleton with a resource cache, do not get along.
我们已经看到了重载资源名和典型服务定位器实现,有资源缓存的集合,但他们之间并没有很好的合作。
The client passes in a unique identifier — a resource name — for the resource; the service locator finds the resource and returns it to the client.
客户端为资源传递一个唯一的标识符(资源名),服务定位器找到这个资源并把它返回给客户端。
This means that two components can refer to the same resource name, yet actually be bound in production to access two different container resources.
这意味着两个组件可以指向相同的资源名,而在实际运作当中却被绑定去访问两个不同的容器资源。
Since each EJB class has a unique package and class name, this naming approach ensures that the resource name will be unique for each component.
由于每个ejb类都有一个唯一的包和类名,这种命名方法保证了每个组件的资源名将是唯一的。
To do that, you specify the JNDI resource name for the managed connection factory that you want to create and click New, as shown in Figures 10 and 11.
您指定您所想要创建的受管的连接工厂的JNDI资源名字,并且单击New,如图10和图11所示。
Which resource it refers to -- the data source for employee access or the one for customer access -- depends on which component is using the resource name.
它所引用的资源,雇员访问的数据源或顾客访问的数据源,要使用哪个数据源取决于是哪个组件在使用资源名。
It is not a question of if the problem may happen; this problem will occur whenever a deployment binds the same resource name to different resources. Guaranteed.
毫无疑问会发生问题,而且我可以保证:只要在部署阶段为不同的资源绑定相同的资源名,这个问题就会发生。
A singleton service locator with a resource cache creates a global cache that cannot properly handle the component-level mappings for an overloaded resource name.
带有资源缓存的集合服务定位器创建全局缓存,通过这种方式不能为重载的资源名正确处理组件级映射。
Because each component is mapped separately, two components which happen to use the same resource name may not necessarily be bound to the same container resource.
因为每个组件单独映射,两个偶尔使用相同资源名的组件可能不需要绑定到相同的容器资源。
To access a resource through a JNDI lookup, a component passes in a resource name and gets back the resource described in the deployment descriptor by a resource reference element.
通过JNDI查找访问资源,组件以资源名方式传递,然后返回在部署描述符中由资源引用元素所描述的资源。
To make this work, a resource name has to be provided semi-interactively -- otherwise, a candidate could just post-date their datestamp to give a false impression of rapid creation.
为此,必须半交互式地提供资源名。否则,参与者完全可以迟签他们的日期戳的日期,制造出创建速度很快的假象。
In J2EE 1.2, resource names are all global, so when two components reference the same resource name, they receive the same resource, since that single resource name maps to a single resource.
在J2EE 1.2中,资源名都是全局的,因此当两个组件引用相同资源名时,他们得到相同的资源引用,这是因为一个资源名映射到一个资源。
When two components use a resource name that is overloaded — that is, a name that is bound to two different resources — a caching service locator returns the same resource to both components.
当两个组件使用一个重载的资源名,也就是说,一个名称绑定到两个不同的资源,缓存服务定位器为两个组件返回相同的资源。
Using the drop-down menu and the scroll bar, locate and highlight the ClearQuest user name that will be associated with the Rational Portfolio Manager resource name (see Figure 30), and click OK.
利用这个下拉菜单和和滚动条,确定并突出强调将要与RationalPortfolioManager资源名称联合的ClearQuest用户名(参见图30),然后嗲您将OK。
When a differently bound component uses the same resource name, it will not receive the resource it is bound to; it will receive the resource in the cache, which is the first component's resource.
当不同的绑定组件使用相同的资源名的时候,这个组件将不能得到它所绑定的那个资源,它将得到在缓存中的资源,而这个资源就是第一个组件的资源。
When a differently bound component uses the same resource name, it will not receive the resource it is bound to; it will receive the resource in the cache, which is the first component's resource.
当不同的绑定组件使用相同的资源名的时候,这个组件将不能得到它所绑定的那个资源,它将得到在缓存中的资源,而这个资源就是第一个组件的资源。
应用推荐