1 17 package org.apache.ldap.server.schema; 18 19 20 import javax.naming.NamingException ; 21 import java.util.Comparator ; 22 23 24 30 public class ComparatorRegistryMonitorAdapter 31 implements ComparatorRegistryMonitor 32 { 33 37 public void registered( String oid, Comparator comparator ) 38 { 39 } 40 41 42 46 public void lookedUp( String oid, Comparator comparator ) 47 { 48 } 49 50 51 55 public void lookupFailed( String oid, NamingException fault ) 56 { 57 if ( fault != null ) 58 { 59 fault.printStackTrace(); 60 } 61 } 62 63 64 68 public void registerFailed( String oid, Comparator comparator, NamingException fault ) 69 { 70 if ( fault != null ) 71 { 72 fault.printStackTrace(); 73 } 74 } 75 } 76 | Popular Tags |