org.ops4j.pax.radman.service.common
Interface JVMInfoService

All Known Implementing Classes:
JVMInfoServiceImpl

public interface JVMInfoService

Allows the caller to get the system properties of the current JVM.

Author:
Johnathan T. Marchant (jtmarchant@gmail.com)

Method Summary
 java.util.Properties getProperties()
          Gets the system properties JVM that the bundle is running on.
 java.lang.String getProperty(java.lang.String property)
          Gets the value of the specified property
 

Method Detail

getProperties

java.util.Properties getProperties()
Gets the system properties JVM that the bundle is running on.

Returns:
System properties of the JVM that the bundle is running on.
Since:
0.1.0

getProperty

java.lang.String getProperty(java.lang.String property)
                             throws java.lang.IllegalArgumentException
Gets the value of the specified property

Parameters:
property - The property whose value to get.
Returns:
The value of the specified property or null if it doesn't exist.
Throws:
java.lang.IllegalArgumentException - If the specified property key is null.
Since:
0.1.0


Copyright © 2008. All Rights Reserved.