org.sca4j.binding.jms.runtime.lookup.connectionfactory
Class NeverConnectionFactoryStrategy

java.lang.Object
  extended by org.sca4j.binding.jms.runtime.lookup.connectionfactory.NeverConnectionFactoryStrategy
All Implemented Interfaces:
ConnectionFactoryStrategy

public class NeverConnectionFactoryStrategy
extends java.lang.Object
implements ConnectionFactoryStrategy

The connection factory is always looked up and never created.


Constructor Summary
NeverConnectionFactoryStrategy()
           
 
Method Summary
 javax.jms.ConnectionFactory getConnectionFactory(ConnectionFactoryDefinition definition, java.util.Hashtable<java.lang.String,java.lang.String> env, java.lang.ClassLoader classLoader)
          Gets the connection factory based on SCA JMS binding rules.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NeverConnectionFactoryStrategy

public NeverConnectionFactoryStrategy()
Method Detail

getConnectionFactory

public javax.jms.ConnectionFactory getConnectionFactory(ConnectionFactoryDefinition definition,
                                                        java.util.Hashtable<java.lang.String,java.lang.String> env,
                                                        java.lang.ClassLoader classLoader)
Description copied from interface: ConnectionFactoryStrategy
Gets the connection factory based on SCA JMS binding rules.

Specified by:
getConnectionFactory in interface ConnectionFactoryStrategy
Parameters:
definition - Connection factory definition.
env - JNDI environment.
Returns:
Lokked up or created destination.
See Also:
org.sca4j.binding.jms.runtime.lookup.connectionfactory.ConnectionFactoryStrategy#getConnectionFactory(org.sca4j.binding.jms.common.ConnectionFactoryDefinition, java.util.Hashtable)


Copyright © 2008-2010 Service Symphony. All Rights Reserved.