可以复选来自这个类且要在此接口内声明的那些方法。
You can check the methods from the class that will be declared in the interface.
实现了在定制服务接口中声明的方法的类。
Classes that implement the methods declared in custom service interfaces.
反射是运行时发现的关于给定类或接口的信息,如方法、字段和构造函数。
Reflection is the runtime discovery of information, such as methods, fields, and constructors, about a given class or interface.
这个阶段准备代表每个类中定义的字段、方法和实现接口所必需的数据结构。
This stage prepares the necessary data structures that represent fields, methods, and implemented interfaces that are defined within each class.
PHP有一个有用的反射API,它允许我们对类、接口、函数和方法执行反向工程。
PHP has a useful reflection API, which allows us to reverse-engineer classes, interfaces, functions, and methods.
标注作为修饰符,可以添加到包、类、接口、方法或字段声明中。
Annotations serve as modifiers that can be added to packages, classes, interfaces, methods, or field declarations.
“向导”现在显示的是需要添加新的方法的类或接口。
The wizard now indicates the Class or Interface to which the new Method will be added.
从PHP V 4迁移到PHP v5时要利用的下一个重要特性是支持通过接口、抽象类和方法进行契约编程。
The next important feature to take advantage of when migrating from PHP V4 to V5 is support for contract programming through interfaces and abstract classes and methods.
我们实现这个类来提供一些公共方法并隐藏SNMP接口的细节。
We implemented this class to provide some common methods and to hide the details of the SNMP interface.
必须注意要确保在EJB远程实现类中实际实现了远程接口中声明的方法。
Care must be taken to ensure that methods declared in the remote interface are actually implemented in the EJB remote implementation class.
例如,实现类的实用程序方法不必放在远程接口上。
For example, utility methods on the implementation class don't have to exist on the remote interface.
此外,所有生成的接口都有一个包含静态方法的工厂类,比如。
Also, all the generated interfaces have a factory class that contains static methods such as.
ExtractInterface重构可以从一个类的已定义的方法生成一个接口。
The Extract interface refactoring makes an interface out of the methods defined in a class.
创建扩展这个接口的类,提供其自己对 getFeed()方法的实现。
You create classes extending this interface that provide their own implementation of the getFeed() method .
@Transactional:标记一个类,接口或者方法为可事务的。
Transactional: Marks a class, interface or method as transactional.
这些方便的类使得代码编写人员不必实现EJB组件接口方法,而且还负责实例化spring容器。
These convenience classes relieve the coder from having to implement the EJB component interface methods, but also take care of instantiating the Spring container.
这意味着,用户可以仅使用DataObject接口中定义的方法类获取和设置数据对象的属性,而无需使用静态api场景中生成的API。
This means that users can only use methods defined in the DataObject interface to get and set properties of the data object instead of using APIs generated in the static APIs scenario.
图2和清单14中显示的confighandler类是负责处理配置接口上的方法调用的一个invocationhandler。
The ConfigHandler class, illustrated in Figure 2 and Listing 14, is an InvocationHandler responsible for handling method calls on a configuration interface.
Customer类也有几个方法,由添加到顶级映射对象的接口使用。
The Customer class also has several methods used by the interfaces added to a top-level mapped object.
该接口的 getOwner()方法返回类实例的所有者。
The getOwner() method of the interface returns the owner of the class instance.
清单2展示了derbydatabase类的initialize方法,这是实现DatasourceObject接口的必需条件。
Listing 2 shows the initialize method of the DerbyDatabase class, which is a requirement of implementing the DatasourceObject interface.
清单8.get方法为Dictionary类的用户提供了接口。
Listing 8. A get method provides the interface for users of the Dictionary class.
如果正在使用SAX 1.0,那么将使用Parser接口和handlerbase类,应该使用哪些方法也很明显。
If you are using SAX 1.0, you'll be working with the Parser interface and HandlerBase class, and it will be obvious which methods to use.
在这里,DBWriter是接口类,不需要调用DBWritersetUp方法,因为EntityManager将直接注入到捆绑包中。
Here, DBWriter is the interface class. There is no requirement to call the DBWriter setUp method because the EntityManager will be directly injected into the bundle.
接口icollaborator有一个必须在collaborator类中实现的方法。
The interface ICollaborator has a single method that must be implemented in the Collaborator class.
远程接口和远程实现类还有initialize(TXDocument) 和getXML()方法。
The remote interface and the remote implementation class also have the initialize(TXDocument) and the getXML() method.
HelloServletbundle的activator类实现BundleActivator接口的start和stop方法。
The Activator class for the HelloServlet bundle implements the start and stop methods of the BundleActivator interface.
清单2 中的EventService接口实现类演示了此方法。
The EventService interface implementation class in Listing 2 demonstrates this approach.
使这些类联系在一起的唯一方法是通过使用这两个类集都可见的接口。
The only way to tie these together is through the use of interfaces visible to both sets of classes.
使这些类联系在一起的唯一方法是通过使用这两个类集都可见的接口。
The only way to tie these together is through the use of interfaces visible to both sets of classes.
应用推荐