|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ResourceManagementHelper
The ResourceManagementHelper provides methods that allows to access resources available on the main or other containers.
| Field Summary | |
|---|---|
static int |
ALL_RESOURCES
|
static int |
CLASSPATH_RESOURCES
This constant represents the possible ways to fetch the resources |
static int |
FILE_SYSTEM_RESOURCES
|
static java.lang.String |
SERVICE_NAME
Name of the service |
static int |
SHARED_RESOURCES
|
static java.lang.String |
SHARED_RESOURCES_FOLDER_KEY
System property key to define the folder root of shared resources |
| Method Summary | |
|---|---|
byte[] |
getResource(java.lang.String name)
Get remote resource |
byte[] |
getResource(java.lang.String name,
int fetchMode)
Get remote resource |
byte[] |
getResource(java.lang.String name,
int fetchMode,
java.lang.String containerName)
Get remote resource |
byte[] |
getResource(java.lang.String name,
java.lang.String containerName)
Get remote resource |
| Methods inherited from interface jade.core.ServiceHelper |
|---|
init |
| Field Detail |
|---|
static final java.lang.String SERVICE_NAME
static final java.lang.String SHARED_RESOURCES_FOLDER_KEY
static final int CLASSPATH_RESOURCES
static final int FILE_SYSTEM_RESOURCES
static final int SHARED_RESOURCES
static final int ALL_RESOURCES
| Method Detail |
|---|
byte[] getResource(java.lang.String name)
throws ServiceException,
NotFoundException
name - resource name
ServiceException
NotFoundException
byte[] getResource(java.lang.String name,
int fetchMode)
throws ServiceException,
NotFoundException
name - resource namefetchMode - resource fetch mode
ServiceException
NotFoundException
byte[] getResource(java.lang.String name,
java.lang.String containerName)
throws ServiceException,
NotFoundException
name - resource namecontainerName - name of container containing the resource
ServiceException
NotFoundException
byte[] getResource(java.lang.String name,
int fetchMode,
java.lang.String containerName)
throws ServiceException,
NotFoundException
name - resource namefetchMode - resource fetch modecontainerName - name of container containing the resource
ServiceException
NotFoundException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||