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 ScrConfiguration
public boolean isFactoryEnabled()
isFactoryEnabled
in interface ScrConfiguration
public boolean keepInstances()
keepInstances
in interface ScrConfiguration
public boolean infoAsService()
infoAsService
in interface ScrConfiguration
public long lockTimeout()
lockTimeout
in interface ScrConfiguration
public long stopTimeout()
stopTimeout
in interface ScrConfiguration
public boolean globalExtender()
globalExtender
in interface ScrConfiguration
public long serviceChangecountTimeout()
serviceChangecountTimeout
in interface ScrConfiguration
Copyright © 2006–2020 The Apache Software Foundation. All rights reserved.