|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface DataSourceDatabaseClusterMBean
| Method Summary | |
|---|---|
void |
add(String databaseId,
String name)
Adds a new DataSource to this cluster using the specified identifier and JNDI name. |
| Methods inherited from interface net.sf.hajdbc.Lifecycle |
|---|
start, stop |
| Method Detail |
|---|
void add(String databaseId,
String name)
databaseId - a database identifiername - the JNDI name use to lookup the DataSource
IllegalArgumentException - if this database already exists, or no DataSource was found using the specified name.
IllegalStateException - if mbean registration fails.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||