org.apache.wsif.util
Class WSIFCorrelationServiceLocator

java.lang.Object
  extended byorg.apache.wsif.util.WSIFCorrelationServiceLocator

public class WSIFCorrelationServiceLocator
extends java.lang.Object

WSIFCorrelationServiceLocator is a helper class for locating the WSIFCorrelationService. This may either be the WSIF provided WSIFDefaultCorrelationService, or, when running in a managed container the container may provide its own implementation which this will locate by doing a JNDI lookup.

Author:
Ant Elder

Constructor Summary
WSIFCorrelationServiceLocator()
           
 
Method Summary
static WSIFCorrelationService getCorrelationService()
          Returns the WSIFCorrelationService to be used for persisting asynchronous requests.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSIFCorrelationServiceLocator

public WSIFCorrelationServiceLocator()
Method Detail

getCorrelationService

public static WSIFCorrelationService getCorrelationService()
Returns the WSIFCorrelationService to be used for persisting asynchronous requests. This attempts to locate a CorrelationService with a JNDI lookup for "java:comp/wsif/WSIFCorrelationService", if that fails then the WSIFDefaultCorrelationService is returned.

Returns:
a WSIFCorrelationService


Copyright ? 2002, 2006 Apache XML Project. All Rights Reserved.