Uses of Annotation Interface
org.apache.juneau.commons.inject.Bean
Packages that use Bean
Package
Description
Lightweight bean lookup, contribution, and injection support for Juneau.
Microservice API
JUnit 5 whole-microservice integration-test support — the
@SpringBootTest analog for the
standalone Juneau microservice.Embedded Tomcat integration for Juneau microservices.
Petstore admin console: the
/console page tree.Petstore console Developer pages: custom cards, themes, rendering flavors and the secure API demo.
Petstore console Rendering flavors: one console page per petstore view technology.
Apache Juneau Petstore - Jetty/Microservice deployment.
Apache Juneau Petstore - Spring Boot deployment.
MCP
2026-07-28 binding for juneau-rest-server-mcp.Spring Boot Integration
Server Configuration Repository
-
Uses of Bean in org.apache.juneau.commons.inject
Fields in org.apache.juneau.commons.inject declared as BeanMethods in org.apache.juneau.commons.inject that return BeanModifier and TypeMethodDescriptionBeanAnnotation.Builder.build()Instantiates a new@Beanobject initialized with this builder.Methods in org.apache.juneau.commons.inject that return types with arguments of type BeanModifier and TypeMethodDescriptionBeanAnnotation.find(MethodInfo method) Finds the@Beanannotation that applies to the specified method.Methods in org.apache.juneau.commons.inject with parameters of type Bean -
Uses of Bean in org.apache.juneau.microservice.jetty
Methods in org.apache.juneau.microservice.jetty with annotations of type BeanModifier and TypeMethodDescriptionjakarta.servlet.ServletHealthProbeConfiguration.healthProbeServlet()Probe servlet bean discovered byJettyServerComponent.HealthProbeConfiguration.healthProbeSettings()Default probe settings bean.JettyConfiguration.jettyServerComponent()Contributes theJettyServerComponentbean under its own type for direct lookup by external callers.JettyConfiguration.jettyServerFactory()Contributes the default Jetty server factory used to build theServerfrom ajetty.xml file.JettyConfiguration.jettyServerListener()Contributes the sameJettyServerComponentinstance underMicroserviceListener(namedjettyServerListener ) so it participates in theMicroservice.start()/Microservice.stop()fan-out without clobbering any user-supplied unnamedMicroserviceListener.JettyConfiguration.jettySettings()Contributes an empty defaultJettySettingssoJettyServerComponentalways finds one in the store. -
Uses of Bean in org.apache.juneau.microservice.test
Methods in org.apache.juneau.microservice.test with annotations of type BeanModifier and TypeMethodDescriptionorg.eclipse.jetty.server.ServerEphemeralJettyServerConfig.jettyServer()Provides the bean-supplied JettyServerthatJettyServerComponentconsumes duringonStart().EphemeralJettyServerConfig.jettySettings()Disables the 30s graceful-shutdown drain wait for integration tests. -
Uses of Bean in org.apache.juneau.microservice.tomcat
Methods in org.apache.juneau.microservice.tomcat with annotations of type BeanModifier and TypeMethodDescriptionjakarta.servlet.ServletHealthProbeConfiguration.healthProbeServlet()Probe servlet bean discovered byTomcatServerComponent.HealthProbeConfiguration.healthProbeSettings()Default probe settings bean.TomcatConfiguration.tomcatServerComponent()Contributes theTomcatServerComponentbean under its own type for direct lookup by external callers.TomcatConfiguration.tomcatServerFactory()Contributes the default Tomcat server factory used to build theTomcatinstance.TomcatConfiguration.tomcatServerListener()Contributes the sameTomcatServerComponentinstance underMicroserviceListener(namedtomcatServerListener ) so it participates in theMicroservice.start()/Microservice.stop()fan-out without clobbering any user-supplied unnamedMicroserviceListener.TomcatConfiguration.tomcatSettings()Contributes an empty defaultTomcatSettingssoTomcatServerComponentalways finds one in the store. -
Uses of Bean in org.apache.juneau.petstore.console
Methods in org.apache.juneau.petstore.console with annotations of type BeanModifier and TypeMethodDescriptionPetstoreConsolePage.freemarker()The console FreeMarker mixin: petstore templates,base.ftlhchrome,assetUrl(..)over this package's bundled scripts, and theInventoryGaugeCardTypecustom card type. -
Uses of Bean in org.apache.juneau.petstore.console.dev
Methods in org.apache.juneau.petstore.console.dev with annotations of type BeanModifier and TypeMethodDescriptionGates every op on this resource with a bearer-token guard. -
Uses of Bean in org.apache.juneau.petstore.console.dev.flavors
Methods in org.apache.juneau.petstore.console.dev.flavors with annotations of type Bean -
Uses of Bean in org.apache.juneau.petstore.jetty
Methods in org.apache.juneau.petstore.jetty with annotations of type BeanModifier and TypeMethodDescriptionApp.AppConfig.adminBoundary()Provides the admin resources' CSRF boundary, covering/config,/logsand/shutdown.App.AppConfig.apiBoundary()Provides the API's CSRF boundary, covering/petstore/*.App.AppConfig.consoleBoundary()Provides the console's CSRF boundary, covering/consoleonly.RootResources.petStore()Registers the onePetStoreshared by the/petstoreAPI and the console tree, seeded with the deterministic demo data set.jakarta.servlet.ServletApp.AppConfig.rootResources()Provides the top-level REST servlet, auto-mounted byJettyServerComponentatRest.path(). -
Uses of Bean in org.apache.juneau.petstore.springboot
Methods in org.apache.juneau.petstore.springboot with annotations of type Bean -
Uses of Bean in org.apache.juneau.rest.server.mcp.v20260728
Methods in org.apache.juneau.rest.server.mcp.v20260728 with annotations of type BeanModifier and TypeMethodDescriptionfinal McpOptionsMcpRestServlet.getMcpOptions()Returns this servlet's binding-ownedMcpOptions, built eagerly during initialization.default McpOptionsMcpEndpoint.mcpOptionsBean()Publishes this endpoint's memoizedMcpOptionsinto this resource'sRestContextbean store, the same@Bean-method mechanism already used byMcpEndpoint.mcpTraceContextExtractor().default TraceContextExtractorMcpEndpoint.mcpTraceContextExtractor()Publishes this revision's stableTraceContextExtractorso an activeTracerHook(viaRestOpInvoker) recognizes this endpoint's resolvedJsonRpcRequestargument and itsparams._metacarrier before span creation.final TraceContextExtractorMcpRestServlet.mcpTraceContextExtractor()Publishes this revision's stableTraceContextExtractorso an activeTracerHook(viaRestOpInvoker) recognizes this endpoint's resolvedJsonRpcRequestargument and itsparams._metacarrier before span creation. -
Uses of Bean in org.apache.juneau.rest.server.springboot
Methods in org.apache.juneau.rest.server.springboot with annotations of type BeanModifier and TypeMethodDescriptionSpringRestServlet.createBeanStore(Optional<BeanStore> parent) Hook into Spring bean injection framework. -
Uses of Bean in org.apache.juneau.server.config
Methods in org.apache.juneau.server.config with annotations of type Bean