Search in sources :

Example 1 with SpringMiniConsoleServlet

use of org.jminix.console.servlet.SpringMiniConsoleServlet in project ocvn by devgateway.

the class JMXConfiguration method jminiXServletRegistration.

@Bean
public ServletRegistrationBean jminiXServletRegistration(final MiniConsoleApplication miniConsoleApplication) {
    ServletRegistrationBean registration = new ServletRegistrationBean(new SpringMiniConsoleServlet());
    registration.addUrlMappings("/jminix/*");
    return registration;
}
Also used : ServletRegistrationBean(org.springframework.boot.web.servlet.ServletRegistrationBean) SpringMiniConsoleServlet(org.jminix.console.servlet.SpringMiniConsoleServlet) ServletRegistrationBean(org.springframework.boot.web.servlet.ServletRegistrationBean) Bean(org.springframework.context.annotation.Bean)

Aggregations

SpringMiniConsoleServlet (org.jminix.console.servlet.SpringMiniConsoleServlet)1 ServletRegistrationBean (org.springframework.boot.web.servlet.ServletRegistrationBean)1 Bean (org.springframework.context.annotation.Bean)1