public class DefaultExtensionDeclaration extends AbstractDeclaration implements ExtensionDeclaration
DECLARATION_BOUND_MESSAGE
m_bundleContext
EXTENSION_NAME_PROPERTY
Constructor and Description |
---|
DefaultExtensionDeclaration(org.osgi.framework.BundleContext bundleContext,
FactoryBuilder factoryBuilder,
java.lang.String type) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getExtensionName()
Gets the extension name.
|
FactoryBuilder |
getFactoryBuilder()
Gets the factory builder to use to create the factories bound to this extension.
|
protected java.util.Dictionary<java.lang.String,?> |
getServiceProperties() |
void |
start()
On start, registers the service.
|
bind, getMessage, getStatus, getThrowable, isBound, publish, retract, unbind, unbind
getBundleContext, getRegistration, isRegistered, registerService, stop
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
bind, getStatus, unbind, unbind
public DefaultExtensionDeclaration(org.osgi.framework.BundleContext bundleContext, FactoryBuilder factoryBuilder, java.lang.String type)
public FactoryBuilder getFactoryBuilder()
ExtensionDeclaration
getFactoryBuilder
in interface ExtensionDeclaration
public java.lang.String getExtensionName()
ExtensionDeclaration
getExtensionName
in interface ExtensionDeclaration
public void start()
AbstractService
start
in interface Lifecycle
start
in class AbstractService
protected java.util.Dictionary<java.lang.String,?> getServiceProperties()
getServiceProperties
in class AbstractService
Copyright © 2006-2014 The Apache Software Foundation. All Rights Reserved.