Class AbstractRegistrationSupport

java.lang.Object
org.apache.sling.jcr.registration.AbstractRegistrationSupport

public abstract class AbstractRegistrationSupport extends Object
The AbstractRegistrationSupport 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) and unbindRepository(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 Details

    • REPOSITORY_REGISTRATION_NAME

      public static final 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:
  • Constructor Details

    • AbstractRegistrationSupport

      public AbstractRegistrationSupport()