"storage" : { "binaryStorage" : { "type" : "custom", "classname" : "org.modeshape.jcr.value.binary.CustomBinaryStoreImpl", "classloader" : "jar:http://www.foo.com/bar/baz.jar", "attr1" : "value1", "attr2" : "value2" } }
A mechanism to plug in an external (non ModeShape-owned) binary store implementation which is available on the runtime classpath.
"storage" : { "binaryStorage" : { "type" : "custom", "classname" : "org.modeshape.jcr.value.binary.CustomBinaryStoreImpl", "classloader" : "jar:http://www.foo.com/bar/baz.jar", "attr1" : "value1", "attr2" : "value2" } }
<repository> <custom-binary-storage classname="org.modeshape.jcr.value.binary.CustomBinaryStoreImpl" module="my_module" attr1="value1" attr2="value2"/> </repository>
Name |
Required |
Configuration |
Description |
classname |
yes |
JSON and JBoss AS |
the fully qualified class name which implements the org.modeshape.jcr.value.binary.BinaryStore interface |
classloader |
no |
JSON |
any valid URL style string which will be looked at at runtime when attempting to instantiate the binary store |
module |
yes |
JBoss AS |
the name of the JBoss AS module which contains the binary store implementation |
plus any number of custom attributes (specific to the binary store implementation) which will be set via reflection at runtime.