Class NotificationConnectorFactory
- java.lang.Object
-
- org.apache.manifoldcf.core.interfaces.ConnectorFactory<INotificationConnector>
-
- org.apache.manifoldcf.crawler.interfaces.NotificationConnectorFactory
-
public class NotificationConnectorFactory extends ConnectorFactory<INotificationConnector>
This is the factory class for INotificationConnector objects.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
_rcsid
protected static NotificationConnectorFactory
thisFactory
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
deinstall(IThreadContext threadContext, java.lang.String className)
Uninstall connector.static INotificationConnector
getConnectorNoCheck(java.lang.String className)
Get a notification connector instance, without checking for installed connector.static void
install(IThreadContext threadContext, java.lang.String className)
Install connector.protected boolean
isInstalled(IThreadContext tc, java.lang.String className)
Override this method to hook into a connector manager.static void
outputConfigurationBody(IThreadContext threadContext, java.lang.String className, IHTTPOutput out, java.util.Locale locale, ConfigParams parameters, java.lang.String tabName)
Output the configuration body section.static void
outputConfigurationHeader(IThreadContext threadContext, java.lang.String className, IHTTPOutput out, java.util.Locale locale, ConfigParams parameters, java.util.ArrayList tabsArray)
Output the configuration header section.static java.lang.String
processConfigurationPost(IThreadContext threadContext, java.lang.String className, IPostParameters variableContext, java.util.Locale locale, ConfigParams configParams)
Process configuration post data for a connector.static void
viewConfiguration(IThreadContext threadContext, java.lang.String className, IHTTPOutput out, java.util.Locale locale, ConfigParams configParams)
View connector configuration.-
Methods inherited from class org.apache.manifoldcf.core.interfaces.ConnectorFactory
deinstallThis, getThisConnector, getThisConnectorNoCheck, getThisConnectorRaw, installThis, outputThisConfigurationBody, outputThisConfigurationHeader, processThisConfigurationPost, viewThisConfiguration
-
-
-
-
Field Detail
-
_rcsid
public static final java.lang.String _rcsid
- See Also:
- Constant Field Values
-
thisFactory
protected static final NotificationConnectorFactory thisFactory
-
-
Method Detail
-
isInstalled
protected boolean isInstalled(IThreadContext tc, java.lang.String className) throws ManifoldCFException
Description copied from class:ConnectorFactory
Override this method to hook into a connector manager.- Specified by:
isInstalled
in classConnectorFactory<INotificationConnector>
- Throws:
ManifoldCFException
-
install
public static void install(IThreadContext threadContext, java.lang.String className) throws ManifoldCFException
Install connector.- Parameters:
className
- is the class name.- Throws:
ManifoldCFException
-
deinstall
public static void deinstall(IThreadContext threadContext, java.lang.String className) throws ManifoldCFException
Uninstall connector.- Parameters:
className
- is the class name.- Throws:
ManifoldCFException
-
outputConfigurationHeader
public static void outputConfigurationHeader(IThreadContext threadContext, java.lang.String className, IHTTPOutput out, java.util.Locale locale, ConfigParams parameters, java.util.ArrayList tabsArray) throws ManifoldCFException, java.io.IOException
Output the configuration header section.- Throws:
ManifoldCFException
java.io.IOException
-
outputConfigurationBody
public static void outputConfigurationBody(IThreadContext threadContext, java.lang.String className, IHTTPOutput out, java.util.Locale locale, ConfigParams parameters, java.lang.String tabName) throws ManifoldCFException, java.io.IOException
Output the configuration body section.- Throws:
ManifoldCFException
java.io.IOException
-
processConfigurationPost
public static java.lang.String processConfigurationPost(IThreadContext threadContext, java.lang.String className, IPostParameters variableContext, java.util.Locale locale, ConfigParams configParams) throws ManifoldCFException
Process configuration post data for a connector.- Throws:
ManifoldCFException
-
viewConfiguration
public static void viewConfiguration(IThreadContext threadContext, java.lang.String className, IHTTPOutput out, java.util.Locale locale, ConfigParams configParams) throws ManifoldCFException, java.io.IOException
View connector configuration.- Throws:
ManifoldCFException
java.io.IOException
-
getConnectorNoCheck
public static INotificationConnector getConnectorNoCheck(java.lang.String className) throws ManifoldCFException
Get a notification connector instance, without checking for installed connector.- Parameters:
className
- is the class name.- Returns:
- the instance.
- Throws:
ManifoldCFException
-
-