| |
|
| org.jboss.system.ServiceMBeanSupport org.jboss.deployment.cache.FileDeploymentStore
Field Summary | |
protected File | dir The local directory where cache data will be stored. | protected File | mapFile The file where the mapping is located. | protected Map | urlMap The URL to local file mapping. |
dir | protected File dir(Code) | | The local directory where cache data will be stored.
|
mapFile | protected File mapFile(Code) | | The file where the mapping is located.
|
urlMap | protected Map urlMap(Code) | | The URL to local file mapping.
|
copyURL | protected void copyURL(URL source, File dest) throws IOException(Code) | | Copy the data at the given source URL to the given file.
|
createService | protected void createService() throws Exception(Code) | | Setup the url map.
|
getDirectory | public File getDirectory()(Code) | | Returns the local directory where cache data is stored.
The local directory where cache data is stored. |
getDirectoryName | public String getDirectoryName()(Code) | | Get the name of the local directory where cache data is stored.
The name of the local directory where cache data is stored. |
setDirectory | public void setDirectory(File dir) throws IOException(Code) | | Set the local directory where cache data will be stored.
Parameters: dir - The local directory where cache data will be stored. throws: IOException - File not found, not a directory, can't write... |
setDirectoryName | public void setDirectoryName(String dirname) throws IOException(Code) | | Set the name of the local directory where cache data will be stored.
Invokes
FileDeploymentStore.setDirectory .
Parameters: dirname - The name of the local directory where cache data will be stored. throws: IOException - File not found, not a directory, can't write... |
writeMap | protected void writeMap() throws IOException(Code) | | Write the url map to serialized state.
|
|
|
|