Interface ServiceBroker

    • Method Detail

      • isRegistered

        boolean isRegistered​(String serviceName)
        Determines whether a service is registered in the configured TurbineResources.properties.
        Parameters:
        serviceName - The name of the service whose existance to check.
        Returns:
        Registration predicate for the desired services.
      • shutdownService

        void shutdownService​(String name)
        Shutdowns a Service. This method is used to release resources allocated by a Service, and return it to initial (uninitailized) state.
        Parameters:
        name - The name of the Service to be uninitialized.
      • shutdownServices

        void shutdownServices()
        Shutdowns all Services. This method is used to release resources allocated by Services, and return them to initial (uninitialized) state.
      • getConfiguration

        org.apache.commons.configuration2.Configuration getConfiguration​(String name)
        Returns the configuration of a specific service. Services use this method to retrieve their configuration.
        Parameters:
        name - The name of the service.
        Returns:
        Configuration of the requested service.
      • getApplicationRoot

        String getApplicationRoot()
        Get the application root as set by the parent application.
        Returns:
        String application root