Class TurbineBaseService

    • Method Detail

      • init

        public void init​(Object data)
                  throws InitializationException
        Performs early initialization. Overrides init() method in BaseService to detect objects used in Turbine's Service initialization and pass them to appropriate init() methods.
        Specified by:
        init in interface Initable
        Overrides:
        init in class BaseInitable
        Parameters:
        data - An Object to use for initialization activities.
        Throws:
        InitializationException - if initialization of this class was not successful.
      • init

        public void init()
                  throws InitializationException
        Performs late initialization. If your class relies on early initialization, and the object it expects was not received, you can use late initialization to throw an exception and complain.
        Specified by:
        init in interface Initable
        Overrides:
        init in class BaseInitable
        Throws:
        InitializationException - if initialization of this class was not successful.
      • shutdown

        public void shutdown()
        Returns to uninitialized state. You can use this method to release resources that your Service allocated when Turbine shuts down.
        Specified by:
        shutdown in interface Initable
        Overrides:
        shutdown in class BaseInitable