com.raritantechnologies.jcr
Class JCRConnectionManager

java.lang.Object
  extended bycom.raritantechnologies.jcr.JCRConnectionManager
All Implemented Interfaces:
IConfigurable

public class JCRConnectionManager
extends java.lang.Object
implements IConfigurable

Connects to a JCR Source.

XML Configuration Template:
  <SystemObject type="JCRConnectionManager" name="[ name of this JCR Connection ]"
                   initialContextFactory="[ JNDI initial context factory name ]"
                   envContext="[ JNDI env Context ]"
                   repositoryName="[ JCR repository name ]" >

  </SystemObject>
 


Constructor Summary
JCRConnectionManager()
           
 
Method Summary
 void addNodeIterator(javax.jcr.NodeIterator nodeIt, UserSession userSession)
           
 javax.jcr.query.QueryManager getJCRQueryManager(UserSession userSession)
           
 javax.jcr.Session getJCRSession(UserSession userSession)
           
 com.raritantechnologies.jcr.JCRConnectionManager.JCRSessionListener getJCRSessionListener()
           
 void initialize(org.w3c.dom.Element elem)
          Initializes the object from an XML tag or element.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JCRConnectionManager

public JCRConnectionManager()
Method Detail

initialize

public void initialize(org.w3c.dom.Element elem)
Description copied from interface: IConfigurable
Initializes the object from an XML tag or element. This method is called by the Framework as part of the application initializtion. see ConfigurationManager, XMLConfigurationManager, XMLSearchFieldMapFactory, XMLSearchSourceFactory. Configurable objects that are owned or contained by other configurable objects will be initialized in by the parent object.

Specified by:
initialize in interface IConfigurable

getJCRSession

public javax.jcr.Session getJCRSession(UserSession userSession)

getJCRSessionListener

public com.raritantechnologies.jcr.JCRConnectionManager.JCRSessionListener getJCRSessionListener()

getJCRQueryManager

public javax.jcr.query.QueryManager getJCRQueryManager(UserSession userSession)

addNodeIterator

public void addNodeIterator(javax.jcr.NodeIterator nodeIt,
                            UserSession userSession)