Class ConfigServer
java.lang.Object
com.kosdev.kos.commons.util.ready.ReadyBean
com.kosdev.kos.commons.core.service.AbstractService
com.kosdev.kos.core.service.config.server.ConfigServer
- All Implemented Interfaces:
CtxEventListener,ContextHandleAware,HandleAware,Ready,ReadyAndReadyListener,ReadyListener
Server that runs on the primary node which performs additional management
of the
ConfigService for use on KOS and within multi-node environments.- Since:
- 1
- Version:
- 1
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn theDefaultConfigSourcefor the global scope.getNodeDefaultSource(NodeId nodeId) Return theDefaultConfigSourcefor the specified nodeId.getNodeTypeDefaultSource(NodeId nodeId) Return theDefaultConfigSourcefor the node type of the specified node.Methods inherited from class com.kosdev.kos.commons.core.service.AbstractService
getHandle, getHandlePrefixMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.kosdev.kos.commons.core.context.CtxEventListener
onCtxAutowiringCompleted, onCtxDestroyed, onCtxPhaseCompletedMethods inherited from interface com.kosdev.kos.commons.core.service.handle.HandleAware
addHandleChild, getName, getPathMethods inherited from interface com.kosdev.kos.commons.util.ready.ReadyAndReadyListener
onBeanReady, onDependenciesReadyMethods inherited from interface com.kosdev.kos.commons.util.ready.ReadyListener
onDependenciesGroupReady
-
Constructor Details
-
ConfigServer
public ConfigServer()
-
-
Method Details
-
getGlobalDefaultSource
Return theDefaultConfigSourcefor the global scope.- Since:
- 1
-
getNodeTypeDefaultSource
Return theDefaultConfigSourcefor the node type of the specified node.- Parameters:
nodeId- the node to get the nodeType from- Since:
- 1
-
getNodeDefaultSource
Return theDefaultConfigSourcefor the specified nodeId.- Parameters:
nodeId- the node to return the source for- Since:
- 1
-