|
||||||||||
| 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(java.util.Properties props)
Create BootstrapProperties with custom properties. |
|
| Method Summary | |
|---|---|
java.lang.String |
getInstallRoot()
Get the location installation root set using setInstallRoot(java.lang.String) |
java.util.Properties |
getProperties()
Get the underlying Properties object which backs this BootstrapProperties. |
java.lang.String |
getProperty(java.lang.String key)
Get the value of the property with the specified key. |
void |
setInstallRoot(java.lang.String installRoot)
Optionally set the installation root using which the GlassFish should run. |
void |
setProperty(java.lang.String key,
java.lang.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(java.util.Properties props)
RuntimeBuilder (if any)
props - Properties object which will back this BootstrapProperties object.| Method Detail |
|---|
public java.util.Properties getProperties()
public void setProperty(java.lang.String key,
java.lang.String value)
RuntimeBuilder (if any)
key - the key to be placed into this bootstrap properties.value - the value corresponding to the key.public java.lang.String getProperty(java.lang.String key)
key - the property key
public void setInstallRoot(java.lang.String installRoot)
installRoot - Location of installation root.public java.lang.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 | |||||||||