public class MappedResourceFactoryImpl extends Object implements MappedResourceFactory, Initializable
ResourceServlet
.ResourceServlet
Constructor and Description |
---|
MappedResourceFactoryImpl() |
Modifier and Type | Method and Description |
---|---|
javax.faces.application.Resource |
createResource(javax.faces.context.FacesContext context,
ResourceKey resourceKey)
Creates external resource
|
Set<ResourceKey> |
getAggregatedResources(ResourcePath resourcePath)
Get all resources which maps to same location
|
void |
init()
Called during service initialization time
|
void |
release()
Called when releasing associated services
|
public void init()
Initializable
init
in interface Initializable
public void release()
Initializable
release
in interface Initializable
public javax.faces.application.Resource createResource(javax.faces.context.FacesContext context, ResourceKey resourceKey)
MappedResourceFactory
createResource
in interface MappedResourceFactory
context
- FacesContext
resourceKey
- the resource keypublic Set<ResourceKey> getAggregatedResources(ResourcePath resourcePath)
MappedResourceFactory
getAggregatedResources
in interface MappedResourceFactory
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.