public interface ComponentActivator extends ExtendedServiceListenerContext<ExtendedServiceEvent>
Modifier and Type | Method and Description |
---|---|
void |
disableComponent(String name) |
void |
enableComponent(String name) |
<T> boolean |
enterCreate(org.osgi.framework.ServiceReference<T> reference) |
org.osgi.framework.BundleContext |
getBundleContext() |
ScrConfiguration |
getConfiguration() |
BundleLogger |
getLogger() |
boolean |
isActive() |
<T> void |
leaveCreate(org.osgi.framework.ServiceReference<T> reference) |
<T> void |
missingServicePresent(org.osgi.framework.ServiceReference<T> serviceReference) |
long |
registerComponentId(AbstractComponentManager<?> sAbstractComponentManager) |
<S,T> void |
registerMissingDependency(DependencyManager<S,T> dependencyManager,
org.osgi.framework.ServiceReference<T> serviceReference,
int trackingCount) |
void |
schedule(Runnable runnable) |
RegionConfigurationSupport |
setRegionConfigurationSupport(org.osgi.framework.ServiceReference<org.osgi.service.cm.ConfigurationAdmin> reference) |
void |
unregisterComponentId(AbstractComponentManager<?> sAbstractComponentManager) |
void |
unsetRegionConfigurationSupport(RegionConfigurationSupport rcs) |
void |
updateChangeCount()
Inform about any change in the state of the components.
|
addServiceListener, removeServiceListener
BundleLogger getLogger()
org.osgi.framework.BundleContext getBundleContext()
boolean isActive()
ScrConfiguration getConfiguration()
void schedule(Runnable runnable)
long registerComponentId(AbstractComponentManager<?> sAbstractComponentManager)
void unregisterComponentId(AbstractComponentManager<?> sAbstractComponentManager)
<T> boolean enterCreate(org.osgi.framework.ServiceReference<T> reference)
<T> void leaveCreate(org.osgi.framework.ServiceReference<T> reference)
<S,T> void registerMissingDependency(DependencyManager<S,T> dependencyManager, org.osgi.framework.ServiceReference<T> serviceReference, int trackingCount)
<T> void missingServicePresent(org.osgi.framework.ServiceReference<T> serviceReference)
void enableComponent(String name)
void disableComponent(String name)
RegionConfigurationSupport setRegionConfigurationSupport(org.osgi.framework.ServiceReference<org.osgi.service.cm.ConfigurationAdmin> reference)
void unsetRegionConfigurationSupport(RegionConfigurationSupport rcs)
void updateChangeCount()
Copyright © 2006–2020 The Apache Software Foundation. All rights reserved.