org.apache.karaf.features.management
Interface FeaturesServiceMBean

All Known Implementing Classes:
FeaturesServiceMBeanImpl

public interface FeaturesServiceMBean


Field Summary
static java.lang.String[] FEATURE
          The item names in the CompositeData representing a feature
static java.lang.String FEATURE_BUNDLES
           
static java.lang.String[] FEATURE_CONFIG
           
static java.lang.String[] FEATURE_CONFIG_ELEMENT
           
static java.lang.String FEATURE_CONFIG_ELEMENT_KEY
           
static java.lang.String FEATURE_CONFIG_ELEMENT_VALUE
           
static java.lang.String FEATURE_CONFIG_ELEMENTS
           
static java.lang.String[] FEATURE_CONFIG_FILES
           
static java.lang.String FEATURE_CONFIG_FILES_ELEMENTS
           
static java.lang.String FEATURE_CONFIG_PID
           
static java.lang.String FEATURE_CONFIGURATIONFILES
           
static java.lang.String FEATURE_CONFIGURATIONS
           
static java.lang.String FEATURE_DEPENDENCIES
           
static java.lang.String[] FEATURE_EVENT
          The item names in the CompositeData representing the event raised for feature events within the OSGi container by this bean
static java.lang.String FEATURE_EVENT_EVENT_TYPE
           
static java.lang.String FEATURE_EVENT_EVENT_TYPE_INSTALLED
           
static java.lang.String FEATURE_EVENT_EVENT_TYPE_UNINSTALLED
           
static java.lang.String FEATURE_EVENT_TYPE
          The type of the event which is emitted for features events
static java.lang.String[] FEATURE_IDENTIFIER
           
static java.lang.String FEATURE_INSTALLED
           
static java.lang.String FEATURE_NAME
           
static java.lang.String FEATURE_VERSION
           
static java.lang.String[] REPOSITORY
          The item names in the CompositeData representing a feature
static java.lang.String[] REPOSITORY_EVENT
          The item names in the CompositeData representing the event raised for feature events within the OSGi container by this bean
static java.lang.String REPOSITORY_EVENT_EVENT_TYPE
           
static java.lang.String REPOSITORY_EVENT_EVENT_TYPE_ADDED
           
static java.lang.String REPOSITORY_EVENT_EVENT_TYPE_REMOVED
           
static java.lang.String REPOSITORY_EVENT_TYPE
          The type of the event which is emitted for repositories events
static java.lang.String REPOSITORY_FEATURES
           
static java.lang.String REPOSITORY_NAME
           
static java.lang.String REPOSITORY_REPOSITORIES
           
static java.lang.String REPOSITORY_URI
           
 
Method Summary
 void addRepository(java.lang.String url)
           
 javax.management.openmbean.TabularData getFeatures()
           
 javax.management.openmbean.TabularData getRepositories()
           
 void installFeature(java.lang.String name)
           
 void installFeature(java.lang.String name, java.lang.String version)
           
 void removeRepository(java.lang.String url)
           
 void uninstallFeature(java.lang.String name)
           
 void uninstallFeature(java.lang.String name, java.lang.String version)
           
 

Field Detail

FEATURE_NAME

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

FEATURE_VERSION

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

FEATURE_DEPENDENCIES

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

FEATURE_BUNDLES

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

FEATURE_CONFIGURATIONS

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

FEATURE_CONFIGURATIONFILES

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

FEATURE_INSTALLED

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

FEATURE_CONFIG_PID

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

FEATURE_CONFIG_ELEMENTS

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

FEATURE_CONFIG_ELEMENT_KEY

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

FEATURE_CONFIG_ELEMENT_VALUE

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

FEATURE_CONFIG_FILES_ELEMENTS

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

FEATURE_EVENT_TYPE

static final java.lang.String FEATURE_EVENT_TYPE
The type of the event which is emitted for features events

See Also:
Constant Field Values

FEATURE_EVENT_EVENT_TYPE

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

FEATURE_EVENT_EVENT_TYPE_INSTALLED

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

FEATURE_EVENT_EVENT_TYPE_UNINSTALLED

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

FEATURE

static final java.lang.String[] FEATURE
The item names in the CompositeData representing a feature


FEATURE_IDENTIFIER

static final java.lang.String[] FEATURE_IDENTIFIER

FEATURE_CONFIG

static final java.lang.String[] FEATURE_CONFIG

FEATURE_CONFIG_FILES

static final java.lang.String[] FEATURE_CONFIG_FILES

FEATURE_CONFIG_ELEMENT

static final java.lang.String[] FEATURE_CONFIG_ELEMENT

FEATURE_EVENT

static final java.lang.String[] FEATURE_EVENT
The item names in the CompositeData representing the event raised for feature events within the OSGi container by this bean


REPOSITORY_NAME

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

REPOSITORY_URI

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

REPOSITORY_REPOSITORIES

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

REPOSITORY_FEATURES

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

REPOSITORY_EVENT_TYPE

static final java.lang.String REPOSITORY_EVENT_TYPE
The type of the event which is emitted for repositories events

See Also:
Constant Field Values

REPOSITORY_EVENT_EVENT_TYPE

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

REPOSITORY_EVENT_EVENT_TYPE_ADDED

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

REPOSITORY_EVENT_EVENT_TYPE_REMOVED

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

REPOSITORY

static final java.lang.String[] REPOSITORY
The item names in the CompositeData representing a feature


REPOSITORY_EVENT

static final java.lang.String[] REPOSITORY_EVENT
The item names in the CompositeData representing the event raised for feature events within the OSGi container by this bean

Method Detail

getFeatures

javax.management.openmbean.TabularData getFeatures()
                                                   throws Exception
Throws:
Exception

getRepositories

javax.management.openmbean.TabularData getRepositories()
                                                       throws Exception
Throws:
Exception

addRepository

void addRepository(java.lang.String url)
                   throws Exception
Throws:
Exception

removeRepository

void removeRepository(java.lang.String url)
                      throws Exception
Throws:
Exception

installFeature

void installFeature(java.lang.String name)
                    throws Exception
Throws:
Exception

installFeature

void installFeature(java.lang.String name,
                    java.lang.String version)
                    throws Exception
Throws:
Exception

uninstallFeature

void uninstallFeature(java.lang.String name)
                      throws Exception
Throws:
Exception

uninstallFeature

void uninstallFeature(java.lang.String name,
                      java.lang.String version)
                      throws Exception
Throws:
Exception


Copyright © 2007-2011 Apache Software Foundation. All Rights Reserved.