Skip to content

A useful utility library for interacting with an inaccessible environment in Java.

License

Notifications You must be signed in to change notification settings

asl-std/RuntimeClassLoader

Repository files navigation

Ãs Šecond Łife std. logo

RuntimeClassLoader


Introductionpin

RuntimeClassLoader is a useful utility library for interacting with an inaccessible environment in Java.

At the moment, the library supports the following OS and Java Environment:

Supported OS Windows 10 / 11, Linux (not sure), Mac OS (not sure)
Supported Java SE JDK 8, 16, 17

GitHub license GitHub issues GitHub Workflow Status GitHub Workflow Status Maven Central

Usagepin

How to add it

dependency maven

<dependencies>
    <dependency>
        <groupId>ru.aslcraft</groupId>
        <artifactId>runtimeclassloader</artifactId>
        <version>1.0.0</version>
    </dependency>
</dependencies>

dependency gradle

implementation 'ru.aslcraft:runtimeclassloader:1.0.0'

How to load the Maven library in runtime

Show instructions
  1. Download compiled lib from releases or just download sources and compile it-self

  2. Create an instance of the MavenURL object and specify arguments based on their name (P.S. the default repository is Repository.Central): example_1_0

  3. Create an instance of the MavenClassLoader object by specifying the created reference to the Maven library in the arguments: example_1_1

  4. Then invoke the method MavenClassLoader#loadClasses() and wait for some time, while the libraries classes will be loaded: example_1_2

Also, if necessary, you can catch an error when creating an instance of MavenClassLoader: example_1_0

How to use the custom Reflection class

Show instructions
  1. Download compiled lib from releases or just download sources and compile it-self

  2. Get an instance of an abstract object Reflection by calling the ReflectionFactory#createReflection() method: example_2_0

About

A useful utility library for interacting with an inaccessible environment in Java.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages