Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
/*****************************************************************************
* Copyright (c) PicoContainer Organization. All rights reserved. *
* ------------------------------------------------------------------------- *
* The software in this package is published under the terms of the BSD *
* style license a copy of which has been included with this distribution in *
* the LICENSE.txt file. *
* *
* Idea by Rachel Davies, Original code by Aslak Hellesoy and Paul Hammant *
*****************************************************************************/
package org.picocontainer.injectors;
import java.lang.reflect.AccessibleObject;
import java.security.AccessController;
import java.security.PrivilegedAction;
import java.util.Properties;
import org.picocontainer.Characteristics;
import org.picocontainer.ComponentAdapter;
import org.picocontainer.ComponentMonitor;
import org.picocontainer.LifecycleStrategy;
import org.picocontainer.Parameter;
import org.picocontainer.PicoCompositionException;
import org.picocontainer.annotations.Inject;
import org.picocontainer.behaviors.AbstractBehaviorFactory;
/**
* Creates injector instances, depending on the injection characteristics of the component class.
* It will attempt to create a component adapter with - in order of priority:
*
*
Annotated field injection: if annotation {@link org.picocontainer.annotations.Inject} is found for field
*
Annotated method injection: if annotation {@link org.picocontainer.annotations.Inject} is found for method
*
Setter injection: if {@link Characteristics.SDI} is found
*
Method injection: if {@link Characteristics.METHOD_INJECTION} if found
*
Constructor injection (the default, must find {@link Characteristics.CDI})