描述符方法优于内省式方法的主要一点是可以提供更特定的消息。
The primary advantage of descriptor methods over introspective approaches is the ability to provide more specific messages.
部署描述符包含了WSDL服务的名称和它拥有的所有方法。
The deployment descriptor contains names of the WSDL service and all methods that it contains.
通过使用声明的安全,您可以定义EJB模块的集合描述符中的安全角色,并为每个角色分配方法许可。
Using declarative security, you can define security roles in the assembly descriptor of the EJB Module and assign method permissions to each role.
采用这种内部形式的类引用是作为字段和方法描述符的一部分使用的。
Class references in this internal form are used as part of field and method descriptors.
在需要对部署描述符进行某些自定义的情况下,此方法可能行不通。
In some circumstances when some customization of the deployment descriptors is needed, this method may not be workable.
签名格式扩展了字段和方法描述符的概念,将泛型类型信息包含于其中。
The signature format extends the idea of field and method descriptors to include generic type information.
如果你深入调查,你就会发现两个任务描述符的列表是不同的,表达了在整个生命周期中执行详述用例方法任务的不同。
If you look closely, you see that these lists are different for each of these two task descriptors, expressing differences in performing the detailing use-case methods throughout the lifecycle.
类似地,对于代理,也只能调用在MDB的部署描述符中声明的接口上的方法。
Similarly, for the proxy you can only invoke methods on the interface declared in the MDB's deployment descriptor.
EJB上的每个公共方法都定义了ejb容器和EJB客户端之间的事务边界,并在部署描述符指定该边界。
Every public method on an EJB defines a transactional boundary between the EJB container and the EJB client, as specified in the deployment descriptor.
首先将介绍一些必备的背景信息,以使您了解类名称的内部结构及JVM所使用的字段和方法描述符。
First though, I'll give some necessary background with a look at the internal form of class names and the field and method descriptors used by the JVM.
它们包含了引用方法内容的描述符,并被用于定义RMC主要支持的两种过程:发布过程和能力模式。
They contain descriptors that reference method content, and they are used to define processes of which RMC supports two main kinds: delivery processes and capability patterns.
上面已经介绍了字段和方法描述符,那么接下来将介绍签名。
Now that you've seen field and method descriptors, you're ready to hear about signatures.
还可以通过使用描述符来添加信息,从而进一步对元素进行定制,而不限于方法库中定义的内容。
You can further tailor elements beyond what is defined in the method library by using descriptors to add information.
在这里,最好的方法是使用一个单独的文件提供此类信息,并将文件名放到EJB部署描述符中。
The best practice here is to provide this information in a separate file and put the file name in the EJB Deployment Descriptor.
这些转换利用您的最佳实践和方法来生成基于文本的元素,例如代码、部署描述符,等等。
These transformations leverage your best practices and approaches to generating text-based elements, such as code, deployment descriptors, and so forth.
方法描述符的格式非常易于理解。
提供服务引用的典型方法是在业务流程以部署描述符的形式被安装(或部署)的时候提供这些信息。
The typical approach for providing service references is to provide this information when the business process is installed (or deployed) in the form of a deployment descriptor.
在portlet描述符、JSP和它们的标签以及主要的portlet方法上两者有很大的不同。
There are significant differences within the portlet descriptors, the JSPs and their tags, and the main portlet methods.
要做到这一点,您可以将方法定义为abstract ,然后用叠加(pushdown)的方式为这些方法标记新的EJB扩展部署描述符。
You can accomplish this by defining the method as abstract, and then marking new EJB Extended deployment descriptor settings for these methods as pushdowns.
之后,使用特殊函数property将这些方法转换为一种描述符。
After that, you use the special function property to turn those methods into a descriptor.
清单7显示了用于配置SimpleSessionBean的方法权限的EJB应用程序部署描述符的片段。
Listing 7 shows fragments of the EJB application deployment descriptor used to configure the method permissions for SimpleSessionBean.
当bean方法的事务属性在部署描述符中设置为RequiresNew时,可以支持交叉事务。
Interleaved transactions are enabled when a bean method's transaction attribute is set to RequiresNew in the deployment descriptor.
通过部署描述符中的安全约束,可以将应用程序资源(如ejb方法和web页)声明为需要授权才能进行访问。
Application resources like EJB methods and Web pages can be declared to require authorization for access by means of security constraints in deployment descriptors.
每个用部署描述符(ejb - jar . xml)中的容器事务部分标记的无状态bean方法,都由Geronimoejb容器自动提供有一个CMT。
Every stateless session bean method that is marked with a container transaction section in the deployment descriptor (ejb-jar.xml) is automatically provided with a CMT by the Geronimo ejb container.
例如,在permssion对象上提供了一些易于使用的有用方法,用于检查传入permission对象是否满足J2EE部署描述符的策略要求。
For example, there are very usable convenience methods on the permissions objects that check whether the incoming permission object satisfies the J2EE deployment descriptor policy requirements.
这种描述符可以返回可调用的内容——毕竟Python函数或方法可以返回任何内容。
Such a descriptor could return something callable — any Python function or method can return anything, after all.
第35至40行:实现前面显示的MBean描述符中声明的只读identification MBean属性的getter方法。
Lines 35 through 40: implement the getter method for the read-only identification MBean attribute declared in the MBean Descriptor shown earlier.
应该在部署描述符中声明security -role -ref元素,其子元素role -name包含了传递给方法的角色名。
The security-role-ref element should be declared in the deployment descriptor with a role-name sub-element containing the role name to be passed to the method.
它们定义完善、直接部署、使用易识别的部署描述符,并且允许用户使用细粒度(fine - grained)方法控制SOAP消息的大多数方面,不管此消息是JMS的还是HTTP的。
They are well defined, straightforward to deploy, use easily recognizable deployment descriptors, and allow users fine-grained control over most aspects of SOAP messages, whether over JMS or HTTP.
要使用声明性安全方法,必须在web . xml部署描述符中指定所有可能的安全角色。
To use the declarative security approach, you must specify all possible security roles in the web.xml deployment descriptor.
应用推荐