public class DefaultExtensionDeclaration extends AbstractDeclaration implements ExtensionDeclaration
DECLARATION_BOUND_MESSAGEm_bundleContextEXTENSION_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, unbindgetBundleContext, getRegistration, isRegistered, registerService, stopclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbind, getStatus, unbind, unbindpublic DefaultExtensionDeclaration(org.osgi.framework.BundleContext bundleContext,
FactoryBuilder factoryBuilder,
java.lang.String type)
public FactoryBuilder getFactoryBuilder()
ExtensionDeclarationgetFactoryBuilder in interface ExtensionDeclarationpublic java.lang.String getExtensionName()
ExtensionDeclarationgetExtensionName in interface ExtensionDeclarationpublic void start()
AbstractServicestart in interface Lifecyclestart in class AbstractServiceprotected java.util.Dictionary<java.lang.String,?> getServiceProperties()
getServiceProperties in class AbstractServiceCopyright © 2006-2014 The Apache Software Foundation. All Rights Reserved.