org.apache.avalon.activation
Interface ComponentFactory

All Known Implementing Classes:
DefaultComponentFactory

public interface ComponentFactory

A factory that provides object instantiation. A instance factory will typically encapsulate component constuction semantic, lifecycle processing and end-of-life processing.

Version:
$Revision: 1.2 $ $Date: 2004/03/17 10:30:09 $
Author:
Avalon Development Team

Method Summary
 void etherialize(Object instance)
          Termination of the instance including all end-of-life processing.
 Object incarnate()
          Creation of a new instance including all deployment stage handling.
 

Method Detail

incarnate

public Object incarnate()
                 throws Exception
Creation of a new instance including all deployment stage handling.

Returns:
the new instance
Throws:
Exception

etherialize

public void etherialize(Object instance)
Termination of the instance including all end-of-life processing.

Parameters:
instance - the component instance


Copyright © The Apache Software Foundation. All Rights Reserved.