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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getName()
Gets the name of the thing to startvoid
start(org.eclipse.core.runtime.IProgressMonitor monitor)
Starts the thingvoid
stop(org.eclipse.core.runtime.IProgressMonitor monitor)
Stops the thing
-
-
-
Method Detail
-
start
void start(org.eclipse.core.runtime.IProgressMonitor monitor) throws Exception
Starts the thing- Parameters:
monitor
- optional progress monitor- Throws:
Exception
- if start fails- API:
- This public API is available in Java.
-
stop
void stop(org.eclipse.core.runtime.IProgressMonitor monitor) throws Exception
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.
- Security:
- ContentManagement: SESSION IS SYSTEM
ContentManagement: SESSION IS SYSTEM
-
-