com.atlassian.bamboo.container
Interface Startable

All Known Subinterfaces:
BuildEventNotifier, BuildPersisterDecorator, Persister, TaskDaemon
All Known Implementing Classes:
CachedBuildPersisterDecorator, DefaultBuildEventNotifier, FileBasedPersister, LegacyPersister, LegacyXStreamPersisterBuild110, RssBuildFeedService, ThreadedTaskDaemon, XStreamBuildPersister

public interface Startable

This interface is used to denote container components that need to be started.

It contains the stop method as anything that needs to be started should also clean up when stopped.


Method Summary
 void start()
          Start the component
 void stop()
          Stop the component and clean up any resources
 

Method Detail

start

void start()
           throws Exception
Start the component

Throws:
Exception - A generic failure

stop

void stop()
          throws Exception
Stop the component and clean up any resources

Throws:
Exception - A generic failure


Copyright © 2006 Atlassian Software Systems. All Rights Reserved.