Module com.azure.runtime.host
Interface IntrospectiveResource
- All Known Implementing Classes:
MicronautProject
,MicroserviceProject
,QuarkusProject
,SpringProject
public interface IntrospectiveResource
Interface for resources that can introspect themselves. This is useful for resources that need to look at the
environment they are running in to determine their configuration, for example to look at referenced projects, or
to determine properties from remote resources.
Note that the App Host never directly calls the introspect() method. Instead, calling the introspect() method
is the responsibility of the resource creator. This is because the resource creator is the one who knows when the
resource is ready to be introspected. Introspective resources should implement the appropriate lifecycle methods
in ResourceWithLifecycle
to ensure that they are introspected at the right time.
- See Also:
-
Method Summary
-
Method Details
-
introspect
void introspect()
-