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 ; 9 10 11 16 public class InterceptorContext 17 { 18 19 22 private final Map environment; 23 24 27 private final Map config; 28 29 32 private final SystemPartition systemPartition; 33 34 37 private final GlobalRegistries globalRegistries; 38 39 42 private final RootNexus rootNexus; 43 44 45 public InterceptorContext( Map environment, 46 SystemPartition systemPartition, 47 GlobalRegistries globalRegistries, 48 RootNexus rootNexus, 49 Map 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 getEnvironment() 64 { 65 return environment; 66 } 67 68 69 public Map 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 |