Re-exports§
pub use jni_sys;
Modules§
Structs§
- Classpath
Entry - A classpath entry.
- Instance
- A Java instance
- Instance
Receiver - A receiver for Java Instances.
- JavaOpt
- A Java Option.
- Jvm
- Holds the assets for the JVM
- JvmBuilder
- A builder for Jvm
- Local
JarArtifact - Represents a Jar artifact that resides in the local storage.
It can be deployed in order to be loaded and used by j4rs by calling the
JVM::deploy_artifact
method. - Maven
Artifact - Represents an Artifact that can be fetched by a remote Maven repository.
It can loaded and used by j4rs by calling the
JVM::deploy_artifact
method. - Maven
Artifact Repo - A repository from which Java artifacts can be fetched.
- Maven
Settings - Contains Maven settings and configuration
Enums§
- Invocation
Arg - Struct that carries an argument that is used for method invocations in Java.
- Java
Class - Represents default, known Classes in Java. Can be used as class argument in
Jvm#java_list
, etc. - Null
- Represents Java’s null. Use this to create null Objects. E.g.:
Functions§
- Java_
org_ astonbitecode_ j4rs_ api_ invocation_ Native Callback ToRust Channel Support_ docallbacktochannel - Java_
org_ astonbitecode_ j4rs_ api_ invocation_ Native Callback ToRust Future Support_ docallbacktochannel - Java_
org_ ⚠astonbitecode_ j4rs_ api_ invocation_ Native Callback ToRust Future Support_ failcallbacktochannel - get_
created_ java_ vms - jstring_
to_ ⚠rust_ string - new_jvm
- Creates a new JVM, using the provided classpath entries and JVM arguments
- set_
java_ vm