Package org.atmosphere.inject
Class AtmosphereProducers
- java.lang.Object
-
- org.atmosphere.inject.AtmosphereProducers
-
- All Implemented Interfaces:
AtmosphereConfigAware,CDIProducer
@ApplicationScoped public class AtmosphereProducers extends java.lang.Object implements CDIProducer
Atmosphere Internal Object Injection for DI supporting JSR 330
-
-
Constructor Summary
Constructors Constructor Description AtmosphereProducers()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigure(AtmosphereConfig config)Configure an AtmosphereFramework object.AtmosphereConfiggetAtmosphereConfig()AtmosphereFrameworkgetAtmosphereFramework()AtmosphereResourceFactorygetAtmosphereResourceFactory()AtmosphereResourceSessionFactorygetAtmosphereResourceSessionFactory()BroadcasterFactorygetBroadcasterFactory()MetaBroadcastergetMetaBroadcaster()WebSocketFactorygetWebSocketFactory()
-
-
-
Method Detail
-
configure
public void configure(AtmosphereConfig config)
Description copied from interface:AtmosphereConfigAwareConfigure an AtmosphereFramework object.- Specified by:
configurein interfaceAtmosphereConfigAware- Parameters:
config-AtmosphereConfig
-
getBroadcasterFactory
@Produces public BroadcasterFactory getBroadcasterFactory()
-
getAtmosphereResourceFactory
@Produces public AtmosphereResourceFactory getAtmosphereResourceFactory()
-
getAtmosphereResourceSessionFactory
@Produces public AtmosphereResourceSessionFactory getAtmosphereResourceSessionFactory()
-
getAtmosphereConfig
@Produces public AtmosphereConfig getAtmosphereConfig()
-
getAtmosphereFramework
@Produces public AtmosphereFramework getAtmosphereFramework()
-
getMetaBroadcaster
@Produces public MetaBroadcaster getMetaBroadcaster()
-
getWebSocketFactory
@Produces public WebSocketFactory getWebSocketFactory()
-
-