T
- public class InjectIntrospectorAdapter<T> extends Object implements InjectIntrospector
InjectIntrospector
InjectIntrospector.WHEN
Constructor and Description |
---|
InjectIntrospectorAdapter() |
Modifier and Type | Method and Description |
---|---|
T |
injectable(AtmosphereConfig config)
Returns an instance of the T
|
Object |
injectable(AtmosphereResource resource)
Returns an instance of the T
|
void |
introspectField(Class clazz,
Field f)
Introspect the field
|
void |
introspectMethod(Method m,
Object instance)
Introspect the method
|
boolean |
supportedType(Type t)
Return true if this class support injection of this type.
|
public boolean supportedType(Type t)
Injectable
supportedType
in interface Injectable
t
- the fieldpublic void introspectField(Class clazz, Field f)
InjectIntrospector
introspectField
in interface InjectIntrospector
f
- the fieldpublic void introspectMethod(Method m, Object instance)
InjectIntrospector
introspectMethod
in interface InjectIntrospector
m
- the methodinstance
- the object to invoke the method onpublic Object injectable(AtmosphereResource resource)
InjectIntrospector
injectable
in interface InjectIntrospector
resource
- the AtmosphereResource
public T injectable(AtmosphereConfig config)
Injectable
injectable
in interface Injectable
config
- the AtmosphereConfig
Copyright © 2016. All rights reserved.