Package io.camunda.zeebe.gateway
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 Summary
ConstructorsConstructorDescriptionStandaloneGateway(GatewayCfg configuration, SpringGatewayBridge springGatewayBridge, ActorClockConfiguration clockConfig) -
Method Summary
-
Constructor Details
-
Method Details
-
main
-
run
- Specified by:
runin interfaceorg.springframework.boot.CommandLineRunner- Throws:
Exception
-
onApplicationEvent
public void onApplicationEvent(org.springframework.context.event.ContextClosedEvent event) - Specified by:
onApplicationEventin interfaceorg.springframework.context.ApplicationListener<org.springframework.context.event.ContextClosedEvent>
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseableSilently
-