org.slim3.commons.plugin
Interface Plugin

All Known Implementing Classes:
DataSourcePlugin, TransactionPlugin

public interface Plugin

This interface represents a configuration for a service that needs to be notified about application startup and application shutdown.

Author:
higa

Method Summary
 void destroy()
          This method is called when an application stops.
 void initialize()
          This method is called when an application starts.
 

Method Detail

initialize

void initialize()
                throws Exception
This method is called when an application starts.

Throws:
Exception - if an exception is encountered

destroy

void destroy()
             throws Exception
This method is called when an application stops.

Throws:
Exception - if an exception is encountered


Copyright © 2008-2009 The Slim3 project. All Rights Reserved.