
org.hrodberaht.inject.internal.annotation.InjectionUtils Maven / Gradle / Ivy
/*
* ~ Copyright (c) 2010.
* ~ Licensed under the Apache License, Version 2.0 (the "License");
* ~ you may not use this file except in compliance with the License.
* ~ You may obtain a copy of the License at
* ~
* ~ http://www.apache.org/licenses/LICENSE-2.0
* ~
* ~ Unless required by applicable law or agreed to in writing, software
* ~ distributed under the License is distributed on an "AS IS" BASIS,
* ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* ~ See the License for the specific language governing permissions and limitations under the License.
*/
package org.hrodberaht.inject.internal.annotation;
import org.hrodberaht.inject.ScopeContainer;
import org.hrodberaht.inject.internal.exception.InjectRuntimeException;
import org.hrodberaht.inject.internal.InjectionKey;
import org.hrodberaht.inject.internal.annotation.scope.DefaultScopeHandler;
import org.hrodberaht.inject.internal.annotation.scope.InheritableThreadScopeHandler;
import org.hrodberaht.inject.internal.annotation.scope.ScopeHandler;
import org.hrodberaht.inject.internal.annotation.scope.SingletonScopeHandler;
import org.hrodberaht.inject.internal.annotation.scope.ThreadScopeHandler;
import org.hrodberaht.inject.scope.InheritableThreadScope;
import org.hrodberaht.inject.scope.ThreadScope;
import javax.inject.Inject;
import javax.inject.Provider;
import javax.inject.Scope;
import javax.inject.Singleton;
import java.lang.annotation.Annotation;
import java.lang.reflect.Constructor;
import java.lang.reflect.ParameterizedType;
import java.lang.reflect.Type;
import java.util.ArrayList;
import java.util.List;
/**
* Simple Java Utils - Container
*
* @author Robert Alexandersson
* 2010-maj-29 01:34:21
* @version 1.0
* @since 1.0
*/
public class InjectionUtils {
private InjectionUtils() {}
public static final Class INJECT = Inject.class;
private static final Class SCOPE = Scope.class;
public static Class
© 2015 - 2025 Weber Informatics LLC | Privacy Policy