public class ContextDatabaseClusterConfigurationFactory<Z,D extends Database<Z>> extends Object implements DatabaseClusterConfigurationFactory<Z,D>
Constructor and Description |
---|
ContextDatabaseClusterConfigurationFactory(Class<? extends DatabaseClusterConfiguration<Z,D>> targetClass,
String name) |
ContextDatabaseClusterConfigurationFactory(Class<? extends DatabaseClusterConfiguration<Z,D>> targetClass,
String name,
Context context) |
ContextDatabaseClusterConfigurationFactory(Class<? extends DatabaseClusterConfiguration<Z,D>> targetClass,
String name,
Hashtable<?,?> env) |
Modifier and Type | Method and Description |
---|---|
void |
added(D database,
DatabaseClusterConfiguration<Z,D> configuration) |
DatabaseClusterConfiguration<Z,D> |
createConfiguration() |
void |
removed(D database,
DatabaseClusterConfiguration<Z,D> configuration) |
public ContextDatabaseClusterConfigurationFactory(Class<? extends DatabaseClusterConfiguration<Z,D>> targetClass, String name) throws NamingException
NamingException
public ContextDatabaseClusterConfigurationFactory(Class<? extends DatabaseClusterConfiguration<Z,D>> targetClass, String name, Hashtable<?,?> env) throws NamingException
NamingException
public ContextDatabaseClusterConfigurationFactory(Class<? extends DatabaseClusterConfiguration<Z,D>> targetClass, String name, Context context)
public DatabaseClusterConfiguration<Z,D> createConfiguration() throws SQLException
createConfiguration
in interface DatabaseClusterConfigurationFactory<Z,D extends Database<Z>>
SQLException
DatabaseClusterConfigurationFactory.createConfiguration()
public void added(D database, DatabaseClusterConfiguration<Z,D> configuration)
added
in interface DatabaseClusterConfigurationListener<Z,D extends Database<Z>>
DatabaseClusterConfigurationListener.added(net.sf.hajdbc.Database, net.sf.hajdbc.DatabaseClusterConfiguration)
public void removed(D database, DatabaseClusterConfiguration<Z,D> configuration)
removed
in interface DatabaseClusterConfigurationListener<Z,D extends Database<Z>>
DatabaseClusterConfigurationListener.removed(net.sf.hajdbc.Database, net.sf.hajdbc.DatabaseClusterConfiguration)
Copyright © 2004–2014 Paul Ferraro. All rights reserved.