org.picocontainer
Interface PicoContainer

All Known Subinterfaces:
MutablePicoContainer
All Known Implementing Classes:
AbstractPicoContainer

public interface PicoContainer

This is the core interface for PicoContainer. It only has accessor methods. In order to register components in a PicoContainer, use a MutablePicoContainer, such as DefaultPicoContainer. The preferrable

Version:
$Revision: 1.11.2.5 $
Author:
Paul Hammant, Aslak Hellesøy, Jon Tirsén

Method Summary
 Object getComponentInstance(Object componentKey)
           
 Collection getComponentInstances()
           
 Collection getComponentKeys()
           
 Object getComponentMulticaster()
           
 Object getComponentMulticaster(boolean callInInstantiationOrder, boolean callUnmanagedComponents)
           
 boolean hasComponent(Object componentKey)
           
 

Method Detail

getComponentInstance

public Object getComponentInstance(Object componentKey)
                            throws PicoException
Throws:
PicoException

getComponentInstances

public Collection getComponentInstances()
                                 throws PicoException
Throws:
PicoException

hasComponent

public boolean hasComponent(Object componentKey)

getComponentMulticaster

public Object getComponentMulticaster(boolean callInInstantiationOrder,
                                      boolean callUnmanagedComponents)
                               throws PicoException
Throws:
PicoException

getComponentMulticaster

public Object getComponentMulticaster()
                               throws PicoException
Throws:
PicoException

getComponentKeys

public Collection getComponentKeys()


Copyright © 2003 Codehaus. All Rights Reserved.