Package org.atmosphere.inject
Class AtmosphereFrameworkInjectable
- java.lang.Object
-
- org.atmosphere.inject.AtmosphereFrameworkInjectable
-
- All Implemented Interfaces:
Injectable<AtmosphereFramework>
@ApplicationScoped public class AtmosphereFrameworkInjectable extends java.lang.Object implements Injectable<AtmosphereFramework>
-
-
Constructor Summary
Constructors Constructor Description AtmosphereFrameworkInjectable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AtmosphereFrameworkinjectable(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<AtmosphereFramework>- Parameters:
t- the field- Returns:
- true if this class support injection
-
injectable
public AtmosphereFramework injectable(AtmosphereConfig config)
Description copied from interface:InjectableReturns an instance of the T- Specified by:
injectablein interfaceInjectable<AtmosphereFramework>- Parameters:
config- theAtmosphereConfig- Returns:
- Return an instance of the T
-
-