"storage" : {
"binaryStorage" : {
"type" : "file",
"directory": "target/persistent_repository/binaries",
"trash" : "target/persistent_repository/binaries/trash"
}
}
A binary store which stores data on disk, in a configured location.
"storage" : {
"binaryStorage" : {
"type" : "file",
"directory": "target/persistent_repository/binaries",
"trash" : "target/persistent_repository/binaries/trash"
}
}
<repository> <file-binary-storage path="modeshape/sample/binaries" trash="modeshape/sample/binaries_trash" relative-to="jboss.server.data.dir"/> </repository>
|
Name |
Required |
Configuration |
Description |
|
directory |
yes |
JSON |
the path on the file system where the binaries should be stored |
|
trash |
no |
JSON and JBoss AS |
the path on the file system where unused binaries should be stored. In JBoss AS this should be a relative path to the relative-to attribute |
|
path |
yes |
JBoss AS |
the relative path to the relative-to attribute where the binaries should be stored |
|
relative-to |
no |
JBoss AS |
the base folder relative to which the path and trash attributes will be interpreted. Defaults to jboss.server.data.dir |
plus the common attributes described here