Package org.apache.ldap.common.schema

Examples of org.apache.ldap.common.schema.DITStructureRule


    {
        id = oidRegistry.getOid( id );

        if ( byOid.containsKey( id ) )
        {
            DITStructureRule dITStructureRule = ( DITStructureRule ) byOid.get( id );
            monitor.lookedUp( dITStructureRule );
            return dITStructureRule;
        }

        if ( bootstrap.hasDITStructureRule( id ) )
        {
            DITStructureRule dITStructureRule = bootstrap.lookup( id );
            monitor.lookedUp( dITStructureRule );
            return dITStructureRule;
        }

        NamingException e = new NamingException( "dITStructureRule w/ OID "
View Full Code Here


                + id + " not registered!" );
            monitor.lookupFailed( id, e );
            throw e;
        }

        DITStructureRule dITStructureRule = ( DITStructureRule ) byOid.get( id );
        monitor.lookedUp( dITStructureRule );
        return dITStructureRule;
    }
View Full Code Here

                + id + " not registered!" );
            monitor.lookupFailed( id, e );
            throw e;
        }

        DITStructureRule dITStructureRule = ( DITStructureRule ) byOid.get( id );
        monitor.lookedUp( dITStructureRule );
        return dITStructureRule;
    }
View Full Code Here

    {
        id = oidRegistry.getOid( id );

        if ( byOid.containsKey( id ) )
        {
            DITStructureRule dITStructureRule = ( DITStructureRule ) byOid.get( id );
            monitor.lookedUp( dITStructureRule );
            return dITStructureRule;
        }

        if ( bootstrap.hasDITStructureRule( id ) )
        {
            DITStructureRule dITStructureRule = bootstrap.lookup( id );
            monitor.lookedUp( dITStructureRule );
            return dITStructureRule;
        }

        NamingException e = new NamingException( "dITStructureRule w/ OID "
View Full Code Here

                NameFormRegistry nameFormRegistry;
                nameFormRegistry = registries.getNameFormRegistry();
                nameFormRegistry.register( schema.getSchemaName(), nameForm );
                break;
            case( ProducerTypeEnum.DIT_STRUCTURE_RULE_PRODUCER_VAL ):
                DITStructureRule ditStructureRule = ( DITStructureRule ) schemaObject;
                DITStructureRuleRegistry ditStructureRuleRegistry;
                ditStructureRuleRegistry = registries.getDitStructureRuleRegistry();
                ditStructureRuleRegistry.register( schema.getSchemaName(), ditStructureRule );
                break;
            case( ProducerTypeEnum.STATE_FACTORY_PRODUCER_VAL ):
View Full Code Here

        {
            attr = new LockableAttributeImpl( attrs, "dITStructureRules" );
            Iterator list = globalRegistries.getDitStructureRuleRegistry().list();
            while ( list.hasNext() )
            {
                DITStructureRule dsr = ( DITStructureRule ) list.next();
                attr.add( SchemaUtils.render( dsr ).toString() );
            }
            attrs.put( attr );
        }
View Full Code Here

                + id + " not registered!" );
            monitor.lookupFailed( id, e );
            throw e;
        }

        DITStructureRule dITStructureRule = ( DITStructureRule ) byOid.get( id );
        monitor.lookedUp( dITStructureRule );
        return dITStructureRule;
    }
View Full Code Here

                NameFormRegistry nameFormRegistry;
                nameFormRegistry = registries.getNameFormRegistry();
                nameFormRegistry.register( schema.getSchemaName(), nameForm );
                break;
            case( ProducerTypeEnum.DIT_STRUCTURE_RULE_PRODUCER_VAL ):
                DITStructureRule ditStructureRule = ( DITStructureRule ) schemaObject;
                DITStructureRuleRegistry ditStructureRuleRegistry;
                ditStructureRuleRegistry = registries.getDitStructureRuleRegistry();
                ditStructureRuleRegistry.register( schema.getSchemaName(), ditStructureRule );
                break;
            case( ProducerTypeEnum.STATE_FACTORY_PRODUCER_VAL ):
View Full Code Here

        {
            attr = new LockableAttributeImpl( attrs, "dITStructureRules" );
            Iterator list = globalRegistries.getDitStructureRuleRegistry().list();
            while ( list.hasNext() )
            {
                DITStructureRule dsr = ( DITStructureRule ) list.next();
                attr.add( SchemaUtils.render( dsr ).toString() );
            }
            attrs.put( attr );
        }
View Full Code Here

    {
        id = oidRegistry.getOid( id );

        if ( byOid.containsKey( id ) )
        {
            DITStructureRule dITStructureRule = ( DITStructureRule ) byOid.get( id );
            monitor.lookedUp( dITStructureRule );
            return dITStructureRule;
        }

        if ( bootstrap.hasDITStructureRule( id ) )
        {
            DITStructureRule dITStructureRule = bootstrap.lookup( id );
            monitor.lookedUp( dITStructureRule );
            return dITStructureRule;
        }

        NamingException e = new NamingException( "dITStructureRule w/ OID "
View Full Code Here

TOP

Related Classes of org.apache.ldap.common.schema.DITStructureRule

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.