Package org.atmosphere.inject
Class AtmosphereConfigInjectable
- java.lang.Object
-
- org.atmosphere.inject.AtmosphereConfigInjectable
-
- All Implemented Interfaces:
Injectable<AtmosphereConfig>
@ApplicationScoped public class AtmosphereConfigInjectable extends java.lang.Object implements Injectable<AtmosphereConfig>
-
-
Constructor Summary
Constructors Constructor Description AtmosphereConfigInjectable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AtmosphereConfiginjectable(AtmosphereConfig config)Returns an instance of the TbooleansupportedType(java.lang.reflect.Type t)Return true if this class support injection of this type.
-
-
-
Method Detail
-
supportedType
public boolean supportedType(java.lang.reflect.Type t)
Description copied from interface:InjectableReturn true if this class support injection of this type.- Specified by:
supportedTypein interfaceInjectable<AtmosphereConfig>- Parameters:
t- the field- Returns:
- true if this class support injection
-
injectable
public AtmosphereConfig injectable(AtmosphereConfig config)
Description copied from interface:InjectableReturns an instance of the T- Specified by:
injectablein interfaceInjectable<AtmosphereConfig>- Parameters:
config- theAtmosphereConfig- Returns:
- Return an instance of the T
-
-