@ApplicationScoped public class ResourceManagerImpl extends Object implements ResourceManager, org.jboss.dashboard.annotation.Startable
Modifier and Type | Field and Description |
---|---|
protected Properties |
fileMappings |
protected Properties |
mappings |
Constructor and Description |
---|
ResourceManagerImpl() |
Modifier and Type | Method and Description |
---|---|
Properties |
getFileMappings() |
Properties |
getMappings() |
org.jboss.dashboard.annotation.Priority |
getPriority() |
Resource |
getResource(String path)
Retrieve resource by resource identifier, using defaults for missing resources
|
Resource |
getResource(String path,
boolean useDefaults)
Retrieve resource by resource identifier
|
protected Resource |
getResourceFromHolder(ResourceHolder holder,
ResourceName resName) |
void |
setMappings(Properties mappings) |
void |
start() |
@Inject protected Properties fileMappings
@Inject protected Properties mappings
public org.jboss.dashboard.annotation.Priority getPriority()
getPriority
in interface org.jboss.dashboard.annotation.Startable
public void start() throws Exception
start
in interface org.jboss.dashboard.annotation.Startable
Exception
public Resource getResource(String path) throws Exception
ResourceManager
getResource
in interface ResourceManager
Exception
public Properties getMappings()
public void setMappings(Properties mappings)
public Properties getFileMappings()
getFileMappings
in interface ResourceManager
public Resource getResource(String path, boolean useDefaults) throws Exception
ResourceManager
getResource
in interface ResourceManager
Exception
protected Resource getResourceFromHolder(ResourceHolder holder, ResourceName resName)
Copyright © 2012-2015 JBoss by Red Hat. All Rights Reserved.