Skip navigation links
A B D G J L O P R U 

A

AbstractRegistrationSupport - Class in org.apache.sling.jcr.registration
The AbstractRegistrationSupport class is the base class for registration purposes of embedded repositories.
AbstractRegistrationSupport() - Constructor for class org.apache.sling.jcr.registration.AbstractRegistrationSupport
 
activate(ComponentContext) - Method in class org.apache.sling.jcr.registration.AbstractRegistrationSupport
Activates this component thread-safely as follows: Set the OSGi ComponentContext field Call AbstractRegistrationSupport.doActivate() Register repositores bound before activation calling AbstractRegistrationSupport.bindRepository(String, Repository) for each such repository.

B

bindLog(LogService) - Method in class org.apache.sling.jcr.registration.AbstractRegistrationSupport
Binds the LogService
bindLog(LogService) - Method in class org.apache.sling.jcr.registration.impl.JndiRegistrationSupport
 
bindLog(LogService) - Method in class org.apache.sling.jcr.registration.impl.RmiRegistrationSupport
 
bindRepository(String, Repository) - Method in class org.apache.sling.jcr.registration.AbstractRegistrationSupport
Called to actually register a repository with the registry.
bindRepository(ServiceReference) - Method in class org.apache.sling.jcr.registration.AbstractRegistrationSupport
Registers the repository identified by the OSGi service reference under the name set as service property.
bindRepository(String, Repository) - Method in class org.apache.sling.jcr.registration.impl.JndiRegistrationSupport
 
bindRepository(String, Repository) - Method in class org.apache.sling.jcr.registration.impl.RmiRegistrationSupport
 

D

deactivate(ComponentContext) - Method in class org.apache.sling.jcr.registration.AbstractRegistrationSupport
Deactivates this component thread-safely as follows: Unregister repositores still bound calling AbstractRegistrationSupport.unbindRepository(String, Object) for each such repository.
doActivate() - Method in class org.apache.sling.jcr.registration.AbstractRegistrationSupport
Performs additional activation tasks.
doActivate() - Method in class org.apache.sling.jcr.registration.impl.JndiRegistrationSupport
 
doActivate() - Method in class org.apache.sling.jcr.registration.impl.RmiRegistrationSupport
Read the registry port from the configuration properties.
doDeactivate() - Method in class org.apache.sling.jcr.registration.AbstractRegistrationSupport
Performs additional deactivation tasks.
doDeactivate() - Method in class org.apache.sling.jcr.registration.impl.JndiRegistrationSupport
 
doDeactivate() - Method in class org.apache.sling.jcr.registration.impl.RmiRegistrationSupport
If a private registry has been acquired this method unexports the registry object to free the RMI registry OID for later use.

G

getComponentContext() - Method in class org.apache.sling.jcr.registration.AbstractRegistrationSupport
Returns the OSGi ComponentContext of this component.
getName(ServiceReference) - Method in class org.apache.sling.jcr.registration.AbstractRegistrationSupport
Returns the name property from the service properties or null if no such property exists or the property is an empty string.
getRemoteAdapterFactory() - Method in class org.apache.sling.jcr.registration.impl.RmiRegistrationSupport
Returns a Jackrabbit JCR RMI RemoteAdapterFactory to be used to publish local (server-side) JCR objects to a remote client.

J

JndiRegistrationSupport - Class in org.apache.sling.jcr.registration.impl
The JndiRegistrationSupport extends the AbstractRegistrationSupport class to register repositories with a JNDI context whose provider URL and initial factory class name may be configured.
JndiRegistrationSupport() - Constructor for class org.apache.sling.jcr.registration.impl.JndiRegistrationSupport
 
JndiRegistrationSupport.Configuration - Annotation Type in org.apache.sling.jcr.registration.impl
 

L

log(int, String, Throwable) - Method in class org.apache.sling.jcr.registration.AbstractRegistrationSupport
Logs a message with optional Throwable stack trace to the log service or stderr if no log service is available.

O

org.apache.sling.jcr.registration - package org.apache.sling.jcr.registration
The org.apache.sling.jcr.registration package exports the AbstractRegistrationSupport class which may be extended by service exposing JCR Repository services in any one non-OSGi registry such as RMI or JNDI.
org.apache.sling.jcr.registration.impl - package org.apache.sling.jcr.registration.impl
 

P

PROP_REGISTRY_PORT - Static variable in class org.apache.sling.jcr.registration.impl.RmiRegistrationSupport
 

R

registryLock - Variable in class org.apache.sling.jcr.registration.AbstractRegistrationSupport
A lock to serialize access to the registry management in this class.
REPOSITORY_REGISTRATION_NAME - Static variable in class org.apache.sling.jcr.registration.AbstractRegistrationSupport
The JCR Repository service registration property used to create the registration name.
RmiRegistrationSupport - Class in org.apache.sling.jcr.registration.impl
The RmiRegistrationSupport extends the AbstractRegistrationSupport class to register repositories with an RMI registry whose provider localhost port may be configured.
RmiRegistrationSupport() - Constructor for class org.apache.sling.jcr.registration.impl.RmiRegistrationSupport
 
RmiRegistrationSupport.Configuration - Annotation Type in org.apache.sling.jcr.registration.impl
 

U

unbindLog(LogService) - Method in class org.apache.sling.jcr.registration.AbstractRegistrationSupport
Unbinds the LogService
unbindLog(LogService) - Method in class org.apache.sling.jcr.registration.impl.JndiRegistrationSupport
 
unbindLog(LogService) - Method in class org.apache.sling.jcr.registration.impl.RmiRegistrationSupport
 
unbindRepository(String, Object) - Method in class org.apache.sling.jcr.registration.AbstractRegistrationSupport
Called to actually unregister a repository with the registry.
unbindRepository(ServiceReference) - Method in class org.apache.sling.jcr.registration.AbstractRegistrationSupport
Unregisters the repository identified by the OSGi service reference under the name set as service property.
unbindRepository(String, Object) - Method in class org.apache.sling.jcr.registration.impl.JndiRegistrationSupport
 
unbindRepository(String, Object) - Method in class org.apache.sling.jcr.registration.impl.RmiRegistrationSupport
 
A B D G J L O P R U 
Skip navigation links

Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.