org.apache.ftpserver.ftplet
Interface Component


public interface Component

This interface abstracts the basic lifecycle method.

  1. Default constructor will be called.
  2. The component will be configured using Component.configure(Configuration)
  3. Other component specific methods will be called.
  4. Finnaly Component.dispose() method will be called.


Method Summary
 void configure(Configuration config)
          Configure the component.
 void dispose()
          Dispose component - release all the resources.
 

Method Detail

configure

void configure(Configuration config)
               throws FtpException
Configure the component.

Throws:
FtpException

dispose

void dispose()
Dispose component - release all the resources.



Copyright © 2003-2008 The Apache Software Foundation. All Rights Reserved.