FileDocCategorySizeDatePackage
InjectionInfo.javaAPI DocGlassfish v2 API4232Fri May 04 22:31:22 BST 2007com.sun.enterprise.deployment

InjectionInfo

public class InjectionInfo extends Object

Fields Summary
private List
injectionResources
private String
postConstructMethodName
private transient Method
postConstructMethod
private String
preDestroyMethodName
private transient Method
preDestroyMethod
private String
className
Constructors Summary
public InjectionInfo()

    
public InjectionInfo(String cName, String postmName, String premName, List resources)

        className = cName;
        postConstructMethodName = postmName;
        preDestroyMethodName = premName;
        injectionResources = resources;
    
Methods Summary
public java.lang.StringgetClassName()

        return className;
    
public java.util.ListgetInjectionResources()

        if (injectionResources == null) {
            injectionResources = new LinkedList<InjectionCapable>();
        }
        return injectionResources;
    
public java.lang.reflect.MethodgetPostConstructMethod()

        return postConstructMethod;
    
public java.lang.StringgetPostConstructMethodName()

        return postConstructMethodName;
    
public java.lang.reflect.MethodgetPreDestroyMethod()

        return preDestroyMethod;
    
public java.lang.StringgetPreDestroyMethodName()

        return preDestroyMethodName;
    
public voidsetClassName(java.lang.String name)

        className = name;
    
public voidsetInjectionResources(java.util.List resources)

        injectionResources = resources; 
    
public voidsetPostConstructMethod(java.lang.reflect.Method method)

        postConstructMethod = method;
    
public voidsetPostConstructMethodName(java.lang.String methodName)

        postConstructMethodName = methodName;
    
public voidsetPreDestroyMethod(java.lang.reflect.Method method)

        preDestroyMethod = method;