boolean foundUDTExp = false;
boolean foundDatabaseExp = false;
final IPluginManager pmgr = session.getApplication().getPluginManager();
for (Iterator<SessionPluginInfo> pluginItr = pmgr.getSessionPluginIterator(); pluginItr.hasNext();)
{
ISessionPlugin p = (pluginItr.next()).getSessionPlugin();
INodeExpander tableExp = p.getDefaultNodeExpander(session, DatabaseObjectType.TABLE_TYPE_DBO);
if (tableExp != null)
{
foundTableExp = true;
addExpander(DatabaseObjectType.TABLE_TYPE_DBO, tableExp);
}
INodeExpander procExp = p.getDefaultNodeExpander(session, DatabaseObjectType.PROC_TYPE_DBO);
if (procExp != null)
{
foundProcExp = true;
addExpander(DatabaseObjectType.PROC_TYPE_DBO, procExp);
}
INodeExpander udtExp = p.getDefaultNodeExpander(session, DatabaseObjectType.UDT_TYPE_DBO);
if (udtExp != null)
{
foundUDTExp = true;
addExpander(DatabaseObjectType.UDT_TYPE_DBO, udtExp);
}
INodeExpander databaseExp = p.getDefaultNodeExpander(session, DatabaseObjectType.DATABASE_TYPE_DBO);
if (databaseExp != null) {
foundDatabaseExp = true;
addExpander(DatabaseObjectType.SESSION, databaseExp);
}
}