# JSF Libraries

###### Identifier:

org.eclipse.jst.jsf.core.jsfLibraries

###### Since:

1.5

###### Description:

This extension point allows clients to create named sets of jars for use with JavaServer Faces Applications. Deprecated - adopters should now use `org.eclipse.jst.jsf.core.pluginProvidedJsfLibraries`

###### Configuration Markup:

<!ELEMENT extension (jsfLibrary*)>

<!ATTLIST extension

point CDATA #REQUIRED

id CDATA #REQUIRED

name CDATA #IMPLIED

>

<!ELEMENT jsfLibrary EMPTY>

<!ATTLIST jsfLibrary

name CDATA #REQUIRED

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.

- name - A unique name for the library.
- isImplementation - Flag indicating that this libary is declared to be a JSF implementation and not just a JSF component library.
- maxVersionSupported - Used to declare which JSF specification this library will support.
- archiveFilesDelegate - class that must extend org.eclipse.jst.jsf.core.jsflibraryregistry.JSFLibraryArchiveFilesDelegate to supply a collection of ArchiveFiles for the library

###### Examples:

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

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

###### API Information:

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.JSFLibraryArchiveFilesDelegate` and has a public 0-arg constructor.

###### Supplied Implementation:

none

Copyright (c) 2005, 2007 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: Gerry Kessler - initial API and implementation