net.fortuna.mstor.connector
Class ProtocolConnectorFactory

java.lang.Object
  extended by net.fortuna.mstor.connector.ProtocolConnectorFactory

public class ProtocolConnectorFactory
extends java.lang.Object

Author:
Ben
 $Id$

 Created on 05/08/2007
 

Constructor Summary
ProtocolConnectorFactory()
           
 
Method Summary
 ProtocolConnector create(javax.mail.URLName url, MStorStore store, javax.mail.Session session)
           
static ProtocolConnectorFactory getInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProtocolConnectorFactory

public ProtocolConnectorFactory()
Method Detail

create

public ProtocolConnector create(javax.mail.URLName url,
                                MStorStore store,
                                javax.mail.Session session)
Parameters:
url - a URL location of a connector-specific store
store - a store instance to associate with the connector
session - a session instance to associate with the connector
Returns:
a new implementation-specific connector for the specified URL

getInstance

public static final ProtocolConnectorFactory getInstance()
Returns:
the instance


Copyright © 2004-2011 Micronode. All Rights Reserved.