MCPcopy Index your code
hub / github.com/micronaut-projects/micronaut-core

github.com/micronaut-projects/micronaut-core @v5.1.3 sqlite

repository ↗ · DeepWiki ↗ · release v5.1.3 ↗
27,308 symbols 98,197 edges 4,780 files 8,871 documented · 32%
README

Micronaut Framework

Build Status Revved up by Develocity Quality Gate Status

Micronaut Framework is a modern, JVM-based, full stack Java framework designed for building modular, easily testable JVM applications with support for Java, Kotlin and the Groovy language.

The Micronaut framework was originally created by a team who had also worked on the Grails framework. The Micronaut framework takes inspiration from lessons learned over the years building real-world applications from monoliths to microservices using Spring, Spring Boot and the Grails framework. The core team continues to develop and maintain the Micronaut project through the support of the Micronaut Foundation.

Micronaut Framework aims to provide all the tools necessary to build JVM applications including:

  • Dependency Injection and Inversion of Control (IoC)
  • Aspect Oriented Programming (AOP)
  • Sensible Defaults and Auto-Configuration

With Micronaut Framework you can build Message-Driven Applications, Command Line Applications, HTTP Servers and more whilst for Microservices in particular Micronaut Framework also provides:

  • Distributed Configuration
  • Service Discovery
  • HTTP Routing
  • Client-Side Load Balancing

At the same time Micronaut Framework aims to avoid the downsides of frameworks like Spring, Spring Boot and Grails by providing:

  • Fast startup time
  • Reduced memory footprint
  • Minimal use of reflection
  • Minimal use of proxies
  • No runtime bytecode generation
  • Easy Unit Testing

This is achieved by pre-computing the framework infrastructure at compilation time which reduces the logic required at runtime for the application to work.

For more information on using Micronaut Framework see the documentation at micronaut.io

Example Applications

Example Micronaut applications can be found in guides.micronaut.io

Building From Source

To build from source checkout the code and run:

./gradlew publishToMavenLocal

To build the documentation run ./gradlew docs. The documentation is built to build/docs/index.html.

Contributing Code

If you wish to contribute to the development of Micronaut Framework please read the CONTRIBUTING.md

Versioning

Micronaut Framework uses Semantic Versioning 2.0.0. To understand what that means, please see the specification documentation. Exclusions to Micronaut Framework's public API include any classes annotated with @Experimental or @Internal, which reside in the io.micronaut.core.annotation package.

Extension points exported contracts — how you extend this code

InterfaceClass (Interface)
@author Graeme Rocher @since 1.0 [11 implementers]
inject-java/src/test/groovy/io/micronaut/aop/factory/InterfaceClass.java
FunctionExecutor (Interface)
Allows executing the function configured by io.micronaut.function.LocalFunctionRegistry#FUNCTION_NAME . < [11 implementers]
function/src/main/java/io/micronaut/function/executor/FunctionExecutor.java
CustomizableResponseType (Interface)
A type that needs special handling that may include modification of the response. @author James Kleeh @since 1.0 [23 implementers]
http-server/src/main/java/io/micronaut/http/server/types/CustomizableResponseType.java
Interceptor (Interface)
An Interceptor intercepts the execution of a method allowing cross cutting behaviour to be applied to a method's exec [73 …
aop/src/main/java/io/micronaut/aop/Interceptor.java
MutableHttpHeaders (Interface)
Extends HttpHeaders add methods for mutation of headers. @author Graeme Rocher @since 1.0 [6 implementers]
http/src/main/java/io/micronaut/http/MutableHttpHeaders.java
ChannelOptionFactory (Interface)
Creates channel options. @author croudet [6 implementers]
http-netty/src/main/java/io/micronaut/http/netty/channel/converters/ChannelOptionFactory.java
InjectableBeanDefinition (Interface)
An type of BeanDefinition that supports post initialization bean dependencies injection. @param The [7 implementers]
inject/src/main/java/io/micronaut/inject/InjectableBeanDefinition.java
PropagatedContextElement (Interface)
Marker interface for an object that can be placed into a PropagatedContext. @author Denis Stepanov @since 4.0.0 [7 implementers]
core/src/main/java/io/micronaut/core/propagation/PropagatedContextElement.java

Core symbols most depended-on inside this repo

equals
called by 1133
http-tck/src/main/java/io/micronaut/http/tck/BodyAssertion.java
add
called by 941
core/src/main/java/io/micronaut/core/type/MutableHeaders.java
orElse
called by 865
inject/src/main/java/io/micronaut/context/BeanProvider.java
requireNonNull
called by 729
core/src/main/java/io/micronaut/core/util/ArgumentUtils.java
put
called by 537
http/src/main/java/io/micronaut/http/HttpRequestFactory.java
of
called by 535
http/src/main/java/io/micronaut/http/sse/Event.java
empty
called by 527
core/src/main/java/io/micronaut/core/bind/ArgumentBinder.java
toString
called by 522
core/src/main/java/io/micronaut/core/type/Argument.java

Shape

Method 22,054
Class 4,230
Interface 905
Enum 119

Languages

Java100%

Modules by API surface

core-processor/src/main/java/io/micronaut/inject/writer/BeanDefinitionWriter.java202 symbols
inject/src/main/java/io/micronaut/context/DefaultBeanContext.java199 symbols
http-server-netty/src/main/java/io/micronaut/http/server/netty/configuration/NettyHttpServerConfiguration.java175 symbols
inject/src/main/java/io/micronaut/inject/beans/AbstractInitializableBeanIntrospection.java168 symbols
http-client/src/main/java/io/micronaut/http/client/netty/ConnectionManager.java142 symbols
core/src/main/java/io/micronaut/core/util/clhm/ConcurrentLinkedHashMap.java142 symbols
http-server-netty/src/main/java/io/micronaut/http/server/netty/ByteBufDelegate.java131 symbols
inject/src/main/java/io/micronaut/context/AbstractInitializableBeanDefinition.java128 symbols
inject/src/main/java/io/micronaut/context/AbstractBeanResolutionContext.java120 symbols
core-processor/src/main/java/io/micronaut/inject/writer/DispatchWriter.java119 symbols
http-client-core/src/main/java/io/micronaut/http/client/HttpClientConfiguration.java118 symbols
core-processor/src/main/java/io/micronaut/inject/writer/AbstractBeanDefinitionBuilder.java117 symbols

Datastores touched

(mysql)Database · 1 repos
oneDatabase · 1 repos
twoDatabase · 1 repos
fooDatabase · 1 repos

For agents

$ claude mcp add micronaut-core \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact