com.metamatrix.platform.config.persistence.api
Class PersistentConnectionFactory
java.lang.Object
com.metamatrix.platform.config.persistence.api.PersistentConnectionFactory
- Direct Known Subclasses:
- FilePersistentConnectionFactory, JDBCPersistentConnectionFactory
public abstract class PersistentConnectionFactory
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
JDBC_FACTORY_NAME
public static final java.lang.String JDBC_FACTORY_NAME
PersistentConnectionFactory
public PersistentConnectionFactory(java.util.Properties factoryProperties)
getProperties
public java.util.Properties getProperties()
createPersistentConnectionFactory
public static final PersistentConnectionFactory createPersistentConnectionFactory(java.util.Properties props)
throws ConfigurationException
- createPersistentConnectionFactory is used for bootstrapping the system.
The connection is normally only used for starting the system, then
then
createPersistentConnectionFactory(java.util.Properties)
is used.
- Parameters:
props
-
- Returns:
-
- Throws:
ConfigurationException
createPersistentConnection
public abstract PersistentConnection createPersistentConnection()
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.