1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.apache.ldap.server.schema;
18
19
20 import org.apache.ldap.common.schema.MatchingRule;
21
22 import javax.naming.NamingException;
23
24
25 /***
26 * An adapter for a MatchingRuleRegistryMonitor.
27 *
28 * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
29 * @version $Rev: 159259 $
30 */
31 public class MatchingRuleRegistryMonitorAdapter
32 implements MatchingRuleRegistryMonitor
33 {
34 /***
35 * @see org.apache.ldap.server.schema.MatchingRuleRegistryMonitor#registered(
36 * org.apache.ldap.common.schema.MatchingRule)
37 */
38 public void registered( MatchingRule rule )
39 {
40 }
41
42
43 /***
44 * @see org.apache.ldap.server.schema.MatchingRuleRegistryMonitor#lookedUp(
45 * org.apache.ldap.common.schema.MatchingRule)
46 */
47 public void lookedUp( MatchingRule rule )
48 {
49 }
50
51
52 /***
53 * @see org.apache.ldap.server.schema.MatchingRuleRegistryMonitor#lookupFailed(
54 * java.lang.String, javax.naming.NamingException)
55 */
56 public void lookupFailed( String oid, NamingException fault )
57 {
58 if ( fault != null )
59 {
60 fault.printStackTrace();
61 }
62 }
63
64
65 /***
66 * @see org.apache.ldap.server.schema.MatchingRuleRegistryMonitor#registerFailed(
67 * org.apache.ldap.common.schema.MatchingRule, javax.naming.NamingException)
68 */
69 public void registerFailed( MatchingRule rule, NamingException fault )
70 {
71 if ( fault != null )
72 {
73 fault.printStackTrace();
74 }
75 }
76 }