软件包 | 描述 |
---|---|
java.beans |
包含的类发展豆相关--基于JavaBeans组件™架构。
|
java.lang |
提供对java编程语言的设计基础课。
|
java.lang.annotation |
提供了java编程语言的注释工具库的支持。
|
java.lang.invoke |
java.lang.invoke 包中包含的动态语言支持的java核心类库和虚拟机直接提供。
|
java.lang.reflect |
提供用于获取类和对象的反射信息的类和接口。
|
java.rmi.server |
支持RMI服务器端提供的类和接口。
|
javax.management |
在java管理扩展提供了核心课程。
|
javax.management.modelmbean |
提供的ModelMBean类的定义。
|
javax.management.openmbean |
提供开放的数据类型和开放MBean描述符类。
|
javax.xml.ws.spi |
此包定义了斯皮思JAX-WS。
|
Modifier and Type | Method and Description |
---|---|
方法 |
EventSetDescriptor.getAddListenerMethod()
获取用于添加事件侦听器的方法。
|
方法 |
EventSetDescriptor.getGetListenerMethod()
获取用于访问注册事件侦听器的方法。
|
方法 |
IndexedPropertyDescriptor.getIndexedReadMethod()
获取应用于读取索引属性值的方法。
|
方法 |
IndexedPropertyDescriptor.getIndexedWriteMethod()
获取应用于写入索引属性值的方法。
|
方法[] |
EventSetDescriptor.getListenerMethods()
获取目标侦听器接口的方法。
|
方法 |
MethodDescriptor.getMethod()
获取此methoddescriptor封装的方法。
|
方法 |
PropertyDescriptor.getReadMethod()
获取应用于读取属性值的方法。
|
方法 |
EventSetDescriptor.getRemoveListenerMethod()
获取用于删除事件侦听器的方法。
|
方法 |
PropertyDescriptor.getWriteMethod()
获取应用于写入属性值的方法。
|
Modifier and Type | Method and Description |
---|---|
Object |
EventHandler.invoke(Object proxy, 方法 method, Object[] arguments)
从事件中提取相应的属性值,通过它与这个
EventHandler 有关的行动。
|
void |
IndexedPropertyDescriptor.setIndexedReadMethod(方法 readMethod)
设置应用于读取索引属性值的方法。
|
void |
IndexedPropertyDescriptor.setIndexedWriteMethod(方法 writeMethod)
设置应用于写入索引属性值的方法。
|
void |
PropertyDescriptor.setReadMethod(方法 readMethod)
设置应用于读取属性值的方法。
|
void |
PropertyDescriptor.setWriteMethod(方法 writeMethod)
设置应该使用的方法写属性值的方法。
|
Constructor and Description |
---|
EventSetDescriptor(String eventSetName, 类<?> listenerType, 方法[] listenerMethods, 方法 addListenerMethod, 方法 removeListenerMethod)
创建使用
java.lang.reflect.Method和
java.lang.Class物体划伤
EventSetDescriptor。
|
EventSetDescriptor(String eventSetName, 类<?> listenerType, 方法[] listenerMethods, 方法 addListenerMethod, 方法 removeListenerMethod)
创建使用
java.lang.reflect.Method和
java.lang.Class物体划伤
EventSetDescriptor。
|
EventSetDescriptor(String eventSetName, 类<?> listenerType, 方法[] listenerMethods, 方法 addListenerMethod, 方法 removeListenerMethod, 方法 getListenerMethod)
此构造函数创建使用java.lang.reflect.method和java.lang.class物体划伤eventsetdescriptor。
|
EventSetDescriptor(String eventSetName, 类<?> listenerType, 方法[] listenerMethods, 方法 addListenerMethod, 方法 removeListenerMethod, 方法 getListenerMethod)
此构造函数创建使用java.lang.reflect.method和java.lang.class物体划伤eventsetdescriptor。
|
EventSetDescriptor(String eventSetName, 类<?> listenerType, MethodDescriptor[] listenerMethodDescriptors, 方法 addListenerMethod, 方法 removeListenerMethod)
创建使用
java.lang.reflect.MethodDescriptor和
java.lang.Class物体划伤
EventSetDescriptor。
|
IndexedPropertyDescriptor(String propertyName, 方法 readMethod, 方法 writeMethod, 方法 indexedReadMethod, 方法 indexedWriteMethod)
此构造函数以一个简单的属性的名称,和用于读和写属性的方法对象。
|
MethodDescriptor(方法 method)
构建了一个从
方法
MethodDescriptor 。
|
MethodDescriptor(方法 method, ParameterDescriptor[] parameterDescriptors)
构建了从每个方法的参数提供描述性信息
方法 一
MethodDescriptor 。
|
PropertyDescriptor(String propertyName, 方法 readMethod, 方法 writeMethod)
此构造函数以一个简单的属性的名称,和用于读和写属性的方法对象。
|
Modifier and Type | Method and Description |
---|---|
方法 |
Class.getDeclaredMethod(String name, 类<?>... parameterTypes)
返回一个
方法 对象反映指定声明方法的类或接口的
类 对象表示。
|
方法[] |
Class.getDeclaredMethods()
返回一个数组包含
方法 物体反射所有声明的方法的类或接口的
类 对象,代表包括公众、保护,默认(包)的访问,和私有方法,但不包括继承的方法。
|
方法 |
Class.getEnclosingMethod()
如果这
类 对象表示方法内的局部或匿名类,返回表示立即封闭底层类的方法
方法 对象。
|
方法 |
Class.getMethod(String name, 类<?>... parameterTypes)
返回一个
方法 对象反映的类或接口的
类 对象表示的指定公共成员方法。
|
方法[] |
Class.getMethods()
返回一个数组包含
方法 物体反射所有的类或接口的
类 对象表示的公共方法,包括那些由类或接口的超类和超接口继承的声明。
|
Modifier and Type | Method and Description |
---|---|
方法 |
AnnotationTypeMismatchException.element()
返回的错误类型的元素的
方法对象。
|
Constructor and Description |
---|
AnnotationTypeMismatchException(方法 element, String foundType)
构建了指定的注释类型元素的annotationtypemismatchexception发现数据类型。
|
Modifier and Type | Method and Description |
---|---|
MethodHandle |
MethodHandles.Lookup.unreflect(方法 m)
让
direct method handle到nullm,如果查找类许可。
|
MethodHandle |
MethodHandles.Lookup.unreflectSpecial(方法 m, 类<?> specialCaller)
用于反射方法的方法处理。
|
Modifier and Type | Method and Description |
---|---|
Object |
InvocationHandler.invoke(Object proxy, 方法 method, Object[] args)
在代理实例上处理方法调用,并返回结果。
|
Modifier and Type | Method and Description |
---|---|
Object |
RemoteObjectInvocationHandler.invoke(Object proxy, 方法 method, Object[] args)
在封装过程
proxy 代理实例,方法调用,并返回结果。
|
Object |
RemoteRef.invoke(Remote obj, 方法 method, Object[] params, long opnum)
调用一个方法。
|
Modifier and Type | Method and Description |
---|---|
Object |
MBeanServerInvocationHandler.invoke(Object proxy, 方法 method, Object[] args) |
Constructor and Description |
---|
MBeanAttributeInfo(String name, String description, 方法 getter, 方法 setter)
此构造函数以一个简单的属性的名称,和用于读取和写入属性的方法对象。
|
MBeanOperationInfo(String description, 方法 method)
构建了一个
MBeanOperationInfo 对象。
|
Constructor and Description |
---|
ModelMBeanAttributeInfo(String name, String description, 方法 getter, 方法 setter)
构建一个与默认modelmbeanattributeinfo对象描述符。
|
ModelMBeanAttributeInfo(String name, String description, 方法 getter, 方法 setter, Descriptor descriptor)
构建了一个modelmbeanattributeinfo对象。
|
ModelMBeanOperationInfo(String description, 方法 operationMethod)
构建一个与默认modelmbeanoperationinfo对象描述符。
|
ModelMBeanOperationInfo(String description, 方法 operationMethod, Descriptor descriptor)
构建了一个modelmbeanoperationinfo对象。
|
Modifier and Type | Method and Description |
---|---|
Object |
CompositeDataInvocationHandler.invoke(Object proxy, 方法 method, Object[] args) |
Modifier and Type | Method and Description |
---|---|
abstract Object |
Invoker.invoke(方法 m, Object... args)
JAX-WS运行时调用此方法对端点实例做实际的Web服务调用。
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.