|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.embeddable.BootstrapProperties
public class BootstrapProperties
Encapsulates the set of properties required to bootstrap GlassFishRuntime.
Eg.., GlassFishRuntime.bootstrap(new BootstrapProperties());
| Constructor Summary | |
|---|---|
BootstrapProperties()
Create BootstrapProperties with default properties. |
|
BootstrapProperties(Properties props)
Create BootstrapProperties with custom properties. |
|
| Method Summary | |
|---|---|
String |
getInstallRoot()
Get the location installation root set using setInstallRoot(java.lang.String) |
Properties |
getProperties()
Get the underlying Properties object which backs this BootstrapProperties. |
String |
getProperty(String key)
Get the value of the property with the specified key. |
void |
setInstallRoot(String installRoot)
Optionally set the installation root using which the GlassFish should run. |
void |
setProperty(String key,
String value)
Set any custom bootstrap property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BootstrapProperties()
public BootstrapProperties(Properties props)
RuntimeBuilder (if any)
props - Properties object which will back this BootstrapProperties object.| Method Detail |
|---|
public Properties getProperties()
public void setProperty(String key,
String value)
RuntimeBuilder (if any)
key - the key to be placed into this bootstrap properties.value - the value corresponding to the key.public String getProperty(String key)
key - the property key
public void setInstallRoot(String installRoot)
installRoot - Location of installation root.public String getInstallRoot()
setInstallRoot(java.lang.String)
setInstallRoot(java.lang.String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||