org.mule.transport
Class SingleAttemptConnectionStrategy

java.lang.Object
  extended by org.mule.transport.AbstractConnectionStrategy
      extended by org.mule.transport.SingleAttemptConnectionStrategy
All Implemented Interfaces:
ConnectionStrategy

public class SingleAttemptConnectionStrategy
extends AbstractConnectionStrategy

Attempts to make a connection once and fails if there is an exception


Field Summary
 
Fields inherited from class org.mule.transport.AbstractConnectionStrategy
logger
 
Constructor Summary
SingleAttemptConnectionStrategy()
           
 
Method Summary
 void doConnect(Connectable connectable)
           
 void resetState()
          Resets any state stored in the retry strategy
 
Methods inherited from class org.mule.transport.AbstractConnectionStrategy
connect, getDescription, getWorkManager, isDoThreading, setDoThreading, setWorkManager
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SingleAttemptConnectionStrategy

public SingleAttemptConnectionStrategy()
Method Detail

doConnect

public void doConnect(Connectable connectable)
               throws FatalConnectException
Specified by:
doConnect in class AbstractConnectionStrategy
Throws:
FatalConnectException

resetState

public void resetState()
Resets any state stored in the retry strategy

Specified by:
resetState in class AbstractConnectionStrategy


Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.