T
- the Object to inject.public interface InjectIntrospector<T> extends Injectable
InjectableObjectFactory
to inspect fields and methods before they get injected or executed.
This interface supports application scoped @ApplicationScoped
and request scoped @RequestScoped
injection.Modifier and Type | Interface and Description |
---|---|
static class |
InjectIntrospector.WHEN |
Modifier and Type | Method and Description |
---|---|
T |
injectable(AtmosphereResource resource)
Returns an instance of the T
|
void |
introspectField(Class<T> clazz,
Field f)
Introspect the field
|
void |
introspectMethod(Method m,
Object instance)
Introspect the method
|
injectable, supportedType
void introspectField(Class<T> clazz, Field f)
f
- the fieldclazz
- void introspectMethod(Method m, Object instance)
m
- the methodinstance
- the object to invoke the method onT injectable(AtmosphereResource resource)
resource
- the AtmosphereResource
Copyright © 2016. All rights reserved.