|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ops4j.util.property.PropertyStore
org.ops4j.pax.runner.platform.internal.ConfigurationImpl
public class ConfigurationImpl
Service Configuration implementation.
Configuration| Constructor Summary | |
|---|---|
ConfigurationImpl(org.ops4j.util.property.PropertyResolver propertyResolver)
Creates a new service configuration. |
|
| Method Summary | |
|---|---|
java.lang.String |
getBootDelegation()
Returns a comma separated list of boot delegation packages according to OSGi core specs 3.2.3 (in 4.0.1). |
java.lang.Integer |
getBundleStartLevel()
Returns the installed bundles start level option - optional; the platform start level. |
java.lang.String |
getClasspath()
TODO add unit tests |
java.net.URL |
getDefinitionURL()
Returns the definition url option - optional; url to the xml file containing the definition of the platform (system bundle, profiles). |
java.lang.String |
getExecutionEnvironment()
Returns the java version option - optional; the targeted version for the platform. |
java.lang.String |
getFrameworkProfile()
Returns the framework profile option - optional; name of the framework profile to use. |
java.lang.String |
getJavaHome()
Returns the java home option - optional; If no version was specified then first the value of system property "JAVA_HOME" is used. |
java.lang.String |
getProfiles()
Returns the profiles option - optional; a comma separated list of profiles to be used. |
java.lang.Integer |
getProfileStartLevel()
Returns the platform bundles start level option - optional; the start level at which the platform bundles will be started. |
java.lang.Integer |
getStartLevel()
Returns the platform start level option - optional; the platform start level. |
java.lang.String |
getSystemPackages()
Returns the system packages option - optional; a comma separated list of packages that should be exported by the framework bundles, in addition to the standard packages list. |
java.lang.String[] |
getVMOptions()
Returns the virtual machine options option - optional; virtual machine options to be used for the VM that will be used for the platform. |
java.lang.String |
getWorkingDirectory()
Returns the working directory option - ptional; a file path where the platform specific artifacts will be stored. |
java.lang.Boolean |
isCleanStart()
Returns true if the cached bundles and target platforms configuration folder shall be removed. |
java.lang.Boolean |
isDebugClassLoading()
Returns true if the platform should print debug messages about class loading. |
java.lang.Boolean |
isDownloadFeedback()
Retrurns true if detailed information about downloading process should be displayed. |
java.lang.Boolean |
isOverwrite()
Returns true if the already downloaded bundles from a previous run must be overwritten. |
java.lang.Boolean |
isOverwriteSystemBundles()
Returns true if the already downloaded system bundles from a previous run must be overwritten. |
java.lang.Boolean |
isOverwriteUserBundles()
Returns true if the already downloaded user bundles from a previous run must be overwritten. |
java.lang.Boolean |
startConsole()
Returns the start console option - true/false; whether the platform console should be started. |
java.lang.Boolean |
usePersistedState()
Returns true if persisted platform state (platform specific) should be used on start up. |
| Methods inherited from class org.ops4j.util.property.PropertyStore |
|---|
contains, get, set |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConfigurationImpl(org.ops4j.util.property.PropertyResolver propertyResolver)
propertyResolver - propertyResolver used to resolve properties; mandatory| Method Detail |
|---|
public java.net.URL getDefinitionURL()
throws java.net.MalformedURLException
Configuration
getDefinitionURL in interface Configurationjava.net.MalformedURLException - if the definition url is malformedConfiguration.getDefinitionURL()public java.lang.String getWorkingDirectory()
Configuration
getWorkingDirectory in interface ConfigurationConfiguration.getWorkingDirectory()public java.lang.String[] getVMOptions()
Configuration
getVMOptions in interface ConfigurationConfiguration.getVMOptions()public java.lang.String getClasspath()
getClasspath in interface ConfigurationConfiguration.getClasspath()public java.lang.String getSystemPackages()
Configuration
getSystemPackages in interface ConfigurationConfiguration.getSystemPackages()public java.lang.String getExecutionEnvironment()
Configuration
getExecutionEnvironment in interface ConfigurationConfiguration.getExecutionEnvironment()public java.lang.String getJavaHome()
Configuration
getJavaHome in interface ConfigurationConfiguration.getJavaHome()public java.lang.Boolean usePersistedState()
Configuration
usePersistedState in interface ConfigurationConfiguration.usePersistedState()public java.lang.Boolean startConsole()
Configuration
startConsole in interface ConfigurationConfiguration.startConsole()public java.lang.Boolean isOverwrite()
Configuration
isOverwrite in interface ConfigurationConfiguration.isOverwrite()public java.lang.String getProfiles()
Configuration
getProfiles in interface ConfigurationConfiguration.getProfiles()public java.lang.String getFrameworkProfile()
Configuration
getFrameworkProfile in interface ConfigurationConfiguration.getFrameworkProfile()public java.lang.Boolean isCleanStart()
Configuration
isCleanStart in interface ConfigurationConfiguration.isCleanStart()public java.lang.Integer getProfileStartLevel()
Configuration
getProfileStartLevel in interface ConfigurationConfiguration.getProfileStartLevel()public java.lang.Integer getStartLevel()
Configuration
getStartLevel in interface ConfigurationConfiguration.getStartLevel()public java.lang.Integer getBundleStartLevel()
Configuration
getBundleStartLevel in interface ConfigurationConfiguration.getBundleStartLevel()public java.lang.Boolean isOverwriteUserBundles()
Configuration
isOverwriteUserBundles in interface ConfigurationConfiguration.isOverwriteUserBundles()public java.lang.Boolean isOverwriteSystemBundles()
Configuration
isOverwriteSystemBundles in interface ConfigurationConfiguration.isOverwriteSystemBundles()public java.lang.Boolean isDebugClassLoading()
Configuration
isDebugClassLoading in interface ConfigurationConfiguration.isDebugClassLoading()public java.lang.Boolean isDownloadFeedback()
Configuration
isDownloadFeedback in interface ConfigurationConfiguration.isDownloadFeedback()public java.lang.String getBootDelegation()
Configuration
getBootDelegation in interface ConfigurationConfiguration.getBootDelegation()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||