org.apache.sling.jcr.base.internal
Class RepositoryPrinterProvider

java.lang.Object
  extended by org.apache.sling.jcr.base.internal.RepositoryPrinterProvider

@Reference(name="repository",
           referenceInterface=javax.jcr.Repository.class,
           policy=DYNAMIC,
           cardinality=OPTIONAL_MULTIPLE)
public class RepositoryPrinterProvider
extends java.lang.Object

The repository provider listens for javax.jcr.Repository services and registers a web console plugin


Constructor Summary
RepositoryPrinterProvider()
           
 
Method Summary
protected  void activate(org.osgi.framework.BundleContext ctx)
          Activate this component.
protected  void bindRepository(javax.jcr.Repository repo, java.util.Map<java.lang.String,java.lang.Object> props)
          Bind a new repository.
protected  void deactivate()
          Deactivate this component.
protected  void unbindRepository(javax.jcr.Repository repo, java.util.Map<java.lang.String,java.lang.Object> props)
          Unind a new repository.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RepositoryPrinterProvider

public RepositoryPrinterProvider()
Method Detail

activate

protected void activate(org.osgi.framework.BundleContext ctx)
Activate this component.


deactivate

protected void deactivate()
Deactivate this component.


bindRepository

protected void bindRepository(javax.jcr.Repository repo,
                              java.util.Map<java.lang.String,java.lang.Object> props)
Bind a new repository.


unbindRepository

protected void unbindRepository(javax.jcr.Repository repo,
                                java.util.Map<java.lang.String,java.lang.Object> props)
Unind a new repository.



Copyright © 2007-2012 The Apache Software Foundation. All Rights Reserved.