Class AbstractRegistrationSupport
- java.lang.Object
-
- org.apache.sling.jcr.registration.AbstractRegistrationSupport
-
public abstract class AbstractRegistrationSupport extends java.lang.Object
TheAbstractRegistrationSupport
class is the base class for registration purposes of embedded repositories.This base class cares for synchronization issues of the
activate(ComponentContext)
,deactivate(ComponentContext)
,bindRepository(ServiceReference)
andunbindRepository(ServiceReference)
methods. Implementations of the abstract API may safely assume to run thread-safe.To ensure this thread-safeness, said methods should not be overwritten.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
REPOSITORY_REGISTRATION_NAME
The JCR Repository service registration property used to create the registration name.
-
Constructor Summary
Constructors Constructor Description AbstractRegistrationSupport()
-
-
-
Field Detail
-
REPOSITORY_REGISTRATION_NAME
public static final java.lang.String REPOSITORY_REGISTRATION_NAME
The JCR Repository service registration property used to create the registration name. If this service registration property (assumed to be a single string) does not exist, the repository is not registered.- See Also:
- Constant Field Values
-
-