1 17 package org.apache.ldap.server.schema.bootstrap; 18 19 20 import org.apache.ldap.common.schema.CachingNormalizer; 21 import org.apache.ldap.common.schema.DeepTrimNormalizer; 22 import org.apache.ldap.common.schema.Normalizer; 23 24 import javax.naming.NamingException ; 25 26 27 28 37 public class NisNormalizerProducer extends AbstractBootstrapProducer 38 { 39 public NisNormalizerProducer() 40 { 41 super( ProducerTypeEnum.NORMALIZER_PRODUCER ); 42 } 43 44 45 49 50 53 public void produce( BootstrapRegistries registries, ProducerCallback cb ) 54 throws NamingException 55 { 56 Normalizer normalizer; 57 58 63 normalizer = new CachingNormalizer( new DeepTrimNormalizer() ); 64 cb.schemaObjectProduced( this, "1.3.6.1.4.1.4203.1.2.1", normalizer ); 65 66 } 67 } 68 | Popular Tags |