Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.nanocontainer.reflection
Class ImplementationHidingNanoPicoContainer

    java.lang.Object
      org.picocontainer.alternatives.AbstractDelegatingMutablePicoContainer
          org.nanocontainer.reflection.AbstractNanoPicoContainer
              org.nanocontainer.reflection.ImplementationHidingNanoPicoContainer

All Implemented Interfaces:
  Serializable, NanoContainer, NanoPicoContainer, org.picocontainer.Disposable, org.picocontainer.MutablePicoContainer, org.picocontainer.PicoContainer, org.picocontainer.Startable

    public class ImplementationHidingNanoPicoContainer

extends AbstractNanoPicoContainer
implements NanoPicoContainer, Serializable

This is a MutablePicoContainer that supports soft composition and hides implementations where it can.

In terms of implementation it adopts the behaviour of ImplementationHidingPicoContainer and DefaulNanoContainer

Version:
  $Revision: 2964 $
Author:
  Paul Hammant, Michael Rimov
See Also:
  Serialized Form

Field Summary

Fields inherited from class org.nanocontainer.reflection.AbstractNanoPicoContainer
`container, namedChildContainers`

Constructor Summary
`` | `ImplementationHidingNanoPicoContainer()`
`` | `ImplementationHidingNanoPicoContainer(ClassLoader classLoader)`
`` | `ImplementationHidingNanoPicoContainer(ClassLoader classLoader, org.picocontainer.defaults.ComponentAdapterFactory caf, org.picocontainer.PicoContainer parent)`
`` | `ImplementationHidingNanoPicoContainer(ClassLoader classLoader, org.picocontainer.PicoContainer parent)`
`protected` | `ImplementationHidingNanoPicoContainer(ImplementationHidingNanoPicoContainer parent)` Copy Constructor.
`` | `ImplementationHidingNanoPicoContainer(org.picocontainer.PicoContainer pc)`

Method Summary
`protected AbstractNanoPicoContainer` | `createChildContainer()`

Methods inherited from class org.nanocontainer.reflection.AbstractNanoPicoContainer
`addChildContainer, addChildContainer, addClassLoaderURL, addDecoratingPicoContainer, getComponentClassLoader, getComponentInstance, getComponentInstanceOfType, getNamedContainers, getPico, makeChildContainer, makeChildContainer, registerComponentImplementation, registerComponentImplementation, registerComponentImplementation, registerComponentImplementation, registerComponentImplementation, removeChildContainer`

Methods inherited from class org.picocontainer.alternatives.AbstractDelegatingMutablePicoContainer
`accept, dispose, equals, getComponentAdapter, getComponentAdapterOfType, getComponentAdapters, getComponentAdaptersOfType, getComponentInstanceOfType, getComponentInstances, getComponentInstancesOfType, getDelegate, getParent, registerComponent, registerComponentImplementation, registerComponentImplementation, registerComponentImplementation, registerComponentInstance, registerComponentInstance, start, stop, unregisterComponent, unregisterComponentByInstance, verify`

Methods inherited from class java.lang.Object
`clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Methods inherited from interface org.nanocontainer.NanoPicoContainer
`addChildContainer, makeChildContainer`

Methods inherited from interface org.picocontainer.MutablePicoContainer
`addChildContainer, makeChildContainer, registerComponent, registerComponentImplementation, registerComponentImplementation, registerComponentImplementation, registerComponentInstance, registerComponentInstance, removeChildContainer, unregisterComponent, unregisterComponentByInstance`

Methods inherited from interface org.picocontainer.PicoContainer
`accept, getComponentAdapter, getComponentAdapterOfType, getComponentAdapters, getComponentAdaptersOfType, getComponentInstance, getComponentInstanceOfType, getComponentInstances, getComponentInstancesOfType, getParent, verify`

Methods inherited from interface org.picocontainer.Startable
`start, stop`

Methods inherited from interface org.picocontainer.Disposable
`dispose`

Methods inherited from interface org.nanocontainer.NanoContainer
`addClassLoaderURL, addDecoratingPicoContainer, getComponentClassLoader, getComponentInstanceOfType, getPico, registerComponentImplementation, registerComponentImplementation, registerComponentImplementation, registerComponentImplementation, registerComponentImplementation`

Constructor Detail

### ImplementationHidingNanoPicoContainer

    public ImplementationHidingNanoPicoContainer(ClassLoader classLoader,
                                                 org.picocontainer.defaults.ComponentAdapterFactory caf,
                                                 org.picocontainer.PicoContainer parent)

### ImplementationHidingNanoPicoContainer

    public ImplementationHidingNanoPicoContainer(ClassLoader classLoader,
                                                 org.picocontainer.PicoContainer parent)

### ImplementationHidingNanoPicoContainer

    public ImplementationHidingNanoPicoContainer(org.picocontainer.PicoContainer pc)

### ImplementationHidingNanoPicoContainer

    public ImplementationHidingNanoPicoContainer(ClassLoader classLoader)

### ImplementationHidingNanoPicoContainer

    public ImplementationHidingNanoPicoContainer()

### ImplementationHidingNanoPicoContainer

    protected ImplementationHidingNanoPicoContainer(ImplementationHidingNanoPicoContainer parent)

  Copy Constructor. Makes a new ImplementationHidingNanoPicoContainer with the same attributes - ClassLoader, child PicoContainer type, ComponentAdapterFactory - as the parent.

  `Note:` This constructor is protected because are existing scripts that call `new ImplementationHidingNanoPicoContainer(PicoContainer)`, and they get this constructor instead (which has different behavior).

  Parameters:
    `parent` - ImplementationHidingNanoPicoContainer

Method Detail

### createChildContainer

    protected AbstractNanoPicoContainer createChildContainer()

  Specified by:
    `createChildContainer` in class `AbstractNanoPicoContainer`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2007 Codehaus. All Rights Reserved.