Package ch.ivyteam.ivy.lifecycle
Interface ILifecycle
- All Known Subinterfaces:
IApplicationConfigurationManager
,ch.ivyteam.ivy.manager.IManager
,IServer
,IServerExtension
public interface ILifecycle
An interface that is implemented by classes that can be started and stopped.
- Since:
- 04.12.2006
- API:
- This is a public API.
-
Method Summary
-
Method Details
-
start
Starts the thing- Parameters:
monitor
- optional progress monitor- Throws:
Exception
- if start fails- API:
- This public API is available in Java.
-
stop
Stops the thing- Parameters:
monitor
- optional progress monitor- Throws:
Exception
- if stop fails- API:
- This public API is available in Java.
-
getName
String getName()Gets the name of the thing to start- Returns:
- name
- API:
- This public API is available in Java.
-