Uses of Class
org.apache.uima.resource.ResourceConfigurationException
Packages that use ResourceConfigurationException
Package
Description
Apache UIMA
The Analysis Engine interface, along with supporting
interfaces and exception classes.
Classes and interfaces for collection processing.
Java object representation of a CPE Descriptor.
Apache UIMA internals
Interfaces for
Resources
and ResourceSpecifiers
.Interfaces for objects that represent metadata for a
Resource.
Utility classes and interfaces used by UIMA components.
-
Uses of ResourceConfigurationException in org.apache.uima
Methods in org.apache.uima that throw ResourceConfigurationExceptionModifier and TypeMethodDescriptionString[]
UimaContext.getSharedSettingArray
(String name) Get the array of values for a shared configuration parameter from the external override settings.UimaContext.getSharedSettingValue
(String name) Get the value of a shared configuration parameter from the external override settings. -
Uses of ResourceConfigurationException in org.apache.uima.analysis_component
Methods in org.apache.uima.analysis_component that throw ResourceConfigurationExceptionModifier and TypeMethodDescriptionvoid
AnalysisComponent_ImplBase.reconfigure()
Notifies this AnalysisComponent that its configuration parameters have changed.void
AnalysisComponent.reconfigure()
Alerts this AnalysisComponent that the values of its configuration parameters or external resources have changed. -
Uses of ResourceConfigurationException in org.apache.uima.analysis_engine
Methods in org.apache.uima.analysis_engine that throw ResourceConfigurationExceptionModifier and TypeMethodDescriptionvoid
AnalysisEngine.reconfigure()
Reconfigures this Resource using the most current parameter settings. -
Uses of ResourceConfigurationException in org.apache.uima.analysis_engine.asb.impl
Methods in org.apache.uima.analysis_engine.asb.impl that throw ResourceConfigurationException -
Uses of ResourceConfigurationException in org.apache.uima.analysis_engine.impl
Methods in org.apache.uima.analysis_engine.impl that throw ResourceConfigurationExceptionModifier and TypeMethodDescriptionvoid
AggregateAnalysisEngine_impl.reconfigure()
void
AnalysisEngineProcessorAdapter.reconfigure()
void
MultiprocessingAnalysisEngine_impl.reconfigure()
void
PearAnalysisEngineWrapper.reconfigure()
void
PrimitiveAnalysisEngine_impl.reconfigure()
void
UimacppAnalysisEngineImpl.reconfigure()
void
AnalysisEngineDescription_impl.validate
(ResourceManager aResourceManager) Determines if the AnalysisEngineDescription is valid. -
Uses of ResourceConfigurationException in org.apache.uima.analysis_engine.impl.compatibility
Methods in org.apache.uima.analysis_engine.impl.compatibility that throw ResourceConfigurationExceptionModifier and TypeMethodDescriptionvoid
AnnotatorAdapter.reconfigure()
void
CasConsumerAdapter.reconfigure()
void
CollectionReaderAdapter.reconfigure()
-
Uses of ResourceConfigurationException in org.apache.uima.analysis_engine.service.impl
Methods in org.apache.uima.analysis_engine.service.impl that throw ResourceConfigurationException -
Uses of ResourceConfigurationException in org.apache.uima.collection
Methods in org.apache.uima.collection that throw ResourceConfigurationExceptionModifier and TypeMethodDescriptionvoid
CollectionProcessingManager.addCasConsumer
(CasConsumer aCasConsumer) Adds aCasConsumer
to this CPM.void
CasConsumer_ImplBase.reconfigure()
Notifies this CAS Consumer that its configuration parameter settings have been changed.void
CasInitializer_ImplBase.reconfigure()
Deprecated.Notifies this CAS Initializer that its configuration parameter settings have been changed.void
CollectionReader_ImplBase.reconfigure()
Notifies this Collection Reader that its configuration parameter settings have been changed.void
CollectionProcessingManager.setAnalysisEngine
(AnalysisEngine aAnalysisEngine) Sets theAnalysisEngine
that is assigned to this CPM. -
Uses of ResourceConfigurationException in org.apache.uima.collection.base_cpm
Methods in org.apache.uima.collection.base_cpm that throw ResourceConfigurationExceptionModifier and TypeMethodDescriptionvoid
BaseCPM.addCasProcessor
(CasProcessor aCasProcessor) Adds aCasProcessor
to this CPM's list of consumers.void
BaseCPM.addCasProcessor
(CasProcessor aCasProcessor, int aIndex) Adds aCasProcessor
to this CPM's list of consumers. -
Uses of ResourceConfigurationException in org.apache.uima.collection.impl.base_cpm.container
Methods in org.apache.uima.collection.impl.base_cpm.container that throw ResourceConfigurationExceptionModifier and TypeMethodDescriptionCasProcessorConfiguration.getDescriptorUrl()
CasProcessorConfiguration.getFilter()
String[]
CasProcessorConfiguration.getKeysToDrop()
-
Uses of ResourceConfigurationException in org.apache.uima.collection.impl.base_cpm.container.deployer
Methods in org.apache.uima.collection.impl.base_cpm.container.deployer that throw ResourceConfigurationExceptionModifier and TypeMethodDescriptionCasProcessorDeployer.deployCasProcessor
(List aCasProcessorList, boolean redeploy) Deploys all Cas Processors in aCasProcessorList.void
CasProcessorDeployer.deployCasProcessor
(ProcessingContainer aProcessingContainer) Method used to redeploy a single instance of a Cas Processor.CPEDeployer.deployCasProcessor
(ProcessingContainer aProcessingContainer, CasProcessor aCasProcessor, boolean redeploy) -
Uses of ResourceConfigurationException in org.apache.uima.collection.impl.cpm
Methods in org.apache.uima.collection.impl.cpm that throw ResourceConfigurationExceptionModifier and TypeMethodDescriptionvoid
CPMImpl.addCasConsumer
(CasConsumer aCasConsumer) void
BaseCPMImpl.addCasProcessor
(CasProcessor aCasProcessor) void
BaseCPMImpl.addCasProcessor
(CasProcessor aCasProcessor, int aIndex) BaseCPMImpl.getDescriptor
(List aList) Returns a CPE descriptor as a String.void
CPMImpl.setAnalysisEngine
(AnalysisEngine aAnalysisEngine) -
Uses of ResourceConfigurationException in org.apache.uima.collection.impl.cpm.container
Methods in org.apache.uima.collection.impl.cpm.container that throw ResourceConfigurationExceptionModifier and TypeMethodDescriptionprivate void
CasProcessorConfigurationJAXBImpl.addBatchSize
(CpeCasProcessor aCasProcessorConfig) Copies batch size associated with this Cas Processorprivate CpeCasProcessor
CPEFactory.addCasProcessor
(String aCasProcessorName) Adds new Cas Processor with given name.void
CPEFactory.addCasProcessor
(CasProcessor aCasProcessor) Appends given Cas Processor to the list of CasProcessors.private void
CasProcessorConfigurationJAXBImpl.addDeploymentParameters
(CpeCasProcessor aCasProcessorConfig) Copies deployment parameters associated with this Cas Processor These parameters are used to construct appropriate command line for launching the Cas Processor in external processprivate void
CasProcessorConfigurationJAXBImpl.addDeploymentType
(CpeCasProcessor aCasProcessorConfig) Copies deployment type associated with this Cas Processorprivate void
CasProcessorConfigurationJAXBImpl.addDescriptor
(CpeCasProcessor aCasProcessorConfig) Copies path of the Cas Processor descriptor.private void
CasProcessorConfigurationJAXBImpl.addErrorHandling
(CpeCasProcessor aCasProcessorConfig) Copies Error handling settingsprivate void
CasProcessorConfigurationJAXBImpl.addFiltering
(CpeCasProcessor aCasProcessorConfig) Copies filter expression used during processing.private void
CPEFactory.checkForErrors()
Checks if cpe description has been created.CPEFactory.getCasProcessors()
Returns an array of Cas Processors instantiated from the cpe descriptor.CPEFactory.getCollectionReader()
Returns Collection Reader instantiated from configuration in the cpe descriptor.CPEFactory.getDescriptor
(List aList) Gets the descriptor.CasProcessorConfigurationJAXBImpl.getDescriptorUrl()
Returns descriptor associated with this Cas ProcessorCPEFactory.getDescriptorURL
(CpeCasProcessor aCasProcessorCfg) Returns a descriptor path associated with Cas Processor.CasProcessorConfigurationJAXBImpl.getFilter()
Returns parsed filter expressions as List.String[]
CasProcessorConfigurationJAXBImpl.getKeysToDrop()
Returns an array of types that should not be sent to Cas Processor.int
CPEFactory.getProcessingUnitThreadCount()
Returns number of processing threads (Processing Units).boolean
CPEFactory.isDefinitionInstanceOf
(Class aResourceClass, ResourceSpecifier resourceSpecifier, String aDescriptor) Check if a class has appropriate type.private CasProcessor
CPEFactory.produceIntegratedCasProcessor
(CpeCasProcessor aCasProcessorType) Instantiates integrated Cas Processor.private CasProcessor
CPEFactory.produceLocalCasProcessor
(CpeCasProcessor aCasProcessorCfg) Instantiates a local (managed) Cas Processor.private CasProcessor
CPEFactory.produceRemoteCasProcessor
(CpeCasProcessor aCasProcessorType) Instantiates remote Cas Processor.void
ProcessingContainer_Impl.reconfigure()
private void
CPEFactory.verifyDeploymentParams
(String aCasProcessorName, CasProcessorDeploymentParams aDepParams) Checks for existance of two parameters required to launch remote Cas Processor vnsHost and vnsPort.Constructors in org.apache.uima.collection.impl.cpm.container that throw ResourceConfigurationExceptionModifierConstructorDescriptionCasObjectNetworkCasProcessorImpl
(CpeCasProcessor aCasProcessor) Using information from the CPE descriptor creates an instance of Transport class.CasProcessorConfigurationJAXBImpl
(CpeCasProcessor aCasProcessorConfig, ResourceManager aResourceManager) Initializes instance and copies configuation from cpe descriptor.ProcessingContainer_Impl
(CasProcessorConfiguration aCasProcessorConfig, ProcessingResourceMetaData aMetaData, ServiceProxyPool aCasProcessorPool) Initialize container with CasProcessor configuration and pool containing instances of CasProcessor instances. -
Uses of ResourceConfigurationException in org.apache.uima.collection.impl.cpm.container.deployer
Methods in org.apache.uima.collection.impl.cpm.container.deployer that throw ResourceConfigurationExceptionModifier and TypeMethodDescriptionprotected String[]
JavaApplication.addApplicationCmdLineArguments
(CasProcessorConfiguration aCasProcessorConfiguration, List argList, String aExecutable) Adds to command line any program arguments configured for this Cas Processor in the CPE descriptor.protected String[]
NonJavaApplication.addApplicationCmdLineArguments
(CasProcessorConfiguration aCasProcessorConfiguration, List argList, String aExecutable) Returns final command line as array of Strings.protected void
JavaApplication.addApplicationInfo
(CasProcessorConfiguration aCasProcessorConfiguration, CpeCasProcessor aCasProcessor) Sets up command line used to launch Cas Processor in a separate process.protected void
NonJavaApplication.addApplicationInfo
(CasProcessorConfiguration aCasProcessorConfiguration, CpeCasProcessor aCasProcessor) Sets up command line used to launch Cas Processor in a seperate process.protected void
RunnableApplication.addApplicationInfo
(CasProcessorConfiguration aCasProcessorConfiguration, CpeCasProcessor aCasProcessor) Sets up command line used to launch Cas Processor in a separate process.CPEDeployerDefaultImpl.deployCasProcessor
(List aCasProcessorList, boolean redeploy) Deploys integrated Cas Processor.CPEDeployerDefaultImpl.deployCasProcessor
(List aCasProcessorList, CPMEngine aEngine, boolean redeploy) Deploys integrated Cas Processor.void
CPEDeployerDefaultImpl.deployCasProcessor
(ProcessingContainer aProcessingContainer) Deploys integrated Cas Processor using configuration available in a given Container.static CasProcessorDeployer
DeployFactory.getDeployer
(CPEFactory aCpeFactory, CpeCasProcessor aCasProcessorConfig, ProcessControllerAdapter aPca) Returns aCasProcessorDeployer
object that specializes in deploying components as either local, remote, or integrated.static String
DeployFactory.getProtocol
(CpeCasProcessor aCasProcessorConfig, ResourceManager aResourceManager) Retrieve protocol from the service descriptorprivate CasProcessor
CPEDeployerDefaultImpl.produceIntegratedCasProcessor
(URL aDescriptor) Creates an instance of integrated Cas Processor from a given descriptor.Constructors in org.apache.uima.collection.impl.cpm.container.deployer that throw ResourceConfigurationExceptionModifierConstructorDescriptionJavaApplication
(CasProcessorConfiguration aCasProcessorConfiguration, CpeCasProcessor aJaxbCasProcessorConfig) Creates an instance of component responsible for configuring java based CasProcessor.NonJavaApplication
(CasProcessorConfiguration aCasProcessorConfiguration, CpeCasProcessor aCasProcessorConfig) -
Uses of ResourceConfigurationException in org.apache.uima.collection.impl.cpm.container.deployer.socket
Methods in org.apache.uima.collection.impl.cpm.container.deployer.socket that throw ResourceConfigurationExceptionModifier and TypeMethodDescriptionSocketCasProcessorDeployer.deployCasProcessor
(List aCasProcessorList, boolean redeploy) Uses ProcessControllerAdapter instance to launch fenced CasProcessor.SocketCasProcessorDeployer.deployCasProcessor
(List aCasProcessorList, CPMEngine aEngine, boolean redeploy) Deploys integrated Cas Processor.void
SocketCasProcessorDeployer.deployCasProcessor
(ProcessingContainer aProcessingContainer) Uses ProcessControllerAdapter instance to launch fenced CasProcessor. -
Uses of ResourceConfigurationException in org.apache.uima.collection.impl.cpm.container.deployer.vinci
Methods in org.apache.uima.collection.impl.cpm.container.deployer.vinci that throw ResourceConfigurationExceptionModifier and TypeMethodDescriptionprivate boolean
VinciCasProcessorDeployer.activateProcessor
(CasProcessorConfiguration aCasProcessorConfig, String aHost, int aPort, ProcessingContainer aProcessingContainer, boolean redeploy) Creates a proxy and connects it to Vinci service running on a given port.private void
VinciCasProcessorDeployer.deployBasedOnModel
(ProcessingContainer aProcessingContainer, CasProcessorConfiguration aCasProcessorConfig, boolean redeploy) Deploys CasProcessor according to configured deployment mode.VinciCasProcessorDeployer.deployCasProcessor
(List aCasProcessorList, boolean redeploy) Deploys CasProcessors in a provided List.VinciCasProcessorDeployer.deployCasProcessor
(List aCasProcessorList, CPMEngine aEngine, boolean redeploy) Deploys integrated Cas Processor.void
VinciCasProcessorDeployer.deployCasProcessor
(ProcessingContainer aProcessingContainer) Deploys CasProcessor using configuration from provided container.private void
VinciCasProcessorDeployer.deployIntegrated
(ProcessingContainer aProcessingContainer, boolean redeploy) No-op for integrated deployment.private void
VinciCasProcessorDeployer.deployLocal
(ProcessingContainer aProcessingContainer, boolean redeploy) Deploys CasProcessor as a Local Vinci Service.private void
VinciCasProcessorDeployer.deployRemote
(ProcessingContainer aProcessingContainer, boolean redeploy) Deploys CasProcessor as a remote/network service.private String
VinciCasProcessorDeployer.getServiceUri
(CasProcessorConfiguration aCasProcessorConfig) Returns CasProcessor service name from a descriptor.private ResourceSpecifier
VinciCasProcessorDeployer.getSpecifier
(URL aUrl) Parses given service descriptor and returns initialized ResourceSpecifier.private VinciTAP
VinciCasProcessorDeployer.getTextAnalysisProxy
(CasProcessorConfiguration aCasProcessorConfig) Creates and initializes proxy that will be used to connect to Vinci service.private URISpecifier
VinciCasProcessorDeployer.getURISpecifier
(URL aDescriptorUrl) Returns URISpecifier.private String
VinciCasProcessorDeployer.getVNSSettingFor
(String aVNSParamKey, CasProcessorConfiguration aCasProcessorConfig, String aDefault) Returns a value for a named VNS parameter (either VNS_HOST or VNS_PORT).private void
VinciCasProcessorDeployer.handleMaxRestartThresholdReached
(ProcessingContainer aProcessingContainer) Handles situation when max restart threshold is reached while connecting to CasProcessor. -
Uses of ResourceConfigurationException in org.apache.uima.collection.impl.cpm.engine
Methods in org.apache.uima.collection.impl.cpm.engine that throw ResourceConfigurationExceptionModifier and TypeMethodDescriptionvoid
CPMEngine.addCasProcessor
(CasProcessor aCasProcessor) Adds a CASProcessor to the processing pipeline.void
CPMEngine.addCasProcessor
(CasProcessor aCasProcessor, int aIndex) Adds a CASProcessor to the processing pipeline at a given place in the processing pipeline.int
CPMEngine.getThreadCount()
Returns number of processing threads. -
Uses of ResourceConfigurationException in org.apache.uima.collection.impl.cpm.utils
Methods in org.apache.uima.collection.impl.cpm.utils that throw ResourceConfigurationExceptionModifier and TypeMethodDescriptionstatic String[]
CPMUtils.getKeys2Drop
(String aKeyDropMapFile) Currently, this returns initialized array of Strings. -
Uses of ResourceConfigurationException in org.apache.uima.collection.impl.metadata.cpe
Methods in org.apache.uima.collection.impl.metadata.cpe that throw ResourceConfigurationExceptionModifier and TypeMethodDescriptionCpeComponentDescriptorImpl.findAbsoluteUrl
(ResourceManager aResourceManager) Find absolute url. -
Uses of ResourceConfigurationException in org.apache.uima.collection.metadata
Methods in org.apache.uima.collection.metadata that throw ResourceConfigurationExceptionModifier and TypeMethodDescriptionCpeComponentDescriptor.findAbsoluteUrl
(ResourceManager aResourceManager) Returns the absolute URL where the component descriptor is located. -
Uses of ResourceConfigurationException in org.apache.uima.flow
Methods in org.apache.uima.flow that throw ResourceConfigurationExceptionModifier and TypeMethodDescriptionvoid
FlowController_ImplBase.reconfigure()
void
FlowController.reconfigure()
Alerts this FlowController that the values of its configuration parameters or external resources have changed. -
Uses of ResourceConfigurationException in org.apache.uima.impl
Methods in org.apache.uima.impl that throw ResourceConfigurationExceptionModifier and TypeMethodDescriptionString[]
UimaContext_ImplBase.getSharedSettingArray
(String name) UimaContext_ImplBase.getSharedSettingValue
(String name) -
Uses of ResourceConfigurationException in org.apache.uima.internal.util
Methods in org.apache.uima.internal.util that throw ResourceConfigurationException -
Uses of ResourceConfigurationException in org.apache.uima.resource
Methods in org.apache.uima.resource that throw ResourceConfigurationExceptionModifier and TypeMethodDescriptionvoid
ConfigurationManager.createContext
(String aContextName, ResourceMetaData aResourceMetaData, Settings externalSettings) Creates and sets up a new configuration parameter context.void
ConfigurableResource_ImplBase.reconfigure()
void
ConfigurableResource.reconfigure()
Instructs this Resource to re-read its configuration parameter settings.void
ConfigurationManager.reconfigure
(String aContextName) Completes the reconfiguration of parameters within the specified context.void
ResourceCreationSpecifier.validate()
Checks that thisResourceCreationSpecifier
is valid.void
ResourceCreationSpecifier.validate
(ResourceManager aResourceManager) Checks that thisResourceCreationSpecifier
is valid. -
Uses of ResourceConfigurationException in org.apache.uima.resource.impl
Methods in org.apache.uima.resource.impl that throw ResourceConfigurationExceptionModifier and TypeMethodDescriptionvoid
ConfigurationManagerImplBase.createContext
(String aContextName, ResourceMetaData aResourceMetaData, Settings externalOverrides) private Object
ConfigurationManager_impl.createParam
(String value, String paramType) private <T> Object
ConfigurationManager_impl.createParamForClass
(String value, Class<T> clas) protected void
ConfigurationManager_impl.declareParameters
(String aGroupName, ConfigurationParameter[] aParams, ConfigurationParameterSettings aSettings, String aContextName, Settings aExternalOverrides) protected void
ConfigurationManagerImplBase.declareParameters
(String aGroupName, ConfigurationParameter[] aParams, ConfigurationParameterSettings aSettings, String aContextName, Settings aExternalOverrides) Called during creation of a new context.void
ConfigurationManagerImplBase.reconfigure
(String aContextName) final void
ResourceCreationSpecifier_impl.validate()
Determines if the AnalysisEngineDescription is valid.void
ResourceCreationSpecifier_impl.validate
(ResourceManager aResourceManager) private void
ConfigurationManagerImplBase.validateConfigurationParameterDataTypeMatch
(ConfigurationParameter aParam, Object aValue, String aContextName) Validate that a value is of an appropriate data type for assignment to the given parameter.private void
ConfigurationManagerImplBase.validateConfigurationParameterSettings
(String aContext) Validates configuration parameter settings.private void
ConfigurationManagerImplBase.validateConfigurationParameterSettings
(String aContext, ConfigurationParameter[] aParams, String aGroupName) Validates configuration parameter settings within a group. -
Uses of ResourceConfigurationException in org.apache.uima.resource.metadata
Methods in org.apache.uima.resource.metadata that throw ResourceConfigurationExceptionModifier and TypeMethodDescriptionvoid
ResourceMetaData.validateConfigurationParameterSettings()
Validates configuration parameter settings within this Resource MetaData, and throws an exception if they are not valid. -
Uses of ResourceConfigurationException in org.apache.uima.resource.metadata.impl
Methods in org.apache.uima.resource.metadata.impl that throw ResourceConfigurationExceptionModifier and TypeMethodDescriptionprotected void
ResourceMetaData_impl.validateConfigurationParameterDataTypeMatch
(ConfigurationParameter aParam, NameValuePair aNVP) Validate that a value is of an appropriate data type for assignment to the given parameter.void
ResourceMetaData_impl.validateConfigurationParameterSettings()
Validates configuration parameter settings within this Resource MetaData, and throws an exception if they are not valid.protected void
ResourceMetaData_impl.validateConfigurationParameterSettings
(NameValuePair[] aNVPs, String aGroupName, ConfigurationParameterDeclarations aParamDecls) Validates configuration parameter settings within a group. -
Uses of ResourceConfigurationException in org.apache.uima.tools.cpm
Methods in org.apache.uima.tools.cpm that throw ResourceConfigurationExceptionModifier and TypeMethodDescriptionprivate void
Adds the AE.private boolean
CpmPanel.addAE
(CpeCasProcessor cpeCasProc) Adds the AE.private void
CpmPanel.addConsumer
(String consumerSpecifierFile) Adds the consumer.private boolean
CpmPanel.addConsumer
(CpeCasProcessor cpeCasProc) Adds the consumer.private void
CpmPanel.openCpeDescriptor
(File aFile) Open cpe descriptor.private boolean
CpmPanel.populateCasInitializerPanel
(CpeCollectionReaderCasInitializer cpeCasIni) Populate cas initializer panel.private boolean
CpmPanel.populateCollectionReaderPanel
(CpeCollectionReaderIterator cpeColRdr) Populate collection reader panel. -
Uses of ResourceConfigurationException in org.apache.uima.util
Methods in org.apache.uima.util that throw ResourceConfigurationExceptionModifier and TypeMethodDescriptionSettings.getSetting
(String name) Get the value of an external override setting.String[]
Settings.getSettingArray
(String name) Get the array of values for an external override setting.void
Settings.loadSystemDefaults()
Load properties from the comma-separated list of files specified in the system property UimaExternalOverrides Files are loaded in order --- so in descending priority.Look up the value for a property. -
Uses of ResourceConfigurationException in org.apache.uima.util.impl
Methods in org.apache.uima.util.impl that throw ResourceConfigurationExceptionModifier and TypeMethodDescriptionSettings_impl.getSetting
(String name) String[]
Settings_impl.getSettingArray
(String name) void
Settings_impl.loadSystemDefaults()
Load properties from the comma-separated list of resources specified in the system property UimaExternalOverrides Resource names may be specified with a prefix of "file:" or "path:".Look up the value for a property.private String
private String