com.ibm.xsp.registry
Interface FacesProject

All Superinterfaces:
com.ibm.xsp.registry.FacesReferenceContainer

public interface FacesProject
extends com.ibm.xsp.registry.FacesReferenceContainer

The representation of a Project in the FacesRegistry. A project is a grouping of FacesLibraryFragments (config files) that share a classLoader, and a PageFileSystem, which will be used to resolve any file references in the config files (and often used to retrieve the config files themselves). FacesProjects must be unique by PageFileSystem, i.e. you cannot have 2 FacesProjects that share the same PageFileSystem. Similarly PageFileSystems are unique by their identifier. Hence FacesProjects are can be uniquely identified by their PageFileSystem's identifier.


Method Summary
 FacesLibraryFragment getFile(java.lang.String filePath)
          Return the FacesLibraryFragment with the specified filePath.
 java.util.List<FacesLibraryFragment> getFiles()
          All the FacesLibraryFragment files registered in this project.
 java.lang.String getId()
           
 FacesRegistry getRegistry()
          The registry that contains this project, not necessarily the registry used to find this project; see the FacesSharableRegistry interface.
 
Methods inherited from interface com.ibm.xsp.registry.FacesReferenceContainer
refreshReferences
 

Method Detail

getId

java.lang.String getId()
Returns:
Returns the identifier of this project.

getRegistry

FacesRegistry getRegistry()
The registry that contains this project, not necessarily the registry used to find this project; see the FacesSharableRegistry interface.

Returns:
Returns the registry.

getFile

FacesLibraryFragment getFile(java.lang.String filePath)
Return the FacesLibraryFragment with the specified filePath.

Parameters:
filePath -
Returns:
null or the file.

getFiles

java.util.List<FacesLibraryFragment> getFiles()
All the FacesLibraryFragment files registered in this project.

Returns: