|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.manifoldcf.agents.interfaces.OutputConnectorFactory
public class OutputConnectorFactory
This is the factory class for IOutputConnector objects.
| Nested Class Summary | |
|---|---|
static class |
OutputConnectorFactory.Pool
This class represents a value in the pool hash, which corresponds to a given key. |
static class |
OutputConnectorFactory.PoolKey
This is an immutable pool key class, which describes a pool in terms of two independent keys. |
| Field Summary | |
|---|---|
static java.lang.String |
_rcsid
|
protected static java.util.Map |
poolHash
|
| Method Summary | |
|---|---|
static void |
closeAllConnectors(IThreadContext threadContext)
Clean up all open output connector handles. |
static void |
deinstall(IThreadContext threadContext,
java.lang.String className)
Uninstall connector. |
static java.lang.String[] |
getActivitiesList(IThreadContext threadContext,
java.lang.String className)
Get the activities supported by this connector. |
protected static IOutputConnector |
getConnector(IThreadContext threadContext,
java.lang.String className)
Get an output connector instance. |
static IOutputConnector |
getConnectorNoCheck(java.lang.String className)
Get an output connector instance, without checking for installed connector. |
static IOutputConnector |
grab(IThreadContext threadContext,
java.lang.String className,
ConfigParams configInfo,
int maxPoolSize)
Get an output connector. |
static IOutputConnector[] |
grabMultiple(IThreadContext threadContext,
java.lang.String[] orderingKeys,
java.lang.String[] classNames,
ConfigParams[] configInfos,
int[] maxPoolSizes)
Get multiple output connectors, all at once. |
static void |
install(IThreadContext threadContext,
java.lang.String className)
Install connector. |
static void |
outputConfigurationBody(IThreadContext threadContext,
java.lang.String className,
IHTTPOutput out,
ConfigParams parameters,
java.lang.String tabName)
Output the configuration body section. |
static void |
outputConfigurationHeader(IThreadContext threadContext,
java.lang.String className,
IHTTPOutput out,
ConfigParams parameters,
java.util.ArrayList tabsArray)
Output the configuration header section. |
static void |
pollAllConnectors(IThreadContext threadContext)
Idle notification for inactive output connector handles. |
static java.lang.String |
processConfigurationPost(IThreadContext threadContext,
java.lang.String className,
IPostParameters variableContext,
ConfigParams configParams)
Process configuration post data for a connector. |
static void |
release(IOutputConnector connector)
Release an output connector. |
static void |
releaseMultiple(IOutputConnector[] connectors)
Release multiple output connectors. |
static void |
viewConfiguration(IThreadContext threadContext,
java.lang.String className,
IHTTPOutput out,
ConfigParams configParams)
View connector configuration. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String _rcsid
protected static java.util.Map poolHash
| Method Detail |
|---|
public static void install(IThreadContext threadContext,
java.lang.String className)
throws ManifoldCFException
className - is the class name.
ManifoldCFException
public static void deinstall(IThreadContext threadContext,
java.lang.String className)
throws ManifoldCFException
className - is the class name.
ManifoldCFException
public static java.lang.String[] getActivitiesList(IThreadContext threadContext,
java.lang.String className)
throws ManifoldCFException
className - is the class name.
ManifoldCFException
public static void outputConfigurationHeader(IThreadContext threadContext,
java.lang.String className,
IHTTPOutput out,
ConfigParams parameters,
java.util.ArrayList tabsArray)
throws ManifoldCFException,
java.io.IOException
ManifoldCFException
java.io.IOException
public static void outputConfigurationBody(IThreadContext threadContext,
java.lang.String className,
IHTTPOutput out,
ConfigParams parameters,
java.lang.String tabName)
throws ManifoldCFException,
java.io.IOException
ManifoldCFException
java.io.IOException
public static java.lang.String processConfigurationPost(IThreadContext threadContext,
java.lang.String className,
IPostParameters variableContext,
ConfigParams configParams)
throws ManifoldCFException
ManifoldCFException
public static void viewConfiguration(IThreadContext threadContext,
java.lang.String className,
IHTTPOutput out,
ConfigParams configParams)
throws ManifoldCFException,
java.io.IOException
ManifoldCFException
java.io.IOException
public static IOutputConnector getConnectorNoCheck(java.lang.String className)
throws ManifoldCFException
className - is the class name.
ManifoldCFException
protected static IOutputConnector getConnector(IThreadContext threadContext,
java.lang.String className)
throws ManifoldCFException
className - is the class name.
ManifoldCFException
public static IOutputConnector[] grabMultiple(IThreadContext threadContext,
java.lang.String[] orderingKeys,
java.lang.String[] classNames,
ConfigParams[] configInfos,
int[] maxPoolSizes)
throws ManifoldCFException
ManifoldCFException
public static IOutputConnector grab(IThreadContext threadContext,
java.lang.String className,
ConfigParams configInfo,
int maxPoolSize)
throws ManifoldCFException
threadContext - is the current thread context.className - is the name of the class to get a connector for.configInfo - are the name/value pairs constituting configuration info
for this class.
ManifoldCFException
public static void releaseMultiple(IOutputConnector[] connectors)
throws ManifoldCFException
ManifoldCFException
public static void release(IOutputConnector connector)
throws ManifoldCFException
connector - is the connector to release.
ManifoldCFException
public static void pollAllConnectors(IThreadContext threadContext)
throws ManifoldCFException
ManifoldCFException
public static void closeAllConnectors(IThreadContext threadContext)
throws ManifoldCFException
threadContext - is the local thread context.
ManifoldCFException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||