public interface InstanceDeclaration extends Declaration
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COMPONENT_NAME_PROPERTY
Service property specifying the component type's name.
|
static java.lang.String |
COMPONENT_VERSION_PROPERTY
Service property specifying the component type's version.
|
static java.lang.String |
INSTANCE_NAME
Service property specifying the instance name.
|
static java.lang.String |
UNNAMED_INSTANCE
Value used when an instance configuration does not declare its name.
|
Modifier and Type | Method and Description |
---|---|
org.osgi.framework.Bundle |
getBundle()
Gets the bundle that is declaring this instance.
|
java.lang.String |
getComponentName() |
java.lang.String |
getComponentVersion() |
java.util.Dictionary<java.lang.String,java.lang.Object> |
getConfiguration()
The instance configuration.
|
java.lang.String |
getInstanceName()
Gets the instance name.
|
bind, getStatus, unbind, unbind
static final java.lang.String COMPONENT_NAME_PROPERTY
static final java.lang.String COMPONENT_VERSION_PROPERTY
static final java.lang.String INSTANCE_NAME
static final java.lang.String UNNAMED_INSTANCE
java.util.Dictionary<java.lang.String,java.lang.Object> getConfiguration()
java.lang.String getComponentName()
java.lang.String getComponentVersion()
java.lang.String getInstanceName()
org.osgi.framework.Bundle getBundle()
Copyright © 2006-2014 The Apache Software Foundation. All Rights Reserved.