Package | Description |
---|---|
java.beans |
Contains classes related to developing
beans -- components
based on the JavaBeans™ architecture.
|
java.lang |
Provides classes that are fundamental to the design of the Java
programming language.
|
java.lang.annotation |
Provides library support for the Java programming language
annotation facility.
|
java.lang.invoke |
The
java.lang.invoke package contains dynamic language support provided directly by
the Java core class libraries and virtual machine. |
java.lang.reflect |
Provides classes and interfaces for obtaining reflective
information about classes and objects.
|
java.rmi.server |
Provides classes and interfaces for supporting the server
side of RMI.
|
javax.management |
Provides the core classes for the Java Management Extensions.
|
javax.management.modelmbean |
Provides the definition of the ModelMBean classes.
|
javax.management.openmbean |
Provides the open data types and Open MBean descriptor classes.
|
javax.xml.ws.spi |
This package defines SPIs for JAX-WS.
|
Modifier and Type | Method and Description |
---|---|
Method |
EventSetDescriptor.getAddListenerMethod()
Gets the method used to add event listeners.
|
Method |
EventSetDescriptor.getGetListenerMethod()
Gets the method used to access the registered event listeners.
|
Method |
IndexedPropertyDescriptor.getIndexedReadMethod()
Gets the method that should be used to read an indexed
property value.
|
Method |
IndexedPropertyDescriptor.getIndexedWriteMethod()
Gets the method that should be used to write an indexed property value.
|
Method[] |
EventSetDescriptor.getListenerMethods()
Gets the methods of the target listener interface.
|
Method |
MethodDescriptor.getMethod()
Gets the method that this MethodDescriptor encapsualtes.
|
Method |
PropertyDescriptor.getReadMethod()
Gets the method that should be used to read the property value.
|
Method |
EventSetDescriptor.getRemoveListenerMethod()
Gets the method used to remove event listeners.
|
Method |
PropertyDescriptor.getWriteMethod()
Gets the method that should be used to write the property value.
|
Modifier and Type | Method and Description |
---|---|
Object |
EventHandler.invoke(Object proxy,
Method method,
Object[] arguments)
Extract the appropriate property value from the event and
pass it to the action associated with
this
EventHandler . |
void |
IndexedPropertyDescriptor.setIndexedReadMethod(Method readMethod)
Sets the method that should be used to read an indexed property value.
|
void |
IndexedPropertyDescriptor.setIndexedWriteMethod(Method writeMethod)
Sets the method that should be used to write an indexed property value.
|
void |
PropertyDescriptor.setReadMethod(Method readMethod)
Sets the method that should be used to read the property value.
|
void |
PropertyDescriptor.setWriteMethod(Method writeMethod)
Sets the method that should be used to write the property value.
|
Constructor and Description |
---|
EventSetDescriptor(String eventSetName,
Class<?> listenerType,
Method[] listenerMethods,
Method addListenerMethod,
Method removeListenerMethod)
Creates an EventSetDescriptor from scratch using
java.lang.reflect.Method and java.lang.Class objects.
|
EventSetDescriptor(String eventSetName,
Class<?> listenerType,
Method[] listenerMethods,
Method addListenerMethod,
Method removeListenerMethod)
Creates an EventSetDescriptor from scratch using
java.lang.reflect.Method and java.lang.Class objects.
|
EventSetDescriptor(String eventSetName,
Class<?> listenerType,
Method[] listenerMethods,
Method addListenerMethod,
Method removeListenerMethod,
Method getListenerMethod)
This constructor creates an EventSetDescriptor from scratch using
java.lang.reflect.Method and java.lang.Class objects.
|
EventSetDescriptor(String eventSetName,
Class<?> listenerType,
Method[] listenerMethods,
Method addListenerMethod,
Method removeListenerMethod,
Method getListenerMethod)
This constructor creates an EventSetDescriptor from scratch using
java.lang.reflect.Method and java.lang.Class objects.
|
EventSetDescriptor(String eventSetName,
Class<?> listenerType,
MethodDescriptor[] listenerMethodDescriptors,
Method addListenerMethod,
Method removeListenerMethod)
Creates an EventSetDescriptor from scratch using
java.lang.reflect.MethodDescriptor and java.lang.Class
objects.
|
IndexedPropertyDescriptor(String propertyName,
Method readMethod,
Method writeMethod,
Method indexedReadMethod,
Method indexedWriteMethod)
This constructor takes the name of a simple property, and Method
objects for reading and writing the property.
|
MethodDescriptor(Method method)
Constructs a
MethodDescriptor from a
Method . |
MethodDescriptor(Method method,
ParameterDescriptor[] parameterDescriptors)
Constructs a
MethodDescriptor from a
Method providing descriptive information for each
of the method's parameters. |
PropertyDescriptor(String propertyName,
Method readMethod,
Method writeMethod)
This constructor takes the name of a simple property, and Method
objects for reading and writing the property.
|
Modifier and Type | Method and Description |
---|---|
Method |
Class.getDeclaredMethod(String name,
Class<?>... parameterTypes)
Returns a
Method object that reflects the specified
declared method of the class or interface represented by this
Class object. |
Method[] |
Class.getDeclaredMethods()
Returns an array of
Method objects reflecting all the
methods declared by the class or interface represented by this
Class object. |
Method |
Class.getEnclosingMethod()
If this
Class object represents a local or anonymous
class within a method, returns a Method object representing the
immediately enclosing method of the underlying class. |
Method |
Class.getMethod(String name,
Class<?>... parameterTypes)
Returns a
Method object that reflects the specified public
member method of the class or interface represented by this
Class object. |
Method[] |
Class.getMethods()
Returns an array containing
Method objects reflecting all
the public member methods of the class or interface represented
by this Class object, including those declared by the class
or interface and those inherited from superclasses and
superinterfaces. |
Modifier and Type | Method and Description |
---|---|
Method |
AnnotationTypeMismatchException.element()
Returns the Method object for the incorrectly typed element.
|
Constructor and Description |
---|
AnnotationTypeMismatchException(Method element,
String foundType)
Constructs an AnnotationTypeMismatchException for the specified
annotation type element and found data type.
|
Modifier and Type | Method and Description |
---|---|
MethodHandle |
MethodHandles.Lookup.unreflect(Method m)
Makes a direct method handle to m, if the lookup class has permission.
|
MethodHandle |
MethodHandles.Lookup.unreflectSpecial(Method m,
Class<?> specialCaller)
Produces a method handle for a reflected method.
|
Modifier and Type | Method and Description |
---|---|
Object |
InvocationHandler.invoke(Object proxy,
Method method,
Object[] args)
Processes a method invocation on a proxy instance and returns
the result.
|
Modifier and Type | Method and Description |
---|---|
Object |
RemoteObjectInvocationHandler.invoke(Object proxy,
Method method,
Object[] args)
Processes a method invocation made on the encapsulating
proxy instance,
proxy , and returns the result. |
Object |
RemoteRef.invoke(Remote obj,
Method method,
Object[] params,
long opnum)
Invoke a method.
|
Modifier and Type | Method and Description |
---|---|
Object |
MBeanServerInvocationHandler.invoke(Object proxy,
Method method,
Object[] args) |
Constructor and Description |
---|
MBeanAttributeInfo(String name,
String description,
Method getter,
Method setter)
This constructor takes the name of a simple attribute, and Method
objects for reading and writing the attribute.
|
MBeanOperationInfo(String description,
Method method)
Constructs an
MBeanOperationInfo object. |
Constructor and Description |
---|
ModelMBeanAttributeInfo(String name,
String description,
Method getter,
Method setter)
Constructs a ModelMBeanAttributeInfo object with a default
descriptor.
|
ModelMBeanAttributeInfo(String name,
String description,
Method getter,
Method setter,
Descriptor descriptor)
Constructs a ModelMBeanAttributeInfo object.
|
ModelMBeanOperationInfo(String description,
Method operationMethod)
Constructs a ModelMBeanOperationInfo object with a default
descriptor.
|
ModelMBeanOperationInfo(String description,
Method operationMethod,
Descriptor descriptor)
Constructs a ModelMBeanOperationInfo object.
|
Modifier and Type | Method and Description |
---|---|
Object |
CompositeDataInvocationHandler.invoke(Object proxy,
Method method,
Object[] args) |
Modifier and Type | Method and Description |
---|---|
abstract Object |
Invoker.invoke(Method m,
Object... args)
JAX-WS runtime calls this method to do the actual web service
invocation on endpoint instance.
|
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, 2011, Oracle and/or its affiliates. All rights reserved.
DRAFT ea-b138