org.jage.platform.component.pico
Class PicoComponentInstanceProviderFactory

java.lang.Object
  extended by org.jage.platform.component.pico.PicoComponentInstanceProviderFactory

public abstract class PicoComponentInstanceProviderFactory
extends Object

Creates PicoContainer hierarchy using list of IComponentDefinition objects.

Author:
AGH AgE Team

Constructor Summary
PicoComponentInstanceProviderFactory()
           
 
Method Summary
static IPicoComponentInstanceProvider createInstanceProvider()
          Creates a new empty PicoContainer.
static IPicoComponentInstanceProvider createInstanceProvider(Collection<IComponentDefinition> defs)
          Creates PicoContainer hierarchy for a given list of IComponentDefinition's.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PicoComponentInstanceProviderFactory

public PicoComponentInstanceProviderFactory()
Method Detail

createInstanceProvider

public static IPicoComponentInstanceProvider createInstanceProvider(Collection<IComponentDefinition> defs)
Creates PicoContainer hierarchy for a given list of IComponentDefinition's.

Parameters:
defs - list of IComponentDefinition's
Returns:
a root PicoContainer

createInstanceProvider

public static IPicoComponentInstanceProvider createInstanceProvider()
Creates a new empty PicoContainer.

Returns:
A new and empty PicoContainer.


Copyright © 2006-2011 AGH University of Science and Technology. All Rights Reserved.