- Glacimon [ɡleɪsɪmən]: Comprehensive Java library, JDK8+
- Github Home
- Search in Maven Central
- PGP Key
- Special thanks to JetBrains for the free open source license, it is very helpful for our project!
GlacimonSpi is an implementation of service provider interface feature. It can make your library expandable.
- GlacimonSpi (English Documents) (ä¸ć–‡ć–‡ćˇŁ)
BOM for maven
Common utils for JavaSE
- Check / Time / Closeable / Properties ... utils
- LambdaBuilder : Create Map/Set/Object/List with Lambda Expression
- StreamingBuilder : Create Map/Set/Object/List in stream style
- RSA / ECDSA / AES / DES / SHA / MD5 / PEM / P12 ... utils
- String / Base64 / Bytes / Hash / Primitive ... utils
- SimpleKeyValueEncoder : Convert between simple Key-Value and String
- Array / Collection ... utils
- Cache / Pool ...
- Bitmap / Bloom filter
- Lock / Waiter / Snapshot ...
- ThreadPoolExecutorUtils / GuavaThreadFactoryBuilder : Create thread pool
- BeanInfoUtils : Get property information of Java Bean
- GenericClassUtils : Get actual types of generic class
- MethodCaller : Get caller information of a method
- ClassPrinter : Print all information for a class / object
Uncommonly or incomplete utils for JavaSE
More crypto features (depends on bouncy-castle)
- SM2 / SM3 / SM4 ... utils
Tracing utils
Common utils for Java Spring and third-party libraries
Springboot Auto Configurations |
---|
GlacispringCommonAutoConfiguration |
- InterfaceInstantiation : Instantiate interfaces into Spring context
- MemberProcessor : Process all fields/methods (of bean) in Spring context (To implement custom injection / method binding...)
- FactoryBean / BeanPostProcessor ...
- YamlPropertySourceFactory : Load YAML by @PropertySource
- SequenceFormatter / StringPlaceHolderUtils ...
- AOP / CGLib ...
Uncommonly or incomplete utils for Java Spring and third-party libraries
Simple time-consuming statistics
Provides a solution for http client
- GlaciHttpClient : HTTP client supporting load-balancing / backend health-checking / circuit-breaking
Helpers for third-party libraries
- RocketMQ : Subscribe message by annotation
- Sentinel : Another way to config rules
- Apollo : ApolloRefreshableProperties : The 'Properties' dynamically updated by Apollo
- Hessianlite : HessianLiteSerializeUtils : Serialize util with hessianlite
- JetCache : SyncRedisLettuceCacheBuilder : Connect to redis in a synchronous manner for JetCache
- Jedis / jsch ...
repositories {
//In mavenCentral
mavenCentral()
}
dependencies {
compile 'com.github.shepherdviolet.glacimon:glacimon-spi-core:?'
compile 'com.github.shepherdviolet.glacimon:glacijava-common:?'
compile 'com.github.shepherdviolet.glacimon:glacijava-crypto:?'
compile 'com.github.shepherdviolet.glacimon:glacijava-trace:?'
compile 'com.github.shepherdviolet.glacimon:glacispring-common:?'
compile 'com.github.shepherdviolet.glacimon:glacispring-txtimer:?'
compile 'com.github.shepherdviolet.glacimon:glacispring-httpclient:?'
compile 'com.github.shepherdviolet.glacimon:glacispring-mapxbean:?'
compile 'com.github.shepherdviolet.glacimon:glacispring-helper:?'
}
<dependency>
<groupId>com.github.shepherdviolet.glacimon</groupId>
<artifactId>glacimon-spi-core</artifactId>
<version>?</version>
</dependency>
<dependency>
<groupId>com.github.shepherdviolet.glacimon</groupId>
<artifactId>glacijava-common</artifactId>
<version>?</version>
</dependency>
<dependency>
<groupId>com.github.shepherdviolet.glacimon</groupId>
<artifactId>glacijava-crypto</artifactId>
<version>?</version>
</dependency>
<dependency>
<groupId>com.github.shepherdviolet.glacimon</groupId>
<artifactId>glacijava-trace</artifactId>
<version>?</version>
</dependency>
<dependency>
<groupId>com.github.shepherdviolet.glacimon</groupId>
<artifactId>glacispring-common</artifactId>
<version>?</version>
</dependency>
<dependency>
<groupId>com.github.shepherdviolet.glacimon</groupId>
<artifactId>glacispring-txtimer</artifactId>
<version>?</version>
</dependency>
<dependency>
<groupId>com.github.shepherdviolet.glacimon</groupId>
<artifactId>glacispring-httpclient</artifactId>
<version>?</version>
</dependency>
<dependency>
<groupId>com.github.shepherdviolet.glacimon</groupId>
<artifactId>glacispring-mapxbean</artifactId>
<version>?</version>
</dependency>
<dependency>
<groupId>com.github.shepherdviolet.glacimon</groupId>
<artifactId>glacispring-helper</artifactId>
<version>?</version>
</dependency>