org.openanzo.services
Class JmsProviderFactory
java.lang.Object
org.openanzo.services.JmsProviderFactory
public class JmsProviderFactory
- extends java.lang.Object
Factory to create IJmsProvider based on configuration properties passed in on create method
- Author:
- Matthew Roy ( mroy@cambridgesemantics.com )
|
Method Summary |
static IJmsProvider |
createJmsProvider(java.util.Properties properties)
Attempts to dynamically load a class responsible for connection to notification/jms server. |
static IJmsProvider |
createJmsProvider(java.lang.String jmsProviderClass)
Attempts to dynamically load a class responsible for connection to notification/jms server. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JmsProviderFactory
public JmsProviderFactory()
createJmsProvider
public static IJmsProvider createJmsProvider(java.util.Properties properties)
- Attempts to dynamically load a class responsible for connection to notification/jms server. The class must implement
IJmsProvider.
ActiveMqProvider is the default/fallback.
- Parameters:
properties - Configuration properties
- Returns:
- IJMSProvider based on provided properties
createJmsProvider
public static IJmsProvider createJmsProvider(java.lang.String jmsProviderClass)
- Attempts to dynamically load a class responsible for connection to notification/jms server. The class must implement
IJmsProvider.
ActiveMqProvider is the default/fallback.
- Parameters:
jmsProviderClass - Class Name of implementation of IJmsProvider
- Returns:
- IJMSProvider based on provided class name
Copyright © 2007 Cambridge Semantics Inc.. All Rights Reserved.