org.apache.avalon.activation.impl
Class DefaultLifestyleFactory

java.lang.Object
  extended byorg.apache.avalon.activation.impl.DefaultLifestyleFactory
All Implemented Interfaces:
LifestyleFactory

public class DefaultLifestyleFactory
extends Object
implements LifestyleFactory

A factory enabling the establishment of runtime handlers.

Version:
$Revision: 1.4 $ $Date: 2004/03/17 10:30:07 $
Author:
Avalon Development Team

Constructor Summary
DefaultLifestyleFactory(SystemContext system)
          Creation of a new default lifestyle factory.
 
Method Summary
 LifestyleManager createLifestyleManager(ComponentModel model)
          Create a new lifestyle manager.
protected  LifestyleManager createLifestyleManager(ComponentModel model, ComponentFactory factory)
          Create a new lifestyle manager.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultLifestyleFactory

public DefaultLifestyleFactory(SystemContext system)
Creation of a new default lifestyle factory.

Parameters:
system - the system context
Method Detail

createLifestyleManager

public LifestyleManager createLifestyleManager(ComponentModel model)
Create a new lifestyle manager.

Specified by:
createLifestyleManager in interface LifestyleFactory
Parameters:
model - the component model
Returns:
the lifestyle manager

createLifestyleManager

protected LifestyleManager createLifestyleManager(ComponentModel model,
                                                  ComponentFactory factory)
Create a new lifestyle manager.

Parameters:
model - the component model
factory - the component factory
Returns:
the lifestyle manager


Copyright © The Apache Software Foundation. All Rights Reserved.