Skip to content
View Toparvion's full-sized avatar
:octocat:
Practicing creative engineering
:octocat:
Practicing creative engineering
Block or Report

Block or report Toparvion

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned

  1. analog analog Public

    🔎 Flexible web-based real-time log viewer

    Java 19 5

  2. jmint jmint Public

    jMint is a Side Effect Injection (SEI) tool aimed at simplicity of modifications expression

    Java 21 4

  3. nss-java-maker nss-java-maker Public

    A tiny utility for creating Wireshark SSL keys files (in NSS format) from Java SSL debug logs.

    Java 9 2

  4. springboot-jshell-adapter springboot-jshell-adapter Public

    A simple script for running JShell against Spring Boot packaged classpath

    Java 15 3

  5. joker-2018-samples joker-2018-samples Public

    A set of samples for my talk on Joker'18 Java conference

    Java 2 4

  6. JUnit test for conditional Spring Bo... JUnit test for conditional Spring Boot bean registration (@ConditionalOnProperty)
    1
    ## Problem 
    2
    
                  
    3
    Suppose you have two classes that should be registered with Spring context exclusively, e.g. only one of the beans must exist in the context at any time based on some boolean property value. Of course you can do it by adding explicit `if` condition into your `@Configuration` class. But if the classes have no common interface it may be quite cumbersome. As an alternative you can use `@ConditionalOnProperty` annotation on your classes, e.g.:
    4
    
                  
    5
    ```java