|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.sling.jcr.ocm.impl.ObjectContentManagerFactoryImpl
public class ObjectContentManagerFactoryImpl
The ObjectContentManagerFactory
TODO
Constructor Summary | |
---|---|
ObjectContentManagerFactoryImpl()
|
Method Summary | |
---|---|
protected void |
activate(org.osgi.service.component.ComponentContext componentContext)
Activates this component, called by SCR before registering as a service |
void |
bundleChanged(org.osgi.framework.BundleEvent event)
Loads and unloads any components provided by the bundle whose state changed. |
protected void |
deactivate(org.osgi.service.component.ComponentContext componentContext)
Deativates this component, called by SCR to take out of service |
void |
fireEvent(org.osgi.framework.Bundle sourceBundle,
String eventName)
Fires an OSGi event through the EventAdmin service. |
org.apache.jackrabbit.ocm.manager.ObjectContentManager |
getObjectContentManager(javax.jcr.Session session)
Return a new object content manager for the session. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ObjectContentManagerFactoryImpl()
Method Detail |
---|
public org.apache.jackrabbit.ocm.manager.ObjectContentManager getObjectContentManager(javax.jcr.Session session)
ObjectContentManagerFactory
getObjectContentManager
in interface ObjectContentManagerFactory
session
- The jcr session.
ObjectContentManagerFactory.getObjectContentManager(javax.jcr.Session)
public void bundleChanged(org.osgi.framework.BundleEvent event)
bundleChanged
in interface org.osgi.framework.BundleListener
event
- The BundleEvent
representing the bundle state
change.public void fireEvent(org.osgi.framework.Bundle sourceBundle, String eventName)
sourceBundle
- The Bundle from which the event originates. This may
be null
if there is no originating bundle.eventName
- The name of the event
NullPointerException
- if eventName or props is null
.protected void activate(org.osgi.service.component.ComponentContext componentContext)
protected void deactivate(org.osgi.service.component.ComponentContext componentContext)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |