Interface ScrConfiguration
- All Superinterfaces:
LogConfiguration
- All Known Implementing Classes:
ScrConfigurationImpl
The
ScrConfiguration
class conveys configuration for the
Felix DS implementation bundle.
Configuration Source
- Framework properties: These are read when the Declarative Services implementation is first started.
- Configuration Admin Service: Properties are provided by means of a
ManagedService
with Service PIDorg.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.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final long
static final long
static final long
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
Fields inherited from interface org.apache.felix.scr.impl.logger.LogConfiguration
PROP_LOG_ENABLED, PROP_LOG_EXTENSION, PROP_LOGLEVEL
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
boolean
Deprecated.boolean
boolean
long
long
long
Methods inherited from interface org.apache.felix.scr.impl.logger.LogConfiguration
getLogLevel, isLogEnabled, isLogExtensionEnabled
-
Field Details
-
PID
- See Also:
-
PROP_FACTORY_ENABLED
- See Also:
-
PROP_DELAYED_KEEP_INSTANCES
- See Also:
-
PROP_INFO_SERVICE
- See Also:
-
PROP_LOCK_TIMEOUT
- See Also:
-
PROP_STOP_TIMEOUT
- See Also:
-
DEFAULT_LOCK_TIMEOUT_MILLISECONDS
static final long DEFAULT_LOCK_TIMEOUT_MILLISECONDS- See Also:
-
DEFAULT_SERVICE_CHANGECOUNT_TIMEOUT_MILLISECONDS
static final long DEFAULT_SERVICE_CHANGECOUNT_TIMEOUT_MILLISECONDS- See Also:
-
DEFAULT_STOP_TIMEOUT_MILLISECONDS
static final long DEFAULT_STOP_TIMEOUT_MILLISECONDS- See Also:
-
PROP_GLOBAL_EXTENDER
- See Also:
-
PROP_SERVICE_CHANGECOUNT_TIMEOUT
- See Also:
-
PROP_CACHE_METADATA
- See Also:
-
-
Method Details
-
isFactoryEnabled
boolean isFactoryEnabled() -
keepInstances
boolean keepInstances() -
infoAsService
Deprecated. -
lockTimeout
long lockTimeout() -
stopTimeout
long stopTimeout() -
globalExtender
boolean globalExtender()- Since:
- 2.1
-
serviceChangecountTimeout
long serviceChangecountTimeout()- Since:
- 2.2
-
cacheMetadata
boolean cacheMetadata()
-