public class DefaultInstanceDeclaration extends AbstractDeclaration implements InstanceDeclaration
DECLARATION_BOUND_MESSAGEm_bundleContextCOMPONENT_NAME_PROPERTY, COMPONENT_VERSION_PROPERTY, INSTANCE_NAME, UNNAMED_INSTANCE| Constructor and Description |
|---|
DefaultInstanceDeclaration(org.osgi.framework.BundleContext bundleContext,
java.lang.String componentName) |
DefaultInstanceDeclaration(org.osgi.framework.BundleContext bundleContext,
java.lang.String componentName,
java.util.Dictionary<java.lang.String,java.lang.Object> configuration) |
| 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.
|
protected java.util.Dictionary<java.lang.String,?> |
getServiceProperties() |
bind, getMessage, getStatus, getThrowable, isBound, publish, retract, unbind, unbindgetBundleContext, getRegistration, isRegistered, registerService, start, stopclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbind, getStatus, unbind, unbindpublic DefaultInstanceDeclaration(org.osgi.framework.BundleContext bundleContext,
java.lang.String componentName)
public DefaultInstanceDeclaration(org.osgi.framework.BundleContext bundleContext,
java.lang.String componentName,
java.util.Dictionary<java.lang.String,java.lang.Object> configuration)
public java.util.Dictionary<java.lang.String,java.lang.Object> getConfiguration()
InstanceDeclarationgetConfiguration in interface InstanceDeclarationpublic java.lang.String getComponentName()
getComponentName in interface InstanceDeclarationpublic java.lang.String getComponentVersion()
getComponentVersion in interface InstanceDeclarationpublic java.lang.String getInstanceName()
InstanceDeclarationgetInstanceName in interface InstanceDeclarationpublic org.osgi.framework.Bundle getBundle()
getBundle in interface InstanceDeclarationprotected java.util.Dictionary<java.lang.String,?> getServiceProperties()
getServiceProperties in class AbstractServiceCopyright © 2006-2014 The Apache Software Foundation. All Rights Reserved.