org.apache.avalon.activation.impl
Class DefaultComponentFactory

java.lang.Object
  extended byorg.apache.avalon.activation.impl.DefaultComponentFactory
All Implemented Interfaces:
ComponentFactory

public class DefaultComponentFactory
extends Object
implements ComponentFactory

A factory enabling the establishment of component instances.

Version:
$Revision: 1.13 $ $Date: 2004/05/06 21:02:30 $
Author:
Avalon Development Team

Constructor Summary
DefaultComponentFactory(SystemContext system, ComponentModel model)
          Creation of a new component factory.
 
Method Summary
 void etherialize(Object instance)
          Termination of the instance including all end-of-life processing.
protected  Logger getLogger()
           
 Object incarnate()
          Creation of a new instance including all deployment stage handling.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultComponentFactory

public DefaultComponentFactory(SystemContext system,
                               ComponentModel model)
Creation of a new component factory.

Parameters:
system - the system context
model - the component model
Method Detail

incarnate

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

Specified by:
incarnate in interface ComponentFactory
Returns:
the new incarnated instance
Throws:
LifecycleException

etherialize

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

Specified by:
etherialize in interface ComponentFactory
Parameters:
instance - the component instance to etherialize
Returns:
the new instance

getLogger

protected Logger getLogger()


Copyright © The Apache Software Foundation. All Rights Reserved.