View Javadoc

1   /*
2    *  Licensed to the Apache Software Foundation (ASF) under one
3    *  or more contributor license agreements.  See the NOTICE file
4    *  distributed with this work for additional information
5    *  regarding copyright ownership.  The ASF licenses this file
6    *  to you under the Apache License, Version 2.0 (the
7    *  "License"); you may not use this file except in compliance
8    *  with the License.  You may obtain a copy of the License at
9    * 
10   *    http://www.apache.org/licenses/LICENSE-2.0
11   * 
12   *  Unless required by applicable law or agreed to in writing,
13   *  software distributed under the License is distributed on an
14   *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15   *  KIND, either express or implied.  See the License for the
16   *  specific language governing permissions and limitations
17   *  under the License.
18   * 
19   */
20  package org.apache.directory.server.core.api;
21  
22  
23  /**
24   * The list of mandatory interceptors we use in the server.
25   * 
26   * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
27   */
28  public enum InterceptorEnum
29  {
30      NORMALIZATION_INTERCEPTOR("normalizationInterceptor"),
31      AUTHENTICATION_INTERCEPTOR("authenticationInterceptor"),
32      REFERRAL_INTERCEPTOR("referralInterceptor"),
33      ACI_AUTHORIZATION_INTERCEPTOR("aciAuthorizationInterceptor"),
34      DEFAULT_AUTHORIZATION_INTERCEPTOR("defaultAuthorizationInterceptor"),
35      ADMINISTRATIVE_POINT_INTERCEPTOR("administrativePointInterceptor"),
36      EXCEPTION_INTERCEPTOR("exceptionInterceptor"),
37      OPERATIONAL_ATTRIBUTE_INTERCEPTOR("operationalAttributeInterceptor"),
38      SCHEMA_INTERCEPTOR("schemaInterceptor"),
39      SUBENTRY_INTERCEPTOR("subentryInterceptor"),
40      EVENT_INTERCEPTOR("eventInterceptor"),
41      TRIGGER_INTERCEPTOR("triggerInterceptor"),
42      CHANGE_LOG_INTERCEPTOR("changeLogInterceptor"),
43      COLLECTIVE_ATTRIBUTE_INTERCEPTOR("collectiveAttributeInterceptor"),
44      JOURNAL_INTERCEPTOR("journalInterceptor");
45  
46      /** The associated interceptor name */
47      private String name;
48  
49  
50      /**
51       * The private constructor
52       * @param methodName The associated interceptor name
53       */
54      private InterceptorEnum( String name )
55      {
56          this.name = name;
57      }
58  
59  
60      /**
61       * @return The associated interceptor name
62       */
63      public String getName()
64      {
65          return name;
66      }
67  }