Class StandaloneGateway

java.lang.Object
io.camunda.zeebe.gateway.StandaloneGateway
All Implemented Interfaces:
CloseableSilently, AutoCloseable, EventListener, org.springframework.boot.CommandLineRunner, org.springframework.context.ApplicationListener<org.springframework.context.event.ContextClosedEvent>

@SpringBootApplication(scanBasePackages={"io.camunda.zeebe.gateway","io.camunda.zeebe.shared","io.camunda.zeebe.util.liveness"}) @ConfigurationPropertiesScan(basePackages={"io.camunda.zeebe.gateway","io.camunda.zeebe.shared"}) public class StandaloneGateway extends Object implements org.springframework.boot.CommandLineRunner, org.springframework.context.ApplicationListener<org.springframework.context.event.ContextClosedEvent>, CloseableSilently
Entry point for the standalone gateway application. By default, it enables the Profile.GATEWAY profile, loading the appropriate application properties overrides.

See main(String[]) for more.

  • Constructor Details

  • Method Details

    • main

      public static void main(String[] args)
    • run

      public void run(String... args) throws Exception
      Specified by:
      run in interface org.springframework.boot.CommandLineRunner
      Throws:
      Exception
    • onApplicationEvent

      public void onApplicationEvent(org.springframework.context.event.ContextClosedEvent event)
      Specified by:
      onApplicationEvent in interface org.springframework.context.ApplicationListener<org.springframework.context.event.ContextClosedEvent>
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface CloseableSilently