Jwma

dtw.webmail.plugin
Interface JwmaPlugin

All Known Subinterfaces:
ContactManagementPlugin, PreferencesPersistencePlugin, RandomAppendPlugin
All Known Implementing Classes:
CastorSQLContactManagement, CastorSQLPreferencesPersistence, CastorXMLContactManagement, CastorXMLPreferencesPersistence

public interface JwmaPlugin

Generic Interface for any plugin used from jwma.

Version:
0.9.7 07/02/2003
Author:
Dieter Wimberger

Method Summary
 void activate()
          Activates the plugin for subsequent use.
 void deactivate()
          Deactivates the plugin.
 

Method Detail

activate

public void activate()
              throws JwmaException
Activates the plugin for subsequent use.

This method is called during bootstrap to allow an implementation to initialize properly. If the plugin cannot perform it's task, it has to throw a JwmaException.

Throws:
JwmaException - if initialization failed.

deactivate

public void deactivate()
Deactivates the plugin.

This method is called during shutdown or probably on dynamic implementation exchange, to allow an implementation to finalize properly.


Jwma

Copyright © 2000-2003 jwma team (All Rights Reserved.)