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
ManifoldCFException
protected void installThis(IThreadContext threadContext, String className) throws ManifoldCFException
className
- is the class name.ManifoldCFException
protected void deinstallThis(IThreadContext threadContext, String className) throws ManifoldCFException
className
- is the class name.ManifoldCFException
protected void outputThisConfigurationHeader(IThreadContext threadContext, String className, IHTTPOutput out, Locale locale, ConfigParams parameters, ArrayList tabsArray) throws ManifoldCFException, IOException
ManifoldCFException
IOException
protected void outputThisConfigurationBody(IThreadContext threadContext, String className, IHTTPOutput out, Locale locale, ConfigParams parameters, String tabName) throws ManifoldCFException, IOException
ManifoldCFException
IOException
protected String processThisConfigurationPost(IThreadContext threadContext, String className, IPostParameters variableContext, Locale locale, ConfigParams configParams) throws ManifoldCFException
ManifoldCFException
protected void viewThisConfiguration(IThreadContext threadContext, String className, IHTTPOutput out, Locale locale, ConfigParams configParams) throws ManifoldCFException, IOException
ManifoldCFException
IOException
protected T getThisConnectorNoCheck(String className) throws ManifoldCFException
className
- is the class name.ManifoldCFException
protected T getThisConnector(IThreadContext threadContext, String className) throws ManifoldCFException
className
- is the class name.ManifoldCFException
protected T getThisConnectorRaw(String className) throws ManifoldCFException
ManifoldCFException