| Package | Description |
|---|---|
| java.lang |
Provides classes that are fundamental to the design of the Java programming language.
|
| java.lang.invoke |
The
java.lang.invoke package contains dynamic language support provided directly by the Java core class libraries and virtual machine.
|
| javax.management.relation |
Provides the definition of the Relation Service.
|
| javax.script |
The scripting API consists of interfaces and classes that define Java
TM Scripting Engines and provides a framework for their use in Java applications.
|
| Modifier and Type | Method and Description |
|---|---|
Constructor |
Class.getConstructor(Class
Returns a
Constructor object that reflects the specified public constructor of the class represented by this
Class object.
|
Constructor |
Class.getDeclaredConstructor(Class
Returns a
Constructor object that reflects the specified constructor of the class or interface represented by this
Class object.
|
Method |
Class.getDeclaredMethod(String
Returns a
Method object that reflects the specified declared method of the class or interface represented by this
Class object.
|
Method |
Class.getMethod(String
Returns a
Method object that reflects the specified public member method of the class or interface represented by this
Class object.
|
| Modifier and Type | Method and Description |
|---|---|
MethodHandle |
MethodHandles.Lookup.bind(Object
Produces an early-bound method handle for a non-static method.
|
MethodHandle |
MethodHandles.Lookup.findConstructor(Class
Produces a method handle which creates an object and initializes it, using the constructor of the specified type.
|
MethodHandle |
MethodHandles.Lookup.findSpecial(Class
Produces an early-bound method handle for a virtual method.
|
MethodHandle |
MethodHandles.Lookup.findStatic(Class
Produces a method handle for a static method.
|
MethodHandle |
MethodHandles.Lookup.findVirtual(Class
Produces a method handle for a virtual method.
|
| Modifier and Type | Method and Description |
|---|---|
void |
RelationService.addRelation(ObjectName
Adds an MBean created by the user (and registered by him in the MBean Server) as a relation in the Relation Service.
|
void |
RelationServiceMBean.addRelation(ObjectName
Adds an MBean created by the user (and registered by him in the MBean Server) as a relation in the Relation Service.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
Invocable.invokeFunction(String
Used to call top-level procedures and functions defined in scripts.
|
Object |
Invocable.invokeMethod(Object
Calls a method on a script object compiled during a previous script execution, which is retained in the state of the
ScriptEngine.
|