hexagon_core

This module holds utilities used in other libraries of the toolkit. Check the packages' documentation for more details. You can find a quick recap of the main features in the sections below.

Install the Dependency

This module is not meant to be imported directly. It will be included by using any other part of the toolkit. However, if you only want to use the utilities, logging or serialization (i.e., for a desktop application), you can import it with the following code:

=== "build.gradle"

    ```groovy
    repositories {
        mavenCentral()
    }

    implementation("com.hexagonkt:hexagon_core:$hexagonVersion")
    ```

=== "pom.xml"

    ```xml
    
      com.hexagonkt
      hexagon_core
      $hexagonVersion
    
    ```

Defined Ports

TODO Document module exposed ports:

  • LoggingPort

  • Mapper

  • SerializationFormat

URLs

TODO Note that GraalVM requires to install the Classpath handler manually with ClasspathHandlerProvider.registerHandler.

JVM Information

TODO Add information about the system property that disables JMX.

Logger

The following code block shows the most common use cases for the Logger class:

Packages

com.hexagonkt
Link copied to clipboard
com.hexagonkt.helpers
Link copied to clipboard

JVM information, a logger class and other useful utilities.

com.hexagonkt.logging
Link copied to clipboard

Provides a logging management capabilities abstracting the application from logging libraries.

com.hexagonkt.logging.jul
Link copied to clipboard

TODO

com.hexagonkt.security
Link copied to clipboard

TODO

com.hexagonkt.serialization
Link copied to clipboard

Parse/serialize data in different formats to class instances.