com.raritantechnologies.google.connector
Class GoogleSession

java.lang.Object
  extended bycom.raritantechnologies.google.connector.GoogleSession
All Implemented Interfaces:
IConfigurable

public class GoogleSession
extends java.lang.Object
implements IConfigurable

Implements a Google Content Connector session. This enables any RTI ICollectionGateway to be connected to a Google Search Appliance.

XML Configuration Template:
   <SystemObject type="GoogleSession" name="GoogleSession" >

     <GoogleSecurityManager 
          userName="[ user name for authentication (optional) ]"
          password="[ password for authentication (optional) ]" >

       <SecurityManager class="[ class of com.raritantechnologies.searchApp.ISecurityManager ]" >

       </SecurityManager>

     </GoogleSecurityManager>

     <CollectionGateway class="[ class of com.raritantechnologies.searchApp.dataCollection.ICollectionGateway ]" >

     </CollectionGateway>

   </SystemObject>
 

Developed by Raritan Technologies Inc..

Author:
Ted Sullivan

Constructor Summary
GoogleSession()
           
 
Method Summary
 AuthenticationManager getAuthenticationManager()
           
 AuthorizationManager getAuthorizationManager()
           
 ICollectionGateway getCollectionGateway()
           
 TraversalManager getTraversalManager()
           
 void initialize(org.w3c.dom.Element elem)
          Initializes the object from an XML tag or element.
 boolean login()
           
 void setCollectionGateway(ICollectionGateway collGateway)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GoogleSession

public GoogleSession()
Method Detail

getTraversalManager

public TraversalManager getTraversalManager()
                                     throws RepositoryException
Throws:
RepositoryException

getAuthenticationManager

public AuthenticationManager getAuthenticationManager()
                                               throws RepositoryException
Throws:
RepositoryException

getAuthorizationManager

public AuthorizationManager getAuthorizationManager()
                                             throws RepositoryException
Throws:
RepositoryException

login

public boolean login()
              throws RepositoryLoginException,
                     RepositoryException
Throws:
RepositoryLoginException
RepositoryException

getCollectionGateway

public ICollectionGateway getCollectionGateway()

setCollectionGateway

public void setCollectionGateway(ICollectionGateway collGateway)

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