private ManagedSchema getManagedSchema ( String tableName , String entityName ) { ManagedSchema managedSchema = getManagedSchemaFromSchemaMap ( tableName , entityName ) ; if ( managedSchema == null ) { refreshManagedSchemaCache ( tableName , entityName ) ; managedSchema = getManagedSchemaFromSchemaMap ( tableName , entityName ) ; if ( managedSchema == null ) { String msg = "Could not find managed schemas for " + tableName + ", " + entityName ; throw new SchemaNotFoundException ( msg ) ; } } return managedSchema ; }
Get the ManagedSchema entity for the tableName entityName managed schema .