Skip to content

io microsphere netflix eureka server spring cloud tomcat servlet listener EurekaServerListener

github-actions[bot] edited this page Aug 20, 2026 · 1 revision

EurekaServerListener

Type: Class | Module: microsphere-netflix-eureka-server-spring-cloud | Package: io.microsphere.netflix.eureka.server.spring.cloud.tomcat.servlet.listener | Since: 1.0.0

Source: microsphere-netflix-eureka-server-spring-cloud/src/main/java/io/microsphere/netflix/eureka/server/spring/cloud/tomcat/servlet/listener/EurekaServerListener.java

Overview

Customized EurekaServer Listener

Declaration

public class EurekaServerListener implements ServletContextListener, DisposableBean

Author: Mercy

Version Information

  • Introduced in: 1.0.0
  • Current Project Version: 0.2.0-SNAPSHOT

Version Compatibility

This component is tested and compatible with the following Java versions:

Java Version Status
Java 17 ✅ Compatible
Java 21 ✅ Compatible
Java 25 ✅ Compatible

Usage

Maven Dependency

Add the following dependency to your pom.xml:

<dependency>
    <groupId>io.github.microsphere-projects</groupId>
    <artifactId>microsphere-netflix-eureka-server-spring-cloud</artifactId>
    <version>${microsphere-netflix.version}</version>
</dependency>

Tip: Use the BOM (microsphere-netflix-dependencies) for consistent version management. See the Getting Started guide.

Import

import io.microsphere.netflix.eureka.server.spring.cloud.tomcat.servlet.listener.EurekaServerListener;

API Reference

Public Methods

Method Description
contextInitialized
contextDestroyed
destroy
deregister
onEurekaInstanceRegisteredEvent
onEurekaInstanceCanceledEvent
onEurekaInstanceRenewedEvent

See Also

  • ReplicatedInstanceListener

This documentation was auto-generated from the source code of microsphere-netflix.

Clone this wiki locally