public static class EmbeddedFileSystem.Builder extends Object
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
EmbeddedFileSystem.Builder |
autoDelete(boolean b)
Sets the auto delete flag.
|
EmbeddedFileSystem |
build()
Builds a configured embedded file system instance that can be used to configure
an embedded server.
|
EmbeddedFileSystem.Builder |
configurationFile(File f)
Sets the location of the read-only domain.xml configuration file.
|
EmbeddedFileSystem.Builder |
configurationFile(File f,
boolean readOnly)
Sets the location of the domain.xml configuration file.
|
EmbeddedFileSystem.Builder |
installRoot(File f)
Sets the installation directory, using the installation module directory content
as the application server classpath.
|
EmbeddedFileSystem.Builder |
installRoot(File f,
boolean cookedMode)
Sets the installation directory and direct whether or not to use the installation's
module directory content in the embedded server classpath.
|
EmbeddedFileSystem.Builder |
instanceRoot(File f)
Sets the location of the domain directory used to load this instance of the
embedded server.
|
String |
toString() |
public EmbeddedFileSystem.Builder autoDelete(boolean b)
b - true to delete the instance root directory on server shutdownpublic EmbeddedFileSystem.Builder configurationFile(File f)
f - location of the configuration filepublic EmbeddedFileSystem.Builder configurationFile(File f, boolean readOnly)
f - location of the configuration filereadOnly - true if the file is readonly, false if management operations should be
persisted.public EmbeddedFileSystem.Builder installRoot(File f)
f - location of the glassfish installationpublic EmbeddedFileSystem.Builder installRoot(File f, boolean cookedMode)
f - location of the installationcookedMode - true to use this class classloader, false to create a new classloader
with the installation modules directory content.public EmbeddedFileSystem.Builder instanceRoot(File f)
f - location of the domain directorypublic EmbeddedFileSystem build()
Copyright © 2019. All rights reserved.