1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.apache.ldap.server.jndi;
18
19 import javax.naming.NamingException;
20 import javax.naming.spi.InitialContextFactory;
21
22
23 /***
24 * A simplistic implementation of {@link AbstractContextFactory}.
25 * This class simply extends {@link AbstractContextFactory} and leaves all
26 * abstract event listener methods as empty.
27 *
28 * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
29 * @version $Rev: 264732 $
30 */
31 public class CoreContextFactory extends AbstractContextFactory implements InitialContextFactory
32 {
33 /***
34 * Creates a new instance.
35 */
36 public CoreContextFactory()
37 {
38 }
39
40 /***
41 * Does nothing by default.
42 */
43 public void beforeStartup( ContextFactoryService service ) throws NamingException
44 {
45 }
46
47 /***
48 * Does nothing by default.
49 */
50 public void afterStartup( ContextFactoryService service ) throws NamingException
51 {
52 }
53
54 /***
55 * Does nothing by default.
56 */
57 public void beforeShutdown( ContextFactoryService service ) throws NamingException
58 {
59 }
60
61 /***
62 * Does nothing by default.
63 */
64 public void afterShutdown( ContextFactoryService service ) throws NamingException
65 {
66 }
67
68 /***
69 * Does nothing by default.
70 */
71 public void beforeSync( ContextFactoryService service ) throws NamingException
72 {
73 }
74
75 /***
76 * Does nothing by default.
77 */
78 public void afterSync( ContextFactoryService service ) throws NamingException
79 {
80 }
81 }