Class RegistrationManager<T>
java.lang.Object
org.apache.felix.scr.impl.manager.RegistrationManager<T>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static enum
private static class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate T
private final List<RegistrationManager.RegStateWrapper>
private final Lock
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) boolean
changeRegistration
(RegistrationManager.RegState desired, String[] services) (package private) T
(package private) abstract long
(package private) abstract void
(package private) abstract void
postRegister
(T t) (package private) abstract T
(package private) abstract void
(package private) abstract void
unregister
(T serviceRegistration)
-
Field Details
-
registrationLock
-
opqueue
-
m_serviceRegistration
-
-
Constructor Details
-
RegistrationManager
RegistrationManager()
-
-
Method Details
-
changeRegistration
- Parameters:
desired
- desired registration stateservices
- services to register this under- Returns:
- true if this request results in a state change, false if we are already in the desired state or some other thread will deal with the consequences of the state change.
-
register
-
postRegister
-
unregister
-
log
-
getTimeout
abstract long getTimeout() -
reportTimeout
abstract void reportTimeout() -
getServiceRegistration
T getServiceRegistration()
-