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.picocontainer
Interface Injector<T>

All Superinterfaces:
  ComponentAdapter<T>

All Known Implementing Classes:
  AbstractInjector, AnnotatedFieldInjector, AnnotatedMethodInjector, CompositeInjector, ConstructorInjector, FactoryInjector, IterativeInjector, MethodInjector, MethodInjector.ByReflectionMethod, MultiInjector, NamedFieldInjector, ProviderAdapter, SetterInjector, SingleMemberInjector, TypedFieldInjector

    public interface Injector<T>

extends ComponentAdapter<T>

Implementors are responsible for instantiating and injecting dependancies into Constructors, Methods and Fields.

Nested Class Summary

Nested classes/interfaces inherited from interface org.picocontainer.ComponentAdapter
`ComponentAdapter.NOTHING`

Method Summary
`Object` | `decorateComponentInstance(PicoContainer container, Type into, T instance)` A preexiting component instance can be injected into after instantiation

Methods inherited from interface org.picocontainer.ComponentAdapter
`accept, findAdapterOfType, getComponentImplementation, getComponentInstance, getComponentInstance, getComponentKey, getDelegate, getDescriptor, verify`

Method Detail

### decorateComponentInstance

    Object decorateComponentInstance(PicoContainer container,
                                     Type into,
                                     T instance)

  A preexiting component instance can be injected into after instantiation

  Parameters:
    `container` - the container that can provide injectable dependencies
    `into` -
    `instance` - the instance to
  Returns:

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-2009 Codehaus. All Rights Reserved.