@Configuration @AutoConfigureAfter(value=AgentRpcServersAutoConfiguration.class) public class IntrospectionAutoConfiguration extends java.lang.Object
| Constructor and Description |
|---|
IntrospectionAutoConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
GenieWebHostInfo |
genieHostInfo()
Get the
GenieWebHostInfo for this application. |
GenieWebRpcInfo |
genieWebRpcInfo(io.grpc.Server server)
Provide a
GenieWebRpcInfo bean if one hasn't already been defined. |
@Bean @ConditionalOnMissingBean(value=GenieWebHostInfo.class) public GenieWebHostInfo genieHostInfo() throws java.net.UnknownHostException
GenieWebHostInfo for this application. This is the default fallback implementation if no other
bean instance of this type has been created.GenieWebHostInfo instancejava.net.UnknownHostException - When the host can't be calculatedjava.lang.IllegalStateException - When an instance can't be createdInetAddress.getCanonicalHostName()@Bean @ConditionalOnMissingBean(value=GenieWebRpcInfo.class) public GenieWebRpcInfo genieWebRpcInfo(io.grpc.Server server) throws java.lang.IllegalStateException
GenieWebRpcInfo bean if one hasn't already been defined.server - The gRPC Server instance. Must not be Server.isShutdown() or
Server.isTerminated(). Must be able to get the port the server is listening on.GenieWebRpcInfo instancejava.lang.IllegalStateException - When an instance can't be created