com.raritantechnologies.google.connector
Class GoogleSession
java.lang.Object
com.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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GoogleSession
public GoogleSession()
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