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  package org.apache.myfaces.config.element;
20  
21  import java.io.Serializable;
22  import java.util.Collections;
23  import java.util.List;
24  import java.util.Map;
25  import org.apache.myfaces.config.element.facelets.FaceletTagLibrary;
26  
27  /**
28   * @author <a href="mailto:oliver@rossmueller.com">Oliver Rossmueller</a>
29   */
30  public abstract class FacesConfig implements Serializable
31  {
32      public abstract List<Application> getApplications();
33  
34      public abstract List<Factory> getFactories();
35  
36      public abstract Map<String, String> getComponents();
37  
38      public abstract List<Converter> getConverters();
39  
40      public abstract List<ManagedBean> getManagedBeans();
41  
42      public abstract List<NavigationRule> getNavigationRules();
43  
44      public abstract List<RenderKit> getRenderKits();
45  
46      public abstract List<String> getLifecyclePhaseListener();
47  
48      public abstract Map<String, String> getValidators();
49      
50      public abstract List<Behavior> getBehaviors ();
51      
52      public abstract List<NamedEvent> getNamedEvents ();
53      
54      public abstract RenderKit getRenderKit(String renderKitId);
55      
56      public abstract String getName();
57      
58      public abstract AbsoluteOrdering getAbsoluteOrdering();
59  
60      public abstract Ordering getOrdering();
61  
62      public abstract String getMetadataComplete();
63  
64      public abstract String getVersion ();
65      
66      /**
67       * 
68       * @since 2.1.0
69       */
70      public List<FacesConfigExtension> getFacesConfigExtensions()
71      {
72          return Collections.emptyList();
73      }
74      
75      /**
76       * @since 2.2.0
77       * @return 
78       */
79      public List<FacesFlowDefinition> getFacesFlowDefinitions()
80      {
81          return Collections.emptyList();
82      }
83  
84      
85      /**
86       * @since 2.2.0
87       * @return 
88       */
89      public List<String> getProtectedViewsUrlPatternList()
90      {
91          return Collections.emptyList();
92      }
93      
94      /**
95       * @since 2.2.0
96       * @return 
97       */
98      public Map<String, ComponentTagDeclaration> getComponentTagDeclarations()
99      {
100         return Collections.emptyMap();
101     }
102     
103     /**
104      * @since 2.2.0
105      * @return 
106      */
107     public List<String> getResourceResolversList()
108     {
109         return Collections.emptyList();
110     }
111     
112     /**
113      * @since 2.2.0
114      * @return 
115      */
116     public List<FaceletTagLibrary> getFaceletTagLibraryList()
117     {
118         return Collections.emptyList();
119     }
120 }