|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mule.module.db.internal.domain.type.CompositeDbTypeManager
public class CompositeDbTypeManager
Uses DbTypeManager instances to manage DB types
| Constructor Summary | |
|---|---|
CompositeDbTypeManager(List<DbTypeManager> typeManagers)
Creates a composed DB type manager |
|
| Method Summary | |
|---|---|
DbType |
lookup(DbConnection connection,
int id,
String name)
Finds a mapping for a given type ID and name |
DbType |
lookup(DbConnection connection,
String name)
Finds a mapping for a given type name using each composed DbTypeManager until a type is found or there are no more
managers to use. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CompositeDbTypeManager(List<DbTypeManager> typeManagers)
typeManagers - sorted type managers used to resolve DB types.| Method Detail |
|---|
public DbType lookup(DbConnection connection,
int id,
String name)
throws UnknownDbTypeException
DbTypeManager
lookup in interface DbTypeManagerconnection - connection used to connect to the database if requiredid - type IDname - type name
UnknownDbTypeException - when there is no managed type with the given ID and name
public DbType lookup(DbConnection connection,
String name)
throws UnknownDbTypeException
DbTypeManager until a type is found or there are no more
managers to use.
lookup in interface DbTypeManagerconnection - connection used to connect to the database if requiredname - type name
UnknownDbTypeException - when there is no managed type with the given ID and name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||