Package org.atmosphere.inject
Class AtmosphereConfigInjectable
java.lang.Object
org.atmosphere.inject.AtmosphereConfigInjectable
- All Implemented Interfaces:
Injectable<AtmosphereConfig>
@ApplicationScoped
public class AtmosphereConfigInjectable
extends Object
implements Injectable<AtmosphereConfig>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioninjectable(AtmosphereConfig config) Returns an instance of the TbooleanReturn true if this class support injection of this type.
-
Constructor Details
-
AtmosphereConfigInjectable
public AtmosphereConfigInjectable()
-
-
Method Details
-
supportedType
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
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
-