service

fun service(application: Class<*>, name: String, contexts: List<String>, publicPort: Int = 0, internalPort: Int = 0, properties: Map<String, Any?> = emptyMap()): WowLocal.Builder

The service named name (spring.application.name), the application application serving contexts alone, on its publicPort and internalPort when the ports are fixed, with properties over its own configuration.


inline fun <reified App : Any> service(name: String, contexts: List<String>, publicPort: Int = 0, internalPort: Int = 0, properties: Map<String, Any?> = emptyMap()): WowLocal.Builder

The service of App, as service of its class adds it.