org.ikasan.framework.messaging.jms
Interface JndiDestinationFactory

All Known Implementing Classes:
DefaultJndiDestinationFactory

public interface JndiDestinationFactory

Interface definition for factory bean that provides runtime JNDI lookup for SDestinations

Author:
Ikasan Development Team

Method Summary
 javax.jms.Destination getDestination(boolean allowCachedResult)
          Retrieves the configured Destination if possible
 Map<?,?> getEnvironment()
          Accessor for environment
 String getJndiName()
          Accessor for jndiName
 

Method Detail

getDestination

javax.jms.Destination getDestination(boolean allowCachedResult)
                                     throws NamingException
Retrieves the configured Destination if possible

Parameters:
allowCachedResult - - allows the implementation to return a previous result if one exists
Returns:
Destination specified by configured jndiName and server
Throws:
NamingException

getEnvironment

Map<?,?> getEnvironment()
Accessor for environment

Returns:
environment

getJndiName

String getJndiName()
Accessor for jndiName

Returns:
jndiName


Copyright © 2007-2012 Ikasan. All Rights Reserved.