org.milyn.routing.jms.message.creationstrategies
Class StrategyFactory

java.lang.Object
  extended by org.milyn.routing.jms.message.creationstrategies.StrategyFactory

public final class StrategyFactory
extends Object

Factory for creating MessageCreationStrategy instaces

Author:
Daniel Bevenius

Field Summary
static String MAP_MESSAGE
           
static String OBJECT_MESSAGE
           
static String TEXT_MESSAGE
           
 
Method Summary
 MessageCreationStrategy createStrategy(String messageType)
           
static StrategyFactory getInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TEXT_MESSAGE

public static final String TEXT_MESSAGE
See Also:
Constant Field Values

OBJECT_MESSAGE

public static final String OBJECT_MESSAGE
See Also:
Constant Field Values

MAP_MESSAGE

public static final String MAP_MESSAGE
See Also:
Constant Field Values
Method Detail

getInstance

public static StrategyFactory getInstance()

createStrategy

public MessageCreationStrategy createStrategy(String messageType)


Copyright © 2014. All Rights Reserved.