Package net.solarnetwork.support
Class SimpMessageSendingOperationsFactoryBean
java.lang.Object
net.solarnetwork.support.AutowiredPropertyFactoryBean<org.springframework.messaging.simp.SimpMessageSendingOperations>
net.solarnetwork.support.SimpMessageSendingOperationsFactoryBean
- All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean<org.springframework.messaging.simp.SimpMessageSendingOperations>
public class SimpMessageSendingOperationsFactoryBean
extends AutowiredPropertyFactoryBean<org.springframework.messaging.simp.SimpMessageSendingOperations>
Factory bean to facilitate auto-wiring of a
SimpMessageSendingOperations.
With Spring's websocket support, the automatically registered
SimpMessageSendingOperations has a generated ID, and cannot be easily
exported as an OSGi service. This factory can overcome that, by auto-wiring
the object as a property, then exporting the bean with a known ID (or simply
as an OSGi service).- Version:
- 1.0
- Author:
- matt
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class net.solarnetwork.support.AutowiredPropertyFactoryBean
getObject, getObjectType, isSingleton, setObject
-
Constructor Details
-
SimpMessageSendingOperationsFactoryBean
public SimpMessageSendingOperationsFactoryBean()Constructor.
-