class JdbcDataSourceDescriptorManager extends ContainerHolder implements Initializable {

   public JdbcDataSourceDescriptor getDescriptor(String id) {
      JdbcDataSourceDescriptor configuration = m_descriptors.get(id);

      if (configuration == null) {
         DataSourceDef ds = findDataSource(id);

         if (ds != null) {
            configuration = buildDescriptor(ds);
            m_descriptors.put(id, configuration);
         }
      }

      return configuration;
   }

}