Interface ServiceResources

All Superinterfaces:
AnnotationAccess, ObjectLocator
All Known Subinterfaces:
ServiceBuilderResources
All Known Implementing Classes:
ServiceResourcesImpl

Contains resources that may be provided to a service when it initializes, which includes other services defined in the registry. ServiceResources provides access to other services (it extends ObjectLocator).
  • Method Details

    • getServiceId

      Returns the fully qualified id of the service.
    • getServiceInterface

      Returns the service interface implemented by the service.
    • getServiceImplementation

      @IncompatibleChange(release="5.4", details="Added method for TAP5-2029") Class getServiceImplementation()
      Returns the service implementation.
    • getLogger

      org.slf4j.Logger getLogger()
      Returns a Logger appropriate for logging messages. This includes debug level messages about the creation and configuration of the underlying service, as well as debug, warning, or error level messages from the service itself. Often service interceptors will make use of the service's logger.
    • getTracker

      Returns an object that can be used to track operations related to constructing, configuring, decorating and initializing the service.