public class ScrConfigurationImpl extends Object implements ScrConfiguration
ScrConfiguration class conveys configuration for the
Felix DS implementation bundle.
Configuration Source
ManagedService with Service PID
org.apache.felix.scr.ScrService. This class uses an OSGi
Service Factory (ScrManagedServiceServiceFactory) to register the
managed service without requiring the Configuration Admin Service API to be
required upfront.
See the Configuration section of the Apache Felix Service Component Runtime documentation page for detailed information.
DEFAULT_LOCK_TIMEOUT_MILLISECONDS, DEFAULT_SERVICE_CHANGECOUNT_TIMEOUT_MILLISECONDS, DEFAULT_STOP_TIMEOUT_MILLISECONDS, PID, PROP_DELAYED_KEEP_INSTANCES, PROP_FACTORY_ENABLED, PROP_GLOBAL_EXTENDER, PROP_INFO_SERVICE, PROP_LOCK_TIMEOUT, PROP_LOGLEVEL, PROP_SERVICE_CHANGECOUNT_TIMEOUT, PROP_STOP_TIMEOUT| Constructor and Description |
|---|
ScrConfigurationImpl(org.apache.felix.scr.impl.Activator activator) |
| Modifier and Type | Method and Description |
|---|---|
int |
getLogLevel()
Returns the current log level.
|
boolean |
globalExtender() |
boolean |
infoAsService() |
boolean |
isFactoryEnabled() |
boolean |
keepInstances() |
long |
lockTimeout() |
long |
serviceChangecountTimeout() |
void |
setScrCommand(org.apache.felix.scr.impl.ComponentCommands scrCommand) |
void |
start(org.osgi.framework.BundleContext bundleContext) |
void |
stop() |
long |
stopTimeout() |
public ScrConfigurationImpl(org.apache.felix.scr.impl.Activator activator)
public void start(org.osgi.framework.BundleContext bundleContext)
public void stop()
public void setScrCommand(org.apache.felix.scr.impl.ComponentCommands scrCommand)
public int getLogLevel()
getLogLevel in interface ScrConfigurationpublic boolean isFactoryEnabled()
isFactoryEnabled in interface ScrConfigurationpublic boolean keepInstances()
keepInstances in interface ScrConfigurationpublic boolean infoAsService()
infoAsService in interface ScrConfigurationpublic long lockTimeout()
lockTimeout in interface ScrConfigurationpublic long stopTimeout()
stopTimeout in interface ScrConfigurationpublic boolean globalExtender()
globalExtender in interface ScrConfigurationpublic long serviceChangecountTimeout()
serviceChangecountTimeout in interface ScrConfigurationCopyright © 2006–2020 The Apache Software Foundation. All rights reserved.