java - Spring Cloud custom Enable* annotations -


i want learn how enable* annotations work spring cloud components.

for example enableeuekaclient, enableeuekaserver, , many more ...

for purpose implemented monitoring components can included in applications. beans , configurations, controller read automatically , straigth forward working.

but want enable whole stuff annotation enablemonitorserver, enablemonitorclient, enablemonitordashboard not automatically loaded , have specify component should loaded.

i read stuff https://www.javacodegeeks.com/2015/04/spring-enable-annotation-writing-a-custom-enable-annotation.html, understand expose beans on configuration, me more bean.

my example can found here https://github.com/alwasdev/spring-cloud-monitor, , repository in want implement enable* annotations.

please me code examples, or better tutorials, can learn how can disable controllers, annotations, available after used enable* annotation.

thank , time.

greets alwasdev


Comments

Popular posts from this blog

java - SSE Emitter : Manage timeouts and complete() -

jquery - uncaught exception: DataTables Editor - remote hosting of code not allowed -

java - How to resolve error - package com.squareup.okhttp3 doesn't exist? -