com.calfater.mailcarbon.impl.manager.message
Class MessageManagerFactory

java.lang.Object
  extended by com.calfater.mailcarbon.impl.manager.message.MessageManagerFactory

public class MessageManagerFactory
extends java.lang.Object

A factory for creating MessageManager objects.

Author:
Sebastien Borie

Constructor Summary
MessageManagerFactory()
           
 
Method Summary
static IMessageManager getMessageManager()
          Gets the message manager.
static IMessageManager getMessageManager(int maxAttempts)
          Gets the message manager.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageManagerFactory

public MessageManagerFactory()
Method Detail

getMessageManager

public static IMessageManager getMessageManager(int maxAttempts)
Gets the message manager.

Parameters:
maxAttempts - the max attempts
Returns:
the message manager

getMessageManager

public static IMessageManager getMessageManager()
Gets the message manager.

Returns:
the message manager


Copyright © 2010. All Rights Reserved.