Class ManagementServerPortUtils
java.lang.Object
org.springframework.cloud.client.discovery.ManagementServerPortUtils
Utility class for management server ports.
- Author:
- Spencer Gibb
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Enumeration for management server ports. -
Method Summary
Modifier and TypeMethodDescriptionget
(org.springframework.beans.factory.BeanFactory beanFactory) static Integer
getPort
(org.springframework.beans.factory.BeanFactory beanFactory) static boolean
isDifferent
(org.springframework.beans.factory.BeanFactory beanFactory) static boolean
isDisabled
(org.springframework.beans.factory.BeanFactory beanFactory) static boolean
isSame
(org.springframework.beans.factory.BeanFactory beanFactory)
-
Method Details
-
get
public static ManagementServerPortUtils.ManagementServerPort get(org.springframework.beans.factory.BeanFactory beanFactory) -
isDifferent
public static boolean isDifferent(org.springframework.beans.factory.BeanFactory beanFactory) -
isDisabled
public static boolean isDisabled(org.springframework.beans.factory.BeanFactory beanFactory) -
isSame
public static boolean isSame(org.springframework.beans.factory.BeanFactory beanFactory) -
getPort
-