sp.setReturningAttributes( new String[]
{ Schema.SCHEMA_ATTRIBUTE_OBJECTCLASSES, Schema.SCHEMA_ATTRIBUTE_ATTRIBUTETYPES,
Schema.SCHEMA_ATTRIBUTE_LDAPSYNTAXES, Schema.SCHEMA_ATTRIBUTE_MATCHINGRULES,
Schema.SCHEMA_ATTRIBUTE_MATCHINGRULEUSE, IAttribute.OPERATIONAL_ATTRIBUTE_CREATE_TIMESTAMP,
IAttribute.OPERATIONAL_ATTRIBUTE_MODIFY_TIMESTAMP, } );
LdifEnumeration le = this.connectionProvider.search( sp, monitor );
if ( le.hasNext( monitor ) )
{
LdifContentRecord schemaRecord = ( LdifContentRecord ) le.next( monitor );
this.schema = new Schema();
this.schema.loadFromRecord( schemaRecord );
EventRegistry.fireConnectionUpdated( new ConnectionUpdateEvent( this,
ConnectionUpdateEvent.EventDetail.SCHEMA_LOADED ), this );
}