public class GetProcessApplicationNameFromAnnotation extends Object implements java.util.function.Supplier<Optional<String>>, java.util.function.UnaryOperator<Optional<String>>
Modifier and Type | Class and Description |
---|---|
static class |
GetProcessApplicationNameFromAnnotation.AnnotatedBean |
Modifier and Type | Field and Description |
---|---|
static java.util.function.Function<org.springframework.context.ApplicationContext,Optional<GetProcessApplicationNameFromAnnotation.AnnotatedBean>> |
getAnnotatedBean
Finds all beans with annotation.
|
static java.util.function.Function<EnableProcessApplication,Optional<String>> |
getAnnotationValue |
static java.util.function.Function<GetProcessApplicationNameFromAnnotation.AnnotatedBean,String> |
getName |
static java.util.function.Function<org.springframework.context.ApplicationContext,Optional<String>> |
getProcessApplicationName |
Modifier and Type | Method and Description |
---|---|
Optional<String> |
apply(Optional<String> springApplicationName) |
Optional<String> |
get() |
static GetProcessApplicationNameFromAnnotation |
processApplicationNameFromAnnotation(org.springframework.context.ApplicationContext applicationContext) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
identity
andThen, compose
public static java.util.function.Function<org.springframework.context.ApplicationContext,Optional<GetProcessApplicationNameFromAnnotation.AnnotatedBean>> getAnnotatedBean
public static java.util.function.Function<EnableProcessApplication,Optional<String>> getAnnotationValue
public static java.util.function.Function<GetProcessApplicationNameFromAnnotation.AnnotatedBean,String> getName
public static java.util.function.Function<org.springframework.context.ApplicationContext,Optional<String>> getProcessApplicationName
public static GetProcessApplicationNameFromAnnotation processApplicationNameFromAnnotation(org.springframework.context.ApplicationContext applicationContext)
public Optional<String> get()
get
in interface java.util.function.Supplier<Optional<String>>
Copyright © 2021. All rights reserved.