org.ow2.petals.registry.database
Class MySqlClient
java.lang.Object
org.ow2.petals.registry.database.RegistryClient
org.ow2.petals.registry.database.MySqlClient
public class MySqlClient
- extends RegistryClient
|
Constructor Summary |
MySqlClient(java.lang.String connectionUrl,
java.lang.String username,
java.lang.String password,
int connectionPoolSize,
int batchSize,
boolean checkTables,
org.ow2.petals.util.LoggingUtil log)
|
|
Method Summary |
java.util.Map<java.lang.String,java.lang.Object> |
list(javax.naming.CompositeName contextName)
Enumerates the names bound in a context with their object class name. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MySqlClient
public MySqlClient(java.lang.String connectionUrl,
java.lang.String username,
java.lang.String password,
int connectionPoolSize,
int batchSize,
boolean checkTables,
org.ow2.petals.util.LoggingUtil log)
throws javax.naming.NamingException
- Throws:
javax.naming.NamingException
list
public java.util.Map<java.lang.String,java.lang.Object> list(javax.naming.CompositeName contextName)
throws javax.naming.NameNotFoundException,
javax.naming.NamingException
- Description copied from class:
RegistryClient
- Enumerates the names bound in a context with their object class name. In
case of a sub context, the object class name is set to
null.
- Specified by:
list in class RegistryClient
- Parameters:
contextName - Context name, not null.
- Returns:
- A map the names and class names of the bindings in this context.
Each element of the map is of type
<String, Object>, Object is null
in case of a sub context.
- Throws:
javax.naming.NameNotFoundException - The context name does not exist.
javax.naming.NamingException - An SQL error occurs.
Copyright © 2005-2011 Petals Link (EBM Websourcing). All Rights Reserved.