Uses of Class
org.apache.juneau.microservice.Microservice
Packages that use Microservice
Package
Description
Microservice API
Microservice API
Embedded Tomcat integration for Juneau microservices.
-
Uses of Microservice in org.apache.juneau.microservice
Methods in org.apache.juneau.microservice that return MicroserviceModifier and TypeMethodDescriptionMicroservice.Builder.build()Instantiate a new microservice using the settings defined on this builder.static MicroserviceMicroservice.getInstance()Returns the Microservice instance.Microservice.init()Initializes this microservice.Microservice.join()Joins the application with the current thread.Microservice.start()Start this application.Microservice.startConsole()Starts the console thread for this microservice.Microservice.stop()Stop this application.Microservice.stopConsole()Stops the console thread for this microservice.Methods in org.apache.juneau.microservice with parameters of type MicroserviceModifier and TypeMethodDescriptionvoidBasicMicroserviceListener.onConfigChange(Microservice microservice, ConfigEvents events) voidMicroserviceListener.onConfigChange(Microservice microservice, ConfigEvents events) Called if one or more changes occur in the config file.voidBasicMicroserviceListener.onStart(Microservice microservice) voidMicroserviceListener.onStart(Microservice microservice) Called at the beginning of thestart()call.voidBasicMicroserviceListener.onStop(Microservice microservice) voidMicroserviceListener.onStop(Microservice microservice) Called at the end of thestop()call. -
Uses of Microservice in org.apache.juneau.microservice.jetty
Methods in org.apache.juneau.microservice.jetty that return MicroserviceModifier and TypeMethodDescriptionstatic MicroserviceBoots a Jetty microservice with the supplied root servlet and the bundled defaults, with the interactive console enabled.static MicroserviceBoots a Jetty microservice with the supplied root servlet and the bundled defaults.static MicroserviceJettyMicroservice.run(String[] args, WritableBeanStore beanStore, boolean startConsole, Class<?>... configurations) Power-user form: boots a Jetty microservice with a caller-supplied bean store and configuration class list.Methods in org.apache.juneau.microservice.jetty with parameters of type MicroserviceModifier and TypeMethodDescriptionvoidJettyServerComponent.onConfigChange(Microservice ms, ConfigEvents events) voidJettyServerComponent.onStart(Microservice ms) voidJettyServerComponent.onStop(Microservice ms) -
Uses of Microservice in org.apache.juneau.microservice.tomcat
Methods in org.apache.juneau.microservice.tomcat that return MicroserviceModifier and TypeMethodDescriptionstatic MicroserviceBoots a Tomcat microservice with the supplied root servlet and the bundled defaults, with the interactive console enabled.static MicroserviceBoots a Tomcat microservice with the supplied root servlet and the bundled defaults.static MicroserviceTomcatMicroservice.run(String[] args, WritableBeanStore beanStore, boolean startConsole, Class<?>... configurations) Power-user form: boots a Tomcat microservice with a caller-supplied bean store and configuration class list.Methods in org.apache.juneau.microservice.tomcat with parameters of type MicroserviceModifier and TypeMethodDescriptionvoidTomcatServerComponent.onConfigChange(Microservice ms, ConfigEvents events) voidTomcatServerComponent.onStart(Microservice ms) voidTomcatServerComponent.onStop(Microservice ms)