public abstract class ConnectorFactory<T extends IConnector> extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
ConnectorFactory() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
deinstallThis(IThreadContext threadContext,
String className)
Uninstall connector.
|
protected T |
getThisConnector(IThreadContext threadContext,
String className)
Get a connector instance.
|
protected T |
getThisConnectorNoCheck(String className)
Get a connector instance, without checking for installed connector.
|
protected T |
getThisConnectorRaw(String className)
Instantiate a connector, but return null if the class is not found.
|
protected void |
installThis(IThreadContext threadContext,
String className)
Install connector.
|
protected abstract boolean |
isInstalled(IThreadContext tc,
String className)
Override this method to hook into a connector manager.
|
protected void |
outputThisConfigurationBody(IThreadContext threadContext,
String className,
IHTTPOutput out,
Locale locale,
ConfigParams parameters,
String tabName)
Output the configuration body section.
|
protected void |
outputThisConfigurationHeader(IThreadContext threadContext,
String className,
IHTTPOutput out,
Locale locale,
ConfigParams parameters,
ArrayList tabsArray)
Output the configuration header section.
|
protected String |
processThisConfigurationPost(IThreadContext threadContext,
String className,
IPostParameters variableContext,
Locale locale,
ConfigParams configParams)
Process configuration post data for a connector.
|
protected void |
viewThisConfiguration(IThreadContext threadContext,
String className,
IHTTPOutput out,
Locale locale,
ConfigParams configParams)
View connector configuration.
|
public static final String _rcsid
protected abstract boolean isInstalled(IThreadContext tc, String className) throws ManifoldCFException
ManifoldCFExceptionprotected void installThis(IThreadContext threadContext, String className) throws ManifoldCFException
className - is the class name.ManifoldCFExceptionprotected void deinstallThis(IThreadContext threadContext, String className) throws ManifoldCFException
className - is the class name.ManifoldCFExceptionprotected void outputThisConfigurationHeader(IThreadContext threadContext, String className, IHTTPOutput out, Locale locale, ConfigParams parameters, ArrayList tabsArray) throws ManifoldCFException, IOException
ManifoldCFExceptionIOExceptionprotected void outputThisConfigurationBody(IThreadContext threadContext, String className, IHTTPOutput out, Locale locale, ConfigParams parameters, String tabName) throws ManifoldCFException, IOException
ManifoldCFExceptionIOExceptionprotected String processThisConfigurationPost(IThreadContext threadContext, String className, IPostParameters variableContext, Locale locale, ConfigParams configParams) throws ManifoldCFException
ManifoldCFExceptionprotected void viewThisConfiguration(IThreadContext threadContext, String className, IHTTPOutput out, Locale locale, ConfigParams configParams) throws ManifoldCFException, IOException
ManifoldCFExceptionIOExceptionprotected T getThisConnectorNoCheck(String className) throws ManifoldCFException
className - is the class name.ManifoldCFExceptionprotected T getThisConnector(IThreadContext threadContext, String className) throws ManifoldCFException
className - is the class name.ManifoldCFExceptionprotected T getThisConnectorRaw(String className) throws ManifoldCFException
ManifoldCFException