Class InjectionCollection
- java.lang.Object
-
- org.eclipse.jetty.plus.annotation.InjectionCollection
-
public class InjectionCollection extends java.lang.ObjectInjectionCollection Map of classname to all injections requested on that class, whether by declaration in web.xml or via equivalent annotations. This class is not threadsafe for concurrent modifications, but is threadsafe for readers with concurrent modifications.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringINJECTION_COLLECTION
-
Constructor Summary
Constructors Constructor Description InjectionCollection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(Injection injection)InjectiongetInjection(java.lang.String jndiName, java.lang.Class<?> clazz, java.lang.reflect.Field field)InjectiongetInjection(java.lang.String jndiName, java.lang.Class<?> clazz, java.lang.reflect.Method method, java.lang.Class<?> paramClass)java.util.Set<Injection>getInjections(java.lang.String className)voidinject(java.lang.Object injectable)
-
-
-
Field Detail
-
INJECTION_COLLECTION
public static final java.lang.String INJECTION_COLLECTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
add
public void add(Injection injection)
-
getInjections
public java.util.Set<Injection> getInjections(java.lang.String className)
-
getInjection
public Injection getInjection(java.lang.String jndiName, java.lang.Class<?> clazz, java.lang.reflect.Field field)
-
getInjection
public Injection getInjection(java.lang.String jndiName, java.lang.Class<?> clazz, java.lang.reflect.Method method, java.lang.Class<?> paramClass)
-
inject
public void inject(java.lang.Object injectable)
-
-