Only public methods that have no arguments can be annotated as lifecycle methods.
只有不带参数的公共方法能注释为生命周期方法。
Finds the given method through reflection, searching only for public methods.
通过反射查找给定的方法,只搜索公共方法。
The interface class is the one with Public methods that Web service clients can call.
接口类就是具有Public方法的类,Web服务客户机可以调用 Public 方法。
As for the public methods in our BookSearch class, the code for these methods is as follows.
与booksearch类中的公共方法类似,这些方法的代码如下。
If package access prevents objects from communicating, add more public methods to the classes.
如果包访问不利于对象间的通信,就需要向类中添加更多的公共方法。
The pointcut in the example uses a modifier and wildcard pattern to express "all public methods."
示例中的切入点使用了修饰符(modifier)和通配符(wildcard)模式来表达“所有公共方法”。
In other words, it's the class in the Web service code with public methods that users can access.
换句话说,它就是Web服务代码中带有用户可访问的public方法的类。
The sample service resides in a class named GetUserInfo that includes the following public methods.
示例的服务位于一个名为GetUserInfo的类,它包括以下公有方法。
Learn how to construct Web services that protect both private and public methods from Web access.
学习如何构建Web服务,禁止对私有和公共方法进行Web访问?
Only the public methods included in the application architecture's API layer contain transaction logic.
只有包含在应用程序架构的api层中的公共方法包含事务逻辑。
Obviously, any changes to interfaces (even public methods) required extra scrutiny and impact analysis.
显然,任何对接口(甚至是公用方法)的变化要求特别细致的检查和冲突分析。
To do that, we simply remove all of the UI from Listing 3 and just keep those public methods at the top.
为此,只需删除清单3中的所有ui并且只在顶部保留那些公共方法。
The four public methods of the ACLPerspective supply callers with actual views and underlying data structures.
ACLPerspective的四种公共方法为调用方提供了实际视图和底层数据结构。
This makes it easier to find all the public methods you need to test. Each test starts life looking like this.
这样能够更容易找到您需要测试的所有公有方法。
Is there any pattern that provide similarities of public static, private and public methods and vars in JS?
有提供公共静态相似性的任何模式,私人和公共的JS方法和变量?
The remote interface, retrieved through the home interface, gives you access to the public methods of the remote object.
remote接口是通过home接口检索得到的,为您提供了对远程对象的公共方法的访问。
Looking first at its public methods, the ACLPerspective offers three flavors of constructors. It can provide a view into.
首先看一下ACLPerspective的公共方法,ACLPerspective提供了三种版本的构造函数。
Property expressions may now reference public methods (with no parameters) in addition to traditional property names.
属性表达式现在应该参考没有参数的公共方法除了传统的属性名外。
For example, say that you want to display all of the public methods of a given class using reflection. Listing 7 shows an example.
例如,假设您希望利用反射显示给定类的所有公共方法。
Finally, the convention requires the methods to be public, so I use the form of lookup that finds public methods callable on the class.
最后,该惯例要求方法为公共,因此我使用查找格式,查找类上可调用的公共方法。
PMD currently defines close to 200 rules with specific ones for method length, class length, unique types, and counting public methods.
PMD目前定义了大约200个规则,其中一些特定规则是针对方法长度、类长度和惟一类型的,还有一些用于计算public方法。
Instead, they are traditional JSF action handlers, which are public methods on managed beans that either have no-arguments or accept an ActionEvent.
相反,它们都是一些传统的JSF动作处理程序,或者是受管bean上的公共方法,这些方法或者无实参或者接受ActionEvent。
While in Break mode, however, you are generally not allowed to change declaration statements, such as public methods, public fields, or class declarations.
但是,在中断模式下一般不允许对声明语句(如公共方法、公共字段或类声明)进行更改。
The only methods in the entire application architecture that start, commit, and roll back a transaction are public methods contained in API layer's domain classes.
整个应用程序架构中用于启动、提交和回滚事务的惟一方法就是api层的域类中包含的公共方法。
Test all the public methods that perform an "interesting" function (that is, not getters and setters, unless they do their getting and setting in some unique way).
测试所有执行“令人感兴趣的”功能(即,不是getter和setter,除非它们以某种独特的方式执行获取和设置操作)的公共方法。
It would be nice to be able to test the two new public methods that were added to the Library session bean without the complications of database creation point in time.
能够测试在数据库没有及时建立的情况下添加到Library会话bean中的两个新的公共方法是非常好的。
The side effect of this discipline leads to public methods that mainly consist of calls to a large number of very small private methods, each of which do only one thing.
这种思想的好处是调用的公用方法是由许多个短小的、每个只完成一种功能的大量的私有函数组成的。
As with the field calls, the first two variants return information for public methods that can be accessed through the class — even those inherited from an ancestor class.
与字段调用一样,前两个变量返回可以通过类接入的公共方法的信息——即使它们来自于祖先类。
Because of this responsibility (exposed through a large number of public methods), they're said to have high afferent coupling, which also results in a reversed brittleness.
因为存在这种责任(通过大量public方法导出),所以它们具有高度的输入耦合,也会导致反向的脆弱性。
Because of this responsibility (exposed through a large number of public methods), they're said to have high afferent coupling, which also results in a reversed brittleness.
因为存在这种责任(通过大量public方法导出),所以它们具有高度的输入耦合,也会导致反向的脆弱性。
应用推荐