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; 20 21 import org.apache.myfaces.config.element.FacesConfigData; 22 23 24 /** 25 * Subsumes several unmarshalled faces config objects and presents a simple interface 26 * to the combined configuration data. 27 * 28 * @author Manfred Geiler (latest modification by $Author$) 29 * @version $Revision$ $Date$ 30 */ 31 public abstract class FacesConfigDispenser extends FacesConfigData 32 { 33 /** 34 * 35 */ 36 private static final long serialVersionUID = 9123062381457766144L; 37 38 /** 39 * Add another unmarshalled faces config object. 40 * @param facesConfig unmarshalled faces config object 41 */ 42 public abstract void feed(org.apache.myfaces.config.element.FacesConfig facesConfig); 43 44 /** 45 * Add another ApplicationFactory class name 46 * @param factoryClassName a class name 47 */ 48 public abstract void feedApplicationFactory(String factoryClassName); 49 50 /** 51 * Add another ExceptionHandlerFactory class name 52 * @param factoryClassName a class name 53 */ 54 public abstract void feedExceptionHandlerFactory(String factoryClassName); 55 56 /** 57 * Add another ExternalContextFactory class name 58 * @param factoryClassName a class name 59 */ 60 public abstract void feedExternalContextFactory(String factoryClassName); 61 62 /** 63 * Add another FacesContextFactory class name 64 * @param factoryClassName a class name 65 */ 66 public abstract void feedFacesContextFactory(String factoryClassName); 67 68 /** 69 * Add another LifecycleFactory class name 70 * @param factoryClassName a class name 71 */ 72 public abstract void feedLifecycleFactory(String factoryClassName); 73 74 /** 75 * Add another ViewDeclarationLanguageFactory class name 76 * @param factoryClassName a class name 77 */ 78 public abstract void feedViewDeclarationLanguageFactory(String factoryClassName); 79 80 /** 81 * Add another PartialViewContextFactory class name 82 * @param factoryClassName a class name 83 */ 84 public abstract void feedPartialViewContextFactory(String factoryClassName); 85 86 /** 87 * Add another RenderKitFactory class name 88 * @param factoryClassName a class name 89 */ 90 public abstract void feedRenderKitFactory(String factoryClassName); 91 92 /** 93 * Add another TagHandlerDelegateFactory class name 94 * @param factoryClassName a class name 95 */ 96 public abstract void feedTagHandlerDelegateFactory(String factoryClassName); 97 98 /** 99 * Add another VisitContextFactory class name 100 * @param factoryClassName a class name 101 */ 102 public abstract void feedVisitContextFactory(String factoryClassName); 103 104 /** 105 * Add another FaceletCacheFactory class name 106 * @since 2.1.0 107 * @param factoryClassName a class name 108 */ 109 public void feedFaceletCacheFactory(String factoryClassName) 110 { 111 } 112 113 /** 114 * @since 2.2 115 * @param factoryClassName 116 */ 117 public void feedFlashFactory(String factoryClassName) 118 { 119 } 120 121 /** 122 * @since 2.2 123 * @param factoryClassName 124 */ 125 public void feedClientWindowFactory(String factoryClassName) 126 { 127 } 128 129 }