|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.internal.embedded.EmbeddedFileSystem.Builder
public static class EmbeddedFileSystem.Builder
EmbeddedFileSystem builder class. Clients must use one these builder instances to create an EmbeddedFileSystem instance.
| Constructor Summary | |
|---|---|
EmbeddedFileSystem.Builder()
|
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EmbeddedFileSystem.Builder()
| Method Detail |
|---|
public EmbeddedFileSystem.Builder autoDelete(boolean b)
b - true to delete the instance root directory on server shutdown
public EmbeddedFileSystem.Builder configurationFile(File f)
f - location of the configuration file
public 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 installation
public 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 directory
public EmbeddedFileSystem build()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||