Class RegistrationManager<T>
java.lang.Object
org.apache.felix.scr.impl.manager.RegistrationManager<T>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static enumprivate static class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Tprivate final List<RegistrationManager.RegStateWrapper>private final Lock -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) booleanchangeRegistration(RegistrationManager.RegState desired, String[] services) (package private) T(package private) abstract long(package private) abstract void(package private) abstract voidpostRegister(T t) (package private) abstract T(package private) abstract void(package private) abstract voidunregister(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()
-