org.ops4j.pax.radman.service.common.internal
Class JVMInfoServiceImpl
java.lang.Object
org.ops4j.pax.radman.service.common.internal.JVMInfoServiceImpl
- All Implemented Interfaces:
- JVMInfoService, org.osgi.service.cm.ManagedService
public final class JVMInfoServiceImpl
- extends java.lang.Object
- implements JVMInfoService, org.osgi.service.cm.ManagedService
Implementation class for JVMInfoService.
- Since:
- 0.1.0
- 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 |
void |
updated(java.util.Dictionary dictionary)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KEY_BUNDLE_URL
public static final java.lang.String KEY_BUNDLE_URL
- See Also:
- Constant Field Values
SERVICE_NAMES
public static final java.lang.String[] SERVICE_NAMES
SERVICE_PID
public static final java.lang.String SERVICE_PID
- See Also:
- Constant Field Values
getProperties
public final java.util.Properties getProperties()
- Gets the system properties JVM that the bundle is running on.
- Specified by:
getProperties in interface JVMInfoService
- Returns:
- System properties of the JVM that the bundle is running on.
- Since:
- 0.1.0
getProperty
public final java.lang.String getProperty(java.lang.String property)
throws java.lang.IllegalArgumentException
- Gets the value of the specified property
- Specified by:
getProperty in interface JVMInfoService
- 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
updated
public final void updated(java.util.Dictionary dictionary)
throws org.osgi.service.cm.ConfigurationException
- Specified by:
updated in interface org.osgi.service.cm.ManagedService
- Throws:
org.osgi.service.cm.ConfigurationException
Copyright © 2008. All Rights Reserved.