Class PersistenceMessageFactory
java.lang.Object
com.broadleafcommerce.common.messaging.PersistenceMessageFactory
- All Implemented Interfaces:
 MessageFactory<PersistenceMessage<Object>>
public class PersistenceMessageFactory
extends Object
implements MessageFactory<PersistenceMessage<Object>>
MessageFactory for creating messages suitable for the PersistenceProducer channel- Author:
 - Jeff Fischer
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.messaging.Message<PersistenceMessage<Object>>createMessage(Object entity) Create aMessagebased on an entity instance.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.broadleafcommerce.common.messaging.notification.MessageFactory
createMessage 
- 
Constructor Details
- 
PersistenceMessageFactory
public PersistenceMessageFactory() 
 - 
 - 
Method Details
- 
createMessage
public org.springframework.messaging.Message<PersistenceMessage<Object>> createMessage(Object entity) Description copied from interface:MessageFactoryCreate aMessagebased on an entity instance.- Specified by:
 createMessagein interfaceMessageFactory<PersistenceMessage<Object>>- Parameters:
 entity- The entity whose information informs theMessage- Returns:
 - The message to send via the 
NotificationHandler 
 
 -