Package org.apache.uima.impl
Class ResourceSpecifierFactory_impl
java.lang.Object
org.apache.uima.impl.ResourceSpecifierFactory_impl
- All Implemented Interfaces:
ResourceSpecifierFactory
Reference implementation of
ResourceSpecifierFactory
. Must be threadsafe.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addMapping
(String aInterfaceName, String aClassName) only used for uima framework things, setting up the mappings between intfc and impl for the framework partsCreates anAllowedValue
.Creates aAnalysisEngineDescription
.Creates aAnalysisEngineMetaData
.Creates aCapability
.Creates aCapabilityLanguageFlow
.Creates aCasConsumerDescription
.Creates aCollectionReaderDescription
.Creates aConfigurationGroup
.Creates aConfigurationParameter
.Creates aConfigurationParameterDeclarations
.Creates aConfigurationParameterSettings
.Creates aCustomResourceSpecifier
.Creates anExternalResourceBinding
.Creates anExternalResourceDependency
.Creates anExternalResourceDescription
.Creates aFeatureDescription
.Creates aFileLanguageResourceSpecifier
.Creates aFileResourceSpecifier
.Creates aFixedFlow
.Creates aFlowControllerDeclaration
Creates aFlowControllerDescription
Creates anFsIndexCollection
.Creates anFsIndexDescription
.Creates anFsIndexKeyDescription
.Creates anImport
Creates aJMSMessagingSpecifier
.Creates aMailMessagingSpecifier
.Creates aMQMessagingSpecifier
.Creates aNameValuePair
.createObject
(Class aInterface) Creates an object that implements the given interface.Creates anOperationalProperties
Creates aParameter
Creates aPearSpecifier
.Creates aProcessingResourceMetaData
.Creates anResourceManagerConfiguration
.Creates aResourceMetaData
.Creates aResultSpecification
.Creates an emptySettings
for External Override parameters.Creates aSimplePrecondition
.(non-Javadoc)Deprecated.since v2.0Creates aTypeDescription
.Creates aTypeOrFeature
.Creates anTypePriorities
.Creates anTypePriorityList
.Creates aTypeSystemDescription
.Creates aURISpecifier
.
-
Constructor Details
-
ResourceSpecifierFactory_impl
public ResourceSpecifierFactory_impl()
-
-
Method Details
-
createObject
Description copied from interface:ResourceSpecifierFactory
Creates an object that implements the given interface.- Specified by:
createObject
in interfaceResourceSpecifierFactory
- Parameters:
aInterface
- theClass
object representing the type of interface to be instantiated.- Returns:
- an
Object
that implementsaInterface
. Returnsnull
if no object that implementsaInterface
is known to this factory. - See Also:
-
addMapping
only used for uima framework things, setting up the mappings between intfc and impl for the framework parts- Specified by:
addMapping
in interfaceResourceSpecifierFactory
- Parameters:
aInterfaceName
- the fully-qualified name of a UIMA interfaceaClassName
- the fully-qualified name of a class that implementsaInterfaceName
.- Throws:
ClassNotFoundException
- if either of the classes named byaInterfaceName
oraClassName
were not found.- See Also:
-
createURISpecifier
Description copied from interface:ResourceSpecifierFactory
Creates aURISpecifier
.- Specified by:
createURISpecifier
in interfaceResourceSpecifierFactory
- Returns:
- an instance of an object implementing
URISpecifier
. - See Also:
-
createJMSMessagingSpecifier
Description copied from interface:ResourceSpecifierFactory
Creates aJMSMessagingSpecifier
.- Specified by:
createJMSMessagingSpecifier
in interfaceResourceSpecifierFactory
- Returns:
- an instance of an object implementing
JMSMessagingSpecifier
. - See Also:
-
createMailMessagingSpecifier
Description copied from interface:ResourceSpecifierFactory
Creates aMailMessagingSpecifier
.- Specified by:
createMailMessagingSpecifier
in interfaceResourceSpecifierFactory
- Returns:
- an instance of an object implementing
MailMessagingSpecifier
. - See Also:
-
createMQMessagingSpecifier
Description copied from interface:ResourceSpecifierFactory
Creates aMQMessagingSpecifier
.- Specified by:
createMQMessagingSpecifier
in interfaceResourceSpecifierFactory
- Returns:
- an instance of an object implementing
MQMessagingSpecifier
. - See Also:
-
createFileResourceSpecifier
Description copied from interface:ResourceSpecifierFactory
Creates aFileResourceSpecifier
.- Specified by:
createFileResourceSpecifier
in interfaceResourceSpecifierFactory
- Returns:
- an instance of an object implementing
FileResourceSpecifier
. - See Also:
-
createFileLanguageResourceSpecifier
Description copied from interface:ResourceSpecifierFactory
Creates aFileLanguageResourceSpecifier
.- Specified by:
createFileLanguageResourceSpecifier
in interfaceResourceSpecifierFactory
- Returns:
- an instance of an object implementing
FileLanguageResourceSpecifier
. - See Also:
-
createAnalysisEngineDescription
Description copied from interface:ResourceSpecifierFactory
Creates aAnalysisEngineDescription
.- Specified by:
createAnalysisEngineDescription
in interfaceResourceSpecifierFactory
- Returns:
- an instance of an object implementing
AnalysisEngineDescription
. - See Also:
-
createTaeDescription
Deprecated.since v2.0Description copied from interface:ResourceSpecifierFactory
Creates aAnalysisEngineDescription
.- Specified by:
createTaeDescription
in interfaceResourceSpecifierFactory
- Returns:
- an instance of an object implementing
AnalysisEngineDescription
. - See Also:
-
createConfigurationParameter
Description copied from interface:ResourceSpecifierFactory
Creates aConfigurationParameter
.- Specified by:
createConfigurationParameter
in interfaceResourceSpecifierFactory
- Returns:
- an instance of an object implementing
ConfigurationParameter
. - See Also:
-
createCapability
Description copied from interface:ResourceSpecifierFactory
Creates aCapability
.- Specified by:
createCapability
in interfaceResourceSpecifierFactory
- Returns:
- an instance of an object implementing
Capability
. - See Also:
-
createSimplePrecondition
Description copied from interface:ResourceSpecifierFactory
Creates aSimplePrecondition
.- Specified by:
createSimplePrecondition
in interfaceResourceSpecifierFactory
- Returns:
- an instance of an object implementing
SimplePrecondition
. - See Also:
-
createTypeSystemDescription
Description copied from interface:ResourceSpecifierFactory
Creates aTypeSystemDescription
.- Specified by:
createTypeSystemDescription
in interfaceResourceSpecifierFactory
- Returns:
- an instance of an object implementing
TypeSystemDescription
. - See Also:
-
createTypeDescription
Description copied from interface:ResourceSpecifierFactory
Creates aTypeDescription
.- Specified by:
createTypeDescription
in interfaceResourceSpecifierFactory
- Returns:
- an instance of an object implementing
TypeDescription
. - See Also:
-
createFeatureDescription
Description copied from interface:ResourceSpecifierFactory
Creates aFeatureDescription
.- Specified by:
createFeatureDescription
in interfaceResourceSpecifierFactory
- Returns:
- an instance of an object implementing
FeatureDescription
. - See Also:
-
createFsIndexCollection
Description copied from interface:ResourceSpecifierFactory
Creates anFsIndexCollection
.- Specified by:
createFsIndexCollection
in interfaceResourceSpecifierFactory
- Returns:
- an instance of an object implementing
FsIndexCollection
. - See Also:
-
createFsIndexDescription
Description copied from interface:ResourceSpecifierFactory
Creates anFsIndexDescription
.- Specified by:
createFsIndexDescription
in interfaceResourceSpecifierFactory
- Returns:
- an instance of an object implementing
FsIndexDescription
. - See Also:
-
createFsIndexKeyDescription
Description copied from interface:ResourceSpecifierFactory
Creates anFsIndexKeyDescription
.- Specified by:
createFsIndexKeyDescription
in interfaceResourceSpecifierFactory
- Returns:
- an instance of an object implementing
FsIndexKeyDescription
. - See Also:
-
createFixedFlow
Description copied from interface:ResourceSpecifierFactory
Creates aFixedFlow
.- Specified by:
createFixedFlow
in interfaceResourceSpecifierFactory
- Returns:
- an instance of an object implementing
FixedFlow
. - See Also:
-
createCapabilityLanguageFlow
Description copied from interface:ResourceSpecifierFactory
Creates aCapabilityLanguageFlow
.- Specified by:
createCapabilityLanguageFlow
in interfaceResourceSpecifierFactory
- Returns:
- an instance of an object implementing
CapabilityLanguageFlow
. - See Also:
-
createNameValuePair
Description copied from interface:ResourceSpecifierFactory
Creates aNameValuePair
.- Specified by:
createNameValuePair
in interfaceResourceSpecifierFactory
- Returns:
- an instance of an object implementing
NameValuePair
. - See Also:
-
createTypeOrFeature
Description copied from interface:ResourceSpecifierFactory
Creates aTypeOrFeature
.- Specified by:
createTypeOrFeature
in interfaceResourceSpecifierFactory
- Returns:
- an instance of an object implementing
TypeOrFeature
. - See Also:
-
createAllowedValue
Description copied from interface:ResourceSpecifierFactory
Creates anAllowedValue
.- Specified by:
createAllowedValue
in interfaceResourceSpecifierFactory
- Returns:
- an instance of an object implementing
AllowedValue
. - See Also:
-
createConfigurationGroup
Description copied from interface:ResourceSpecifierFactory
Creates aConfigurationGroup
.- Specified by:
createConfigurationGroup
in interfaceResourceSpecifierFactory
- Returns:
- an instance of an object implementing
ConfigurationGroup
. - See Also:
-
createConfigurationParameterDeclarations
Description copied from interface:ResourceSpecifierFactory
Creates aConfigurationParameterDeclarations
.- Specified by:
createConfigurationParameterDeclarations
in interfaceResourceSpecifierFactory
- Returns:
- an instance of an object implementing
ConfigurationParameterDeclarations
. - See Also:
-
createConfigurationParameterSettings
Description copied from interface:ResourceSpecifierFactory
Creates aConfigurationParameterSettings
.- Specified by:
createConfigurationParameterSettings
in interfaceResourceSpecifierFactory
- Returns:
- an instance of an object implementing
ConfigurationParameterSettings
. - See Also:
-
createSettings
Description copied from interface:ResourceSpecifierFactory
Creates an emptySettings
for External Override parameters.- Specified by:
createSettings
in interfaceResourceSpecifierFactory
- Returns:
- an instance of an object implementing
Settings
. - See Also:
-
createTypePriorities
Description copied from interface:ResourceSpecifierFactory
Creates anTypePriorities
.- Specified by:
createTypePriorities
in interfaceResourceSpecifierFactory
- Returns:
- an instance of an object implementing
TypePriorities
. - See Also:
-
createTypePriorityList
Description copied from interface:ResourceSpecifierFactory
Creates anTypePriorityList
.- Specified by:
createTypePriorityList
in interfaceResourceSpecifierFactory
- Returns:
- an instance of an object implementing
TypePriorityList
. - See Also:
-
createExternalResourceDependency
Description copied from interface:ResourceSpecifierFactory
Creates anExternalResourceDependency
.- Specified by:
createExternalResourceDependency
in interfaceResourceSpecifierFactory
- Returns:
- an instance of an object implementing
ExternalResourceDependency
. - See Also:
-
createExternalResourceDescription
Description copied from interface:ResourceSpecifierFactory
Creates anExternalResourceDescription
.- Specified by:
createExternalResourceDescription
in interfaceResourceSpecifierFactory
- Returns:
- an instance of an object implementing
ExternalResourceDescription
. - See Also:
-
createCasConsumerDescription
Description copied from interface:ResourceSpecifierFactory
Creates aCasConsumerDescription
.- Specified by:
createCasConsumerDescription
in interfaceResourceSpecifierFactory
- Returns:
- an instance of an object implementing
CasConsumerDescription
. - See Also:
-
createCollectionReaderDescription
Description copied from interface:ResourceSpecifierFactory
Creates aCollectionReaderDescription
.- Specified by:
createCollectionReaderDescription
in interfaceResourceSpecifierFactory
- Returns:
- an instance of an object implementing
CollectionReaderDescription
. - See Also:
-
createProcessingResourceMetaData
Description copied from interface:ResourceSpecifierFactory
Creates aProcessingResourceMetaData
.- Specified by:
createProcessingResourceMetaData
in interfaceResourceSpecifierFactory
- Returns:
- an instance of an object implementing
ProcessingResourceMetaData
. - See Also:
-
createAnalysisEngineMetaData
Description copied from interface:ResourceSpecifierFactory
Creates aAnalysisEngineMetaData
.- Specified by:
createAnalysisEngineMetaData
in interfaceResourceSpecifierFactory
- Returns:
- an instance of an object implementing
AnalysisEngineMetaData
.
-
createResourceMetaData
Description copied from interface:ResourceSpecifierFactory
Creates aResourceMetaData
.- Specified by:
createResourceMetaData
in interfaceResourceSpecifierFactory
- Returns:
- an instance of an object implementing
ResourceMetaData
.
-
createResultSpecification
Description copied from interface:ResourceSpecifierFactory
Creates aResultSpecification
.- Specified by:
createResultSpecification
in interfaceResourceSpecifierFactory
- Returns:
- an instance of an object implementing
ResultSpecification
. - See Also:
-
createSofaMapping
(non-Javadoc)- Specified by:
createSofaMapping
in interfaceResourceSpecifierFactory
- Returns:
- an instance of an object implementing
SofaMapping
. - See Also:
-
createExternalResourceBinding
Description copied from interface:ResourceSpecifierFactory
Creates anExternalResourceBinding
.- Specified by:
createExternalResourceBinding
in interfaceResourceSpecifierFactory
- Returns:
- an instance of an object implementing
ExternalResourceBinding
.
-
createResourceManagerConfiguration
Description copied from interface:ResourceSpecifierFactory
Creates anResourceManagerConfiguration
.- Specified by:
createResourceManagerConfiguration
in interfaceResourceSpecifierFactory
- Returns:
- an instance of an object implementing
ResourceManagerConfiguration
.
-
createImport
Description copied from interface:ResourceSpecifierFactory
Creates anImport
- Specified by:
createImport
in interfaceResourceSpecifierFactory
- Returns:
- an instance of an object implementing
Import
.
-
createOperationalProperties
Description copied from interface:ResourceSpecifierFactory
Creates anOperationalProperties
- Specified by:
createOperationalProperties
in interfaceResourceSpecifierFactory
- Returns:
- an instance of an object implementing
OperationalProperties
.
-
createParameter
Description copied from interface:ResourceSpecifierFactory
Creates aParameter
- Specified by:
createParameter
in interfaceResourceSpecifierFactory
- Returns:
- an instance of an object implementing
Parameter
.
-
createFlowControllerDeclaration
Description copied from interface:ResourceSpecifierFactory
Creates aFlowControllerDeclaration
- Specified by:
createFlowControllerDeclaration
in interfaceResourceSpecifierFactory
- Returns:
- an instance of an object implementing
FlowControllerDeclaration
.
-
createFlowControllerDescription
Description copied from interface:ResourceSpecifierFactory
Creates aFlowControllerDescription
- Specified by:
createFlowControllerDescription
in interfaceResourceSpecifierFactory
- Returns:
- an instance of an object implementing
FlowControllerDescription
.
-
createCustomResourceSpecifier
Description copied from interface:ResourceSpecifierFactory
Creates aCustomResourceSpecifier
.- Specified by:
createCustomResourceSpecifier
in interfaceResourceSpecifierFactory
- Returns:
- an instance of an object implementing
CustomResourceSpecifier
.
-
createPearSpecifier
Description copied from interface:ResourceSpecifierFactory
Creates aPearSpecifier
.- Specified by:
createPearSpecifier
in interfaceResourceSpecifierFactory
- Returns:
- an instance of an object implementing
PearSpecifier
.
-
createCasInitializer
- Specified by:
createCasInitializer
in interfaceResourceSpecifierFactory
-
createCasProcessors
- Specified by:
createCasProcessors
in interfaceResourceSpecifierFactory
-
createCheckpoint
- Specified by:
createCheckpoint
in interfaceResourceSpecifierFactory
-
createCollectionIterator
- Specified by:
createCollectionIterator
in interfaceResourceSpecifierFactory
-
createCollectionReader
- Specified by:
createCollectionReader
in interfaceResourceSpecifierFactory
-
createCpeConfig
- Specified by:
createCpeConfig
in interfaceResourceSpecifierFactory
-
createCpeDescription
- Specified by:
createCpeDescription
in interfaceResourceSpecifierFactory
-
createDescriptor
- Specified by:
createDescriptor
in interfaceResourceSpecifierFactory
-
createErrorHandling
- Specified by:
createErrorHandling
in interfaceResourceSpecifierFactory
-
createInclude
- Specified by:
createInclude
in interfaceResourceSpecifierFactory
-
createRunInSeperateProcess
- Specified by:
createRunInSeperateProcess
in interfaceResourceSpecifierFactory
-
createDeploymentParameters
- Specified by:
createDeploymentParameters
in interfaceResourceSpecifierFactory
-
createExec
- Specified by:
createExec
in interfaceResourceSpecifierFactory
-
createArg
- Specified by:
createArg
in interfaceResourceSpecifierFactory
-
createOutputQueue
- Specified by:
createOutputQueue
in interfaceResourceSpecifierFactory
-
createEnv
- Specified by:
createEnv
in interfaceResourceSpecifierFactory
-
createCasProcessorTimeout
-
createCasProcessorErrorRateThreshold
-
createCasProcessorMaxRestarts
-
createCpeSofaMappings
-