| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private URL | |
| private String | |
| private FaceletCache | |
| private ConcurrentMap | |
| private Compiler | |
| pack-priv Cache | |
| protected static final Logger | |
| private ResourceManager | |
| private long | |
| private DefaultResourceResolver |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public UIComponent | _createComponent(FacesContext context, String taglibURI, String tagName, Map<String, Object> attributes)
|
| private DefaultFacelet | Returns: a Facelet instancesource url)Uses the internal Compiler reference to build a Facelet given the passed URL. |
| private DefaultFacelet | |
| private DefaultFacelet | |
| private FaceletCache | |
| public Facelet | |
| public Facelet | Returns: Facelet instancethe involved faces context context, URL source url url)Create a Facelet from the passed URL. |
| public Facelet | |
| public Facelet | |
| public long | |
| public DefaultResourceResolver | |
| public final void | init(FacesContext facesContext, Compiler compiler, DefaultResourceResolver resolver, long refreshPeriod, FaceletCache<V> cache)
|
| private FaceletCache | |
| public boolean | Returns: true if given url is a contracts resource.source url url)Returns true if given url is a contracts resource. |
| public boolean | |
| public URL | Returns: resolved URLbase to resolve from source, String relative path to the source path)Resolves a path based on the passed URL. |
| private URL |
| baseUrl | back to summary |
|---|---|
| private URL baseUrl | |
| baseUrlAsString | back to summary |
|---|---|
| private String baseUrlAsString | |
| cache | back to summary |
|---|---|
| private FaceletCache<DefaultFacelet> cache | |
| cachePerContract | back to summary |
|---|---|
| private ConcurrentMap<String, FaceletCache<DefaultFacelet>> cachePerContract | |
| compiler | back to summary |
|---|---|
| private Compiler compiler | |
| idMappers | back to summary |
|---|---|
| pack-priv Cache<String, IdMapper> idMappers | |
| log | back to summary |
|---|---|
| protected static final Logger log | |
| manager | back to summary |
|---|---|
| private ResourceManager manager | |
| refreshPeriod | back to summary |
|---|---|
| private long refreshPeriod | |
| resolver | back to summary |
|---|---|
| private DefaultResourceResolver resolver | |
| DefaultFaceletFactory | back to summary |
|---|---|
| public DefaultFaceletFactory() | |
| _createComponent | back to summary |
|---|---|
| public UIComponent _createComponent(FacesContext context, String taglibURI, String tagName, Map<String, Object> attributes) | |
| createFacelet | back to summary |
|---|---|
| private DefaultFacelet createFacelet(URL url) throws IOException Uses the internal Compiler reference to build a Facelet given the passed URL.
| |
| createFacelet | back to summary |
|---|---|
| private DefaultFacelet createFacelet(URL url, String alias) throws IOException | |
| createMetadataFacelet | back to summary |
|---|---|
| private DefaultFacelet createMetadataFacelet(URL url) throws IOException | |
| getCache | back to summary |
|---|---|
| private FaceletCache | |
| getFacelet | back to summary |
|---|---|
| public Facelet getFacelet(FacesContext context, String viewId) throws IOException | |
| getFacelet | back to summary |
|---|---|
| public Facelet getFacelet(FacesContext context, URL url) throws IOException Create a Facelet from the passed URL. This method checks if the cached Facelet needs to be refreshed before returning. If so, uses the passed URL to build a new instance;
| |
| getMetadataFacelet | back to summary |
|---|---|
| public Facelet getMetadataFacelet(FacesContext context, String viewId) throws IOException | |
| getMetadataFacelet | back to summary |
|---|---|
| public Facelet getMetadataFacelet(FacesContext context, URL url) throws IOException | |
| getRefreshPeriod | back to summary |
|---|---|
| public long getRefreshPeriod() | |
| getResourceResolver | back to summary |
|---|---|
| public DefaultResourceResolver getResourceResolver() | |
| init | back to summary |
|---|---|
| public final void init(FacesContext facesContext, Compiler compiler, DefaultResourceResolver resolver, long refreshPeriod, FaceletCache<V> cache) | |
| initCache | back to summary |
|---|---|
| private FaceletCache | |
| isContractsResource | back to summary |
|---|---|
| public boolean isContractsResource(URL url) Returns true if given url is a contracts resource.
| |
| needsToBeRefreshed | back to summary |
|---|---|
| public boolean needsToBeRefreshed(URL url) | |
| resolveURL | back to summary |
|---|---|
| public URL resolveURL(URL source, String path) throws IOException Resolves a path based on the passed URL. If the path starts with '/', then resolve the path against
| |
| resolveURL | back to summary |
|---|---|
| private URL resolveURL(String uri) throws IOException | |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public IdMapper |
| IdMapperFactory | back to summary |
|---|---|
| private IdMapperFactory() | |
| newInstance | back to summary |
|---|---|
| public IdMapper newInstance(String arg) throws InterruptedException Implements com.
| |