View Javadoc
1   package org.apache.fulcrum.yaafi.framework.role;
2   
3   /*
4    * Licensed to the Apache Software Foundation (ASF) under one
5    * or more contributor license agreements.  See the NOTICE file
6    * distributed with this work for additional information
7    * regarding copyright ownership.  The ASF licenses this file
8    * to you under the Apache License, Version 2.0 (the
9    * "License"); you may not use this file except in compliance
10   * with the License.  You may obtain a copy of the License at
11   *
12   *   http://www.apache.org/licenses/LICENSE-2.0
13   *
14   * Unless required by applicable law or agreed to in writing,
15   * software distributed under the License is distributed on an
16   * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17   * KIND, either express or implied.  See the License for the
18   * specific language governing permissions and limitations
19   * under the License.
20   */
21  
22  import java.util.Collection;
23  
24  /**
25   * Contains the data of a role element.
26   *
27   * @author <a href="mailto:siegfried.goeschl@it20one.at">Siegfried Goeschl</a>
28   */
29  public interface RoleEntry
30  {
31      /**
32       * @return Returns the componentType.
33       */
34      String getComponentType();
35  
36      /**
37       * @return Returns the description.
38       */
39      String getDescription();
40  
41      /**
42       * @return Returns the implementationClazzName.
43       */
44      String getImplementationClazzName();
45  
46      /**
47       * @return Returns the isEarlyInit.
48       */
49      boolean isEarlyInit();
50  
51      /**
52       * @return Returns the name.
53       */
54      String getName();
55  
56      /**
57       * @return Returns the shorthand.
58       */
59      String getShorthand();
60  
61      /**
62       * @return Returns the componentFlavour.
63       */
64      String getComponentFlavour();
65  
66      /**
67       * @return Returns the hasProxy.
68       */
69      boolean hasDynamicProxy();
70  
71      /**
72       * @param hasProxy The hasProxy to set.
73       */
74      public void setHasDynamicProxy(boolean hasProxy);
75  
76      /**
77       * Adds all given interceptors but avoiding duplicates.
78       *
79       * @param collection the interceptors to be added
80       */
81      public void addInterceptors( Collection<?> collection );
82  
83      /**
84       * @return Returns the interceptorList.
85       */
86      String[] getInterceptorList();
87  
88      /**
89       * @return the category for creating the logger.
90       */
91      String getLogCategory();
92  }