org.objectweb.easybeans.component.api
Interface EZBComponent

All Known Subinterfaces:
EmbeddedDBComponent, EZBWrappedComponent, JMSComponent, RegistryComponent, TimerComponent, TMComponent
All Known Implementing Classes:
CarolComponent, HSQLDBComponent, JDBCPoolComponent, JoramComponent, JOTMComponent, QuartzComponent

public interface EZBComponent

Defines the interface that a component needs to implement.

Author:
Florent Benoit

Method Summary
 void init()
          Init method.
This method is called before the start method.
 void start()
          Start method.
This method is called after the init method.
 void stop()
          Stop method.
This method is called when component needs to be stopped.
 

Method Detail

init

void init()
          throws EZBComponentException
Init method.
This method is called before the start method.

Throws:
EZBComponentException - if the initialization has failed.

start

void start()
           throws EZBComponentException
Start method.
This method is called after the init method.

Throws:
EZBComponentException - if the start has failed.

stop

void stop()
          throws EZBComponentException
Stop method.
This method is called when component needs to be stopped.

Throws:
EZBComponentException - if the stop is failing.