|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.webbeans.Resolver
public class Resolver
Implementation of Web Beans type safe and name based bean resolution
| Constructor Summary | |
|---|---|
Resolver(ManagerImpl manager)
Constructor |
|
| Method Summary | ||
|---|---|---|
void |
addInjectionPoints(java.util.Collection<AnnotatedItem<?,?>> elements)
Add multiple injection points for later resolving using #registerInjectionPoint(AnnotatedItem). |
|
void |
clear()
Reset all cached injection points. |
|
|
get(AnnotatedItem<T,S> key)
Get the possible beans for the given element |
|
java.util.Set<Bean<?>> |
get(java.lang.String name)
Get the possible beans for the given name |
|
java.util.List<Decorator> |
resolveDecorators(java.util.Set<java.lang.Class<?>> types,
java.lang.annotation.Annotation[] bindingTypes)
Resolves decorators according to binding criteria |
|
void |
resolveInjectionPoints()
Resolve all injection points added using addInjectionPoints(Collection) |
|
java.util.List<Interceptor> |
resolveInterceptors(InterceptionType type,
java.lang.annotation.Annotation[] interceptorBindings)
Resolves interceptors according to binding criteria |
|
java.lang.String |
toString()
Gets a string representation |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Resolver(ManagerImpl manager)
manager - The Web Beans manager| Method Detail |
|---|
public void addInjectionPoints(java.util.Collection<AnnotatedItem<?,?>> elements)
#registerInjectionPoint(AnnotatedItem). Useful during bootstrap.
elements - The injection points to addpublic void clear()
public void resolveInjectionPoints()
addInjectionPoints(Collection)
public <T,S> java.util.Set<Bean<T>> get(AnnotatedItem<T,S> key)
key - The resolving criteria
public java.util.Set<Bean<?>> get(java.lang.String name)
name - The name to match
public java.util.List<Decorator> resolveDecorators(java.util.Set<java.lang.Class<?>> types,
java.lang.annotation.Annotation[] bindingTypes)
types - The set of API types to matchbindingTypes - The binding types to match
public java.util.List<Interceptor> resolveInterceptors(InterceptionType type,
java.lang.annotation.Annotation[] interceptorBindings)
types - The set of API types to matchbindingTypes - The binding types to match
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||