com.metamatrix.platform.config.persistence.api
Class PersistentConnectionFactory

java.lang.Object
  extended by com.metamatrix.platform.config.persistence.api.PersistentConnectionFactory
Direct Known Subclasses:
FilePersistentConnectionFactory

public class PersistentConnectionFactory
extends java.lang.Object


Field Summary
static java.lang.String FILE_FACTORY_NAME
           
static java.lang.String PERSISTENT_FACTORY_NAME
           
 
Constructor Summary
PersistentConnectionFactory(java.util.Properties factoryProperties)
           
 
Method Summary
 PersistentConnection createPersistentConnection(boolean readOnly)
          Creates the the of PersistentConnection required to communicate to the configuration repository.
 java.util.Properties getProperties()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PERSISTENT_FACTORY_NAME

public static final java.lang.String PERSISTENT_FACTORY_NAME
See Also:
Constant Field Values

FILE_FACTORY_NAME

public static final java.lang.String FILE_FACTORY_NAME
Constructor Detail

PersistentConnectionFactory

public PersistentConnectionFactory(java.util.Properties factoryProperties)
Method Detail

getProperties

public java.util.Properties getProperties()

createPersistentConnection

public PersistentConnection createPersistentConnection(boolean readOnly)
                                                throws ConfigurationException
Creates the the of PersistentConnection required to communicate to the configuration repository.

Parameters:
properties - are the settings for persistence storage
Returns:
PersistentSource class for handling configuration storage
Throws:
ConfigurationException


Copyright © 2009. All Rights Reserved.