You can execute the main helper method of this class to see features and runtime versions that your application USES.
您可以执行这个类的助手方法,查看您的应用程序使用的特性和运行时版本。
I prefer specification of the runtime behavior of a class within the class itself, keeping all the information about a class in one place.
我更喜欢在类的内部说明类的运行时行为,将有关类的所有信息集中保存在一个地方。
It can be used to access fields and methods in instances of a class, giving a way of dynamically hooking together classes at runtime without the need for any source code links between the classes.
可用它来访问类实例中的字段和方法,从而提供了一种在运行时将类动态地挂钩在一起,却无需类之间有任何源代码链接的方法。
Reflection is the runtime discovery of information, such as methods, fields, and constructors, about a given class or interface.
反射是运行时发现的关于给定类或接口的信息,如方法、字段和构造函数。
This runtime view allows you to reason about runtime properties such as performance, security, availability, which are hard to assess looking at package and class diagrams.
运行时视图允许你来推算运行时特性,如性能、安全及可用性等难以看着程序包和类图就能估计出的部分。
It can be used to access fields and methods in instances of a class, providing a way of dynamically hooking together classes at runtime without the need for any source code links between the classes.
它能用于访问类实例中的字段和方法,从而提供了不需要类之间的任何源代码链接就能在运行时将类动态地挂钩在一起的方法。
The third solution, which I cover in this article, is to write a single class that dynamically molds itself at runtime to the fields of a given table.
第三个解决方案,也是我在本文中介绍的,是编写一个类,在运行时动态地把自己塑造成指定表的字段。
The goal now is that you just annotate your class that implements the runtime behavior with the names of the labels and some other information.
现在的目标是你只需使用标签名和其他信息将实现了运行期行为的类注解起来就行了。
I could just as easily specify multiple interfaces that the dynamic proxy class would implement at runtime.
我可以很容易地指定动态代理类在运行时要实现的多个接口。
The basic approach here is to construct a custom class at runtime that will wrap access to the target classes (previously reached by reflection) in a way that can be used by your general-purpose code.
这里的基本方法是,在运行时,以一种可以被一般性代码使用的方式,构建一个自定义的类,其中将包装对目标类的访问(以前是通过反射达到的)。
If a service implementation class implements this interface, the JAX-RPC runtime system is required to manage the life cycle of the corresponding service endpoint instances.
如果服务实现类实现这个接口,就需要JAX - RPC运行时系统来管理相应的服务端点实例的生存周期。
This allows you to swap out at runtime a different class exposing the same methods, taking advantage of polymorphism.
它允许利用多态性在运行时换出一个不同的类来公开相同的方法。
At the top is a graphical editor that shows what your visual class will look like when rendered at runtime.
顶部是一个图形化编辑器,其中显示您的可视类在运行时的可能形状。
Annotations are defined that govern injection of method parameters and class members, which provide valuable contextual information to applications during runtime.
注释的定义是为了控制方法参数和类成员的注入,它们在运行时的整个过程向应用程序提供了有价值的上下文信息。
In this case, the stack trace shows the ITextViewer class was ultimately loaded because the Runtime Spy perspective was opened, as shown at the bottom of the highlighted stack trace lines.
在这个例子中,栈记录显示,是由于RuntimeSpy透视图的打开而最终导致了itextviewer类的加载,如高亮的栈记录行底部所示。
Retain the annotation in the compiled class file, but ignore it at runtime.
将注释保留在编译后的类文件中,但是在运行时忽略它。
As already observed, the modification of Foo.say is determined strictly at runtime, via the use of the FooMaker class factory.
正如我们已经看到的一样,Foo .say的修改是通过FooMaker类工厂在运行时严格确定的。
While the JSP page that references the tag executes, the JSP runtime invokes the tag handler class to execute the business logic it defines.
在执行引用这个标记的JS p页时,JSP运行时调用taghandler类执行它所定义的业务逻辑。
The binding compiler adds JiBX binding code to your class files, preparing them for use with the JiBX runtime.
绑定编译器将JiBX 绑定代码添加到您的类文件,编译它们以在 JiBX运行时使用。
In such cases, the type of the bean references will be introspected by Tuscany runtime from the bean class definition to validate and match it with the type of sca references defined in the composite.
在这种情况下,bean引用的类型将由Tuscany运行时从bean类定义中进行内省(introspect),以验证它并将它与在复合集中定义的sca应用类型相匹配。
For instance, Axis 1.4 generates a custom exception class, but it is never thrown at runtime by the Web service.
例如,Axis 1.4生成了一个自定义异常类,但是Web服务在运行时决不会抛出该异常。
It also makes it possible to retain metadata at source code level in class files, and at runtime controlled by a retention policy.
它还使得在类文件中以源代码级别保留元数据、并在运行时由保持(retention)策略控制成为可能。
The PerformanceLogger class allows for specifying at runtime whether or not the tester is interested in logging performance results.
PerformanceLogger类支持在运行时指定,而不管测试员是否对记录性能结果感兴趣。
For example, you can use WebClientFactory class to dynamically create a web service proxy at runtime.
例如,你可以使用WebClientFactory类在运行时动态创建一个Web服务代理。
Listing 2 shows how to use the -cp option to specify the class path at runtime, which is when the application is launched and the JVM is started.
清单2展示了如何在运行时使用- cp选项来指定类路径,这里的运行时是指启动应用程序和jvm时。
The runtime type of the contained Pane will often be a subtype of class Pane, but the static type is simply Pane.
被包含的Pane的运行时类型通常会是类Pane的子类型,但是静态类型就只是Pane。
Flash 8 further extended ActionScript 2 by adding new class libraries with APIs for controlling bitmap data at runtime and file upload.
Flash8进一步扩展了ActionScript2,添加了新的类库以及用于在运行时控制位图数据和文件上传的API。
To apply this theme to the sample, use the StyleManager class to load BSpace_Skin.swf at runtime as shown in Listing 10.
要向示例应用此主题,请使用StyleManager类在运行时加载bspace_skin . swf,如清单10中所示。
The distribution contains two executables: an XJC compiler that generates class files from xj source code, and an xj runtime environment for running xj programs.
该发行版包括两个可执行文件:一个从xj源代码生成类文件的xjc编绎器和一个用于运行xj程序的xj运行时环境。
The JVM classpath is set to ensure runtime recognition of class files in utilclasses.jar.
设置了JV m类路径以确保在运行时可以识别utilclasses . jar中的类文件。
应用推荐