Class SpringSubContainerFactoryImpl.SpringContextImpl

    • Constructor Detail

      • SpringContextImpl

        public SpringContextImpl​(@NotNull
                                 jetbrains.buildServer.spring.SpringSubContainerFactoryImpl.TeamCitySpringSubContainer container)
    • Method Detail

      • findSingletonService

        public <T> T findSingletonService​(@NotNull
                                          Class<T> serviceClass)
        Description copied from interface: ServiceLocator
        Searches for singleton service of specified type
        Specified by:
        findSingletonService in interface ServiceLocator
        Parameters:
        serviceClass - type of the service
        Returns:
        found service or null if there's no such service
      • getServices

        @NotNull
        public <T> Collection<T> getServices​(@NotNull
                                             Class<T> serviceClass)
        Description copied from interface: ServiceLocator
        Searches for all bean instances of type
        Specified by:
        getServices in interface ServiceLocator
        Parameters:
        serviceClass - - type to search
        Returns:
        collection of classes that implements T