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

All Known Implementing Classes:
OSGiContainerInfoServiceImpl

public interface OSGiContainerInfoService

Allows the caller to get various OSGi framework information.

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

Field Summary
static java.lang.String KEY_FRAMEWORK_LANGUAGE
           
static java.lang.String KEY_FRAMEWORK_OS_NAME
           
static java.lang.String KEY_FRAMEWORK_OS_VERSION
           
static java.lang.String KEY_FRAMEWORK_PROCESSOR
           
static java.lang.String KEY_FRAMEWORK_VENDOR
           
static java.lang.String KEY_FRAMEWORK_VERSION
           
 
Method Summary
 java.util.Set getAllServices()
          Returns all the available services in the framework.
 java.util.Properties getProperties()
          Gets the standard OSGi framework properties.
 java.lang.String getProperty(java.lang.String property)
          Gets the value of specified framework property.
 

Field Detail

KEY_FRAMEWORK_VERSION

static final java.lang.String KEY_FRAMEWORK_VERSION
See Also:
Constant Field Values

KEY_FRAMEWORK_VENDOR

static final java.lang.String KEY_FRAMEWORK_VENDOR
See Also:
Constant Field Values

KEY_FRAMEWORK_LANGUAGE

static final java.lang.String KEY_FRAMEWORK_LANGUAGE
See Also:
Constant Field Values

KEY_FRAMEWORK_OS_NAME

static final java.lang.String KEY_FRAMEWORK_OS_NAME
See Also:
Constant Field Values

KEY_FRAMEWORK_OS_VERSION

static final java.lang.String KEY_FRAMEWORK_OS_VERSION
See Also:
Constant Field Values

KEY_FRAMEWORK_PROCESSOR

static final java.lang.String KEY_FRAMEWORK_PROCESSOR
See Also:
Constant Field Values
Method Detail

getProperty

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

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

getProperties

java.util.Properties getProperties()
Gets the standard OSGi framework properties.

Returns:
The standard OSGi properties.
Since:
0.1.0

getAllServices

java.util.Set getAllServices()
Returns all the available services in the framework.

Returns:
The available services in the framework.
Since:
0.1.0


Copyright © 2008. All Rights Reserved.