| /******************************************************************************* |
| * Copyright (c) 2005 Oracle Corporation. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * Ian Trimble - initial API and implementation |
| *******************************************************************************/ |
| package org.eclipse.jst.jsf.core.jsfappconfig; |
| |
| import java.util.Set; |
| |
| /** |
| * IJSFAppConfigLocater is the interface that Objects capable of locating |
| * and providing JSF application configuration resources must implement. |
| * |
| * <p><b>Provisional API - subject to change</b></p> |
| * |
| * @author Ian Trimble - Oracle |
| */ |
| public interface IJSFAppConfigLocater { |
| |
| /** |
| * Sets the {@link JSFAppConfigManager} instance to which this locater |
| * belongs. |
| * |
| * @param manager {@link JSFAppConfigManager} instance to be set. |
| */ |
| public void setJSFAppConfigManager(JSFAppConfigManager manager); |
| |
| /** |
| * Gets the {@link JSFAppConfigManager} instance to which this locater |
| * belongs. |
| * |
| * @return {@link JSFAppConfigManager} instance to which this locater |
| * belongs. |
| */ |
| public JSFAppConfigManager getJSFAppConfigManager(); |
| |
| /** |
| * Starts locating JSF application configuration resources. |
| */ |
| public void startLocating(); |
| |
| /** |
| * Stops locating JSF application configuration resources. |
| */ |
| public void stopLocating(); |
| |
| /** |
| * Gets the set of {@link IJSFAppConfigProvider} instances that this |
| * locater has located. |
| * |
| * @return set of {@link IJSFAppConfigProvider} instances. |
| */ |
| public Set getJSFAppConfigProviders(); |
| |
| } |