# JSF Libraries

This extension point is deprecated, use org.eclipse.jst.common.project.facet.libraryProviders as a replacement.

###### Identifier:

extension.pluginProvidedJsfLibraries

###### Since:

2.0

###### Description:

This extension point allows clients to create named sets of jars for use with JavaServer Faces Applications.

This extension point is provisional and subject to change

Deprecated Use org.eclipse.jst.common.project.facet.libraryProviders ext-pt

###### Configuration Markup:

<!ELEMENT extension (jsfLibrary*)>

<!ATTLIST extension

point CDATA #REQUIRED

id CDATA #REQUIRED

name CDATA #IMPLIED

>

The jsfLibrary element is deprecated

<!ELEMENT jsfLibrary EMPTY>

<!ATTLIST jsfLibrary

name CDATA #REQUIRED

label CDATA #IMPLIED

isImplementation (true | false)

maxVersionSupported (v1_1|v1_2|UNKNOWN)

archiveFilesDelegate CDATA #REQUIRED

>

A named collection of jars that will be added to the classpath as a classpath container to a project that references it.

- Deprecated name - A unique, non-translatable, name for the library. The plugin developer is responsible for ensuring uniqueness within the plugin. This name, in combination with the plugin id, is used to identify the classpath container reference.
- Deprecated label - Translatable string for displaying the library name.
- Deprecated isImplementation - Flag indicating that this libary is declared to be a JSF implementation and not just a JSF component library.
- Deprecated maxVersionSupported - Used to declare which JSF specification this library will support.
- Deprecated archiveFilesDelegate - class that must extend org.eclipse.jst.jsf.core.jsflibraryregistry.JSFLibraryArchiveFilesDelegate to supply a collection of IPaths to jars in the library

###### Examples:

The following is an example of usage of pluginProvidedJsfLibraries extension point:

      <extension point="org.eclipse.jst.jsf.core.pluginProvidedJsfLibraries">
        <jsfLibrary
           name="MyComponentLib1"
           label="%MyComponentLib1.translatableLabel"
           isImplementation="false"
           maxVersionSupported="v1_1"
           archiveFilesDelegate="com.acme.jsf.libraries.MyComponentLibraryFiles"/>
      </extension>

###### API Information:

This extension point is deprecated. Value of the attribute class must be a fully qualified name of a Java class that extends the abstract class `org.eclipse.jst.jsf.core.jsflibraryregistry.PluginProvidedJSFLibraryJarFilesDelegate` and has a public 0-arg constructor.

###### Supplied Implementation:

none

Copyright (c) 2007 Oracle Corporation. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-2.0/ Contributors: Gerry Kessler - initial API and implementation