// Path: tiger/src/main/java/org/eddy/tiger/TigerBean.java
// public interface TigerBean<T> extends Bean<T> {
// 
// 	boolean isRight(String name, Type type);
// 	
// 	boolean isConstructor();
// 	
// 	ConstructorInjectionPoint getConstructorInjectionPoint();
// }


import java.lang.annotation.Annotation;
import javax.enterprise.context.spi.Context;
import javax.enterprise.context.spi.Contextual;
import javax.enterprise.context.spi.CreationalContext;
import org.eddy.tiger.TigerBean;
/**
 * 
 * @creatTime 上午10:56:43
 * @author Eddy
 */
package org.eddy.tiger.context;




/**
 * @author Eddy
 * 
 */
public abstract class AbstractContext implements Context {

	private Class<? extends Annotation> scop;

	/**
	 * 构造函数
	 * 
	 * @creatTime 上午11:07:09
	 * @author Eddy
	 */
	public AbstractContext() {
	}

	/**
	 * 构造函数
	 * 
	 * @creatTime 上午11:07:09
	 * @author Eddy
	 */
	public AbstractContext(Class<? extends Annotation> scop) {
		this.scop = scop;
	}
	
	/**
	 * 通过bean name 获取bean
	 * @param name
	 * @return
	 * @creatTime 下午4:07:21
	 * @author Eddy
	 */
// Path: tiger/src/main/java/org/eddy/tiger/TigerBean.java
// public interface TigerBean<T> extends Bean<T> {
// 
// 	boolean isRight(String name, Type type);
// 	
// 	boolean isConstructor();
// 	
// 	ConstructorInjectionPoint getConstructorInjectionPoint();
// }


// Path: tiger/src/main/java/org/eddy/tiger/context/AbstractContext.java
import java.lang.annotation.Annotation;
import javax.enterprise.context.spi.Context;
import javax.enterprise.context.spi.Contextual;
import javax.enterprise.context.spi.CreationalContext;
import org.eddy.tiger.TigerBean;

/**
 * 
 * @creatTime 上午10:56:43
 * @author Eddy
 */
package org.eddy.tiger.context;




/**
 * @author Eddy
 * 
 */
public abstract class AbstractContext implements Context {

	private Class<? extends Annotation> scop;

	/**
	 * 构造函数
	 * 
	 * @creatTime 上午11:07:09
	 * @author Eddy
	 */
	public AbstractContext() {
	}

	/**
	 * 构造函数
	 * 
	 * @creatTime 上午11:07:09
	 * @author Eddy
	 */
	public AbstractContext(Class<? extends Annotation> scop) {
		this.scop = scop;
	}
	
	/**
	 * 通过bean name 获取bean
	 * @param name
	 * @return
	 * @creatTime 下午4:07:21
	 * @author Eddy
	 */
	public abstract TigerBean<?> getByName(String name);