org.apache.geronimo.j2ee.annotation
Class Holder

java.lang.Object
  extended by org.apache.geronimo.j2ee.annotation.Holder
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AnnotationHolder

public class Holder
extends Object
implements Serializable

See Also:
Serialized Form

Field Summary
static Holder EMPTY
           
 
Constructor Summary
Holder()
           
Holder(Holder source)
           
 
Method Summary
 void addInjection(String className, Injection newInjection)
           
 void addInjectionMap(Map<String,Set<Injection>> injectionMap)
           
 void addInjections(String className, Collection<Injection> newInjections)
           
 void addPostConstructs(Map<String,LifecycleMethod> newPostConstructs)
           
 void addPreDestroys(Map<String,LifecycleMethod> newPreDestroys)
           
static void apply(Object o, Class clazz, Map<String,LifecycleMethod> map)
           
 void destroyInstance(Object o)
           
 Map<String,Set<Injection>> getInjectionMap()
           
 List<Injection> getInjections(String className)
           
 Map<String,LifecycleMethod> getPostConstruct()
           
 Map<String,LifecycleMethod> getPreDestroy()
           
 boolean isEmpty()
           
 Object newInstance(String className, ClassLoader classLoader, Context context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EMPTY

public static final Holder EMPTY
Constructor Detail

Holder

public Holder()

Holder

public Holder(Holder source)
Method Detail

addInjection

public void addInjection(String className,
                         Injection newInjection)

addInjections

public void addInjections(String className,
                          Collection<Injection> newInjections)

addPostConstructs

public void addPostConstructs(Map<String,LifecycleMethod> newPostConstructs)

addPreDestroys

public void addPreDestroys(Map<String,LifecycleMethod> newPreDestroys)

addInjectionMap

public void addInjectionMap(Map<String,Set<Injection>> injectionMap)

getInjections

public List<Injection> getInjections(String className)

getInjectionMap

public Map<String,Set<Injection>> getInjectionMap()

getPostConstruct

public Map<String,LifecycleMethod> getPostConstruct()

getPreDestroy

public Map<String,LifecycleMethod> getPreDestroy()

isEmpty

public boolean isEmpty()

newInstance

public Object newInstance(String className,
                          ClassLoader classLoader,
                          Context context)
                   throws IllegalAccessException,
                          InstantiationException
Throws:
IllegalAccessException
InstantiationException

destroyInstance

public void destroyInstance(Object o)
                     throws Exception
Throws:
Exception

apply

public static void apply(Object o,
                         Class clazz,
                         Map<String,LifecycleMethod> map)
                  throws IllegalAccessException,
                         InvocationTargetException
Throws:
IllegalAccessException
InvocationTargetException


Copyright © 2003-2008 The Apache Geronimo development community. All Rights Reserved.