KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > ldap > server > interceptor > InterceptorContext


1 package org.apache.ldap.server.interceptor;
2
3
4 import org.apache.ldap.server.RootNexus;
5 import org.apache.ldap.server.SystemPartition;
6 import org.apache.ldap.server.schema.GlobalRegistries;
7
8 import java.util.Map JavaDoc;
9
10
11 /**
12  * @todo doc me
13  * @author <a HREF="mailto:dev@directory.apache.org">Apache Directory Project</a>
14  * @version $Rev: 169198 $, $Date: 2005-05-08 20:05:59 -0400 (Sun, 08 May 2005) $
15  */

16 public class InterceptorContext
17 {
18
19     /**
20      * the initial context environment that fired up the backend subsystem
21      */

22     private final Map JavaDoc environment;
23
24     /**
25      * Configuration for the interceptor.
26      */

27     private final Map JavaDoc config;
28
29     /**
30      * the system partition used by the context factory
31      */

32     private final SystemPartition systemPartition;
33
34     /**
35      * the registries for system schema objects
36      */

37     private final GlobalRegistries globalRegistries;
38
39     /**
40      * the root nexus
41      */

42     private final RootNexus rootNexus;
43
44
45     public InterceptorContext( Map JavaDoc environment,
46                                SystemPartition systemPartition,
47                                GlobalRegistries globalRegistries,
48                                RootNexus rootNexus,
49                                Map JavaDoc config )
50     {
51         this.environment = environment;
52
53         this.systemPartition = systemPartition;
54
55         this.globalRegistries = globalRegistries;
56
57         this.rootNexus = rootNexus;
58
59         this.config = config;
60     }
61
62
63     public Map JavaDoc getEnvironment()
64     {
65         return environment;
66     }
67
68
69     public Map JavaDoc getConfig()
70     {
71         return config;
72     }
73
74
75     public GlobalRegistries getGlobalRegistries()
76     {
77         return globalRegistries;
78     }
79
80
81     public RootNexus getRootNexus()
82     {
83         return rootNexus;
84     }
85
86
87     public SystemPartition getSystemPartition()
88     {
89         return systemPartition;
90     }
91 }
92
Popular Tags