|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ResourceSpecifierFactory
A factory used to create ResourceSpecifier
instances and
instances of other objects needed to compose ResourceSpecifier
s.
The primary method on this class is createObject(Class)
. Given the Class
of a UIMA interface related to Resource Specifiers, this method will construct an instance that
implements that interface. Other methods are provided as a convenience for creating specific
types of objects.
A UIMA developer who implements a new type of Resource Specifier must register their
implementation with this factory using the addMapping(String, String)
method.
Method Detail |
---|
Object createObject(Class aInterface)
aInterface
- the Class
object representing the type of interface to be instantiated.
Object
that implements aInterface
. Returns
null
if no object that implements aInterface
is known to
this factory.void addMapping(String aInterfaceName, String aClassName) throws ClassNotFoundException
ResourceSpecifier
,
however, must register their implementations using this method so that this factory knows how
to construct instances of those implementation classes.
aInterfaceName
- the fully-qualified name of a UIMA interfaceaClassName
- the fully-qualified name of a class that implements aInterfaceName
.
ClassNotFoundException
- if either of the classes named by aInterfaceName
or
aClassName
were not found.URISpecifier createURISpecifier()
URISpecifier
.
URISpecifier
.MQMessagingSpecifier createMQMessagingSpecifier()
MQMessagingSpecifier
.
MQMessagingSpecifier
.JMSMessagingSpecifier createJMSMessagingSpecifier()
JMSMessagingSpecifier
.
JMSMessagingSpecifier
.MailMessagingSpecifier createMailMessagingSpecifier()
MailMessagingSpecifier
.
MailMessagingSpecifier
.FileResourceSpecifier createFileResourceSpecifier()
FileResourceSpecifier
.
FileResourceSpecifier
.FileLanguageResourceSpecifier createFileLanguageResourceSpecifier()
FileLanguageResourceSpecifier
.
FileLanguageResourceSpecifier
.AnalysisEngineDescription createAnalysisEngineDescription()
AnalysisEngineDescription
.
AnalysisEngineDescription
.@Deprecated TaeDescription createTaeDescription()
createAnalysisEngineDescription()
should be used instead.
AnalysisEngineDescription
.
AnalysisEngineDescription
.ResourceMetaData createResourceMetaData()
ResourceMetaData
.
ResourceMetaData
.ProcessingResourceMetaData createProcessingResourceMetaData()
ProcessingResourceMetaData
.
ProcessingResourceMetaData
.AnalysisEngineMetaData createAnalysisEngineMetaData()
AnalysisEngineMetaData
.
AnalysisEngineMetaData
.ConfigurationParameterDeclarations createConfigurationParameterDeclarations()
ConfigurationParameterDeclarations
.
ConfigurationParameterDeclarations
.ConfigurationParameter createConfigurationParameter()
ConfigurationParameter
.
ConfigurationParameter
.ConfigurationGroup createConfigurationGroup()
ConfigurationGroup
.
ConfigurationGroup
.ConfigurationParameterSettings createConfigurationParameterSettings()
ConfigurationParameterSettings
.
ConfigurationParameterSettings
.Capability createCapability()
Capability
.
Capability
.SimplePrecondition createSimplePrecondition()
SimplePrecondition
.
SimplePrecondition
.TypeSystemDescription createTypeSystemDescription()
TypeSystemDescription
.
TypeSystemDescription
.TypeDescription createTypeDescription()
TypeDescription
.
TypeDescription
.FeatureDescription createFeatureDescription()
FeatureDescription
.
FeatureDescription
.FsIndexCollection createFsIndexCollection()
FsIndexCollection
.
FsIndexCollection
.FsIndexDescription createFsIndexDescription()
FsIndexDescription
.
FsIndexDescription
.FsIndexKeyDescription createFsIndexKeyDescription()
FsIndexKeyDescription
.
FsIndexKeyDescription
.FixedFlow createFixedFlow()
FixedFlow
.
FixedFlow
.CapabilityLanguageFlow createCapabilityLanguageFlow()
CapabilityLanguageFlow
.
CapabilityLanguageFlow
.NameValuePair createNameValuePair()
NameValuePair
.
NameValuePair
.TypeOrFeature createTypeOrFeature()
TypeOrFeature
.
TypeOrFeature
.AllowedValue createAllowedValue()
AllowedValue
.
AllowedValue
.TypePriorities createTypePriorities()
TypePriorities
.
TypePriorities
.TypePriorityList createTypePriorityList()
TypePriorityList
.
TypePriorityList
.ExternalResourceDependency createExternalResourceDependency()
ExternalResourceDependency
.
ExternalResourceDependency
.ResourceManagerConfiguration createResourceManagerConfiguration()
ResourceManagerConfiguration
.
ResourceManagerConfiguration
.ExternalResourceBinding createExternalResourceBinding()
ExternalResourceBinding
.
ExternalResourceBinding
.ExternalResourceDescription createExternalResourceDescription()
ExternalResourceDescription
.
ExternalResourceDescription
.CasConsumerDescription createCasConsumerDescription()
CasConsumerDescription
.
CasConsumerDescription
.CollectionReaderDescription createCollectionReaderDescription()
CollectionReaderDescription
.
CollectionReaderDescription
.ResultSpecification createResultSpecification()
ResultSpecification
.
ResultSpecification
.SofaMapping createSofaMapping()
SofaMapping
.
SofaMapping
.Import createImport()
Import
Import
.OperationalProperties createOperationalProperties()
OperationalProperties
OperationalProperties
.Parameter createParameter()
Parameter
Parameter
.FlowControllerDeclaration createFlowControllerDeclaration()
FlowControllerDeclaration
FlowControllerDeclaration
.CustomResourceSpecifier createCustomResourceSpecifier()
CustomResourceSpecifier
.
CustomResourceSpecifier
.PearSpecifier createPearSpecifier()
PearSpecifier
.
PearSpecifier
.FlowControllerDescription createFlowControllerDescription()
FlowControllerDescription
FlowControllerDescription
.CpeCollectionReaderCasInitializer createCasInitializer()
CpeCasProcessors createCasProcessors()
CpeCheckpoint createCheckpoint()
CpeCollectionReaderIterator createCollectionIterator()
CpeCollectionReader createCollectionReader()
CpeConfiguration createCpeConfig()
CpeDescription createCpeDescription()
CpeComponentDescriptor createDescriptor()
CasProcessorErrorHandling createErrorHandling()
CpeInclude createInclude()
CasProcessorRunInSeperateProcess createRunInSeperateProcess()
CasProcessorDeploymentParams createDeploymentParameters()
CasProcessorExecutable createExec()
CasProcessorExecArg createArg()
OutputQueue createOutputQueue()
CasProcessorRuntimeEnvParam createEnv()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |