org.sca4j.binding.jms.runtime.lookup.destination
Class NeverDestinationStrategy

java.lang.Object
  extended by org.sca4j.binding.jms.runtime.lookup.destination.NeverDestinationStrategy
All Implemented Interfaces:
DestinationStrategy

public class NeverDestinationStrategy
extends java.lang.Object
implements DestinationStrategy

The destination is always looked up and never created.


Constructor Summary
NeverDestinationStrategy()
           
 
Method Summary
 javax.jms.Destination getDestination(DestinationDefinition definition, javax.jms.ConnectionFactory cf, java.util.Hashtable<java.lang.String,java.lang.String> env, java.lang.ClassLoader classLoader)
          Gets the destination 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

NeverDestinationStrategy

public NeverDestinationStrategy()
Method Detail

getDestination

public javax.jms.Destination getDestination(DestinationDefinition definition,
                                            javax.jms.ConnectionFactory cf,
                                            java.util.Hashtable<java.lang.String,java.lang.String> env,
                                            java.lang.ClassLoader classLoader)
Description copied from interface: DestinationStrategy
Gets the destination based on SCA JMS binding rules.

Specified by:
getDestination in interface DestinationStrategy
Parameters:
definition - Destination definition.
cf - Connection factory.
env - JNDI environment.
Returns:
Lokked up or created destination.
See Also:
org.sca4j.binding.jms.runtime.lookup.destination.DestinationStrategy#getDestination(org.sca4j.binding.jms.common.DestinationDefinition, javax.jms.ConnectionFactory, java.util.Hashtable)


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