public class CpeDescriptorFactory extends Object
| Constructor and Description |
|---|
CpeDescriptorFactory() |
public static CpeDescription produceDescriptor()
public static CpeDescription produceDescriptor(XMLInputSource aInput) throws InvalidXMLException
aInput - identifies the input fileInvalidXMLException - if the descriptor is invalidpublic static CpeDescription produceDescriptor(InputStream aInput) throws InvalidXMLException
aInput - identifies the input streamInvalidXMLException - if the descriptor is invalidpublic static CpeCollectionReader produceCollectionReader(String aCollectionReaderDescriptorPath, CpeDescription aDescriptor) throws CpeDescriptorException
aCollectionReaderDescriptorPath - aDescriptor - CpeDescriptorExceptionpublic static CpeCollectionReader produceCollectionReader(String aCollectionReaderDescriptorPath) throws CpeDescriptorException
CpeDescriptorExceptionpublic static CpeCollectionReader produceCollectionReader() throws CpeDescriptorException
CpeDescriptorExceptionpublic static CpeCollectionReaderIterator produceCollectionReaderIterator(String aPath) throws CpeDescriptorException
CpeDescriptorException@Deprecated public static CpeCollectionReaderCasInitializer produceCollectionReaderCasInitializer(String aPath, CpeDescription aDescriptor) throws CpeDescriptorException
aPath - aDescriptor - CpeDescriptorException@Deprecated protected static CpeCollectionReaderCasInitializer produceCollectionReaderCasInitializer(String aInitializerDescriptorPath)
aInitializerDescriptorPath - public static CpeComponentDescriptor produceComponentDescriptor(String aPath)
aPath - public static CpeConfiguration produceCpeConfiguration(CpeDescription aDescriptor) throws CpeDescriptorException
aDescriptor - CpeDescriptorExceptionpublic static CpeConfiguration produceCpeConfiguration() throws CpeDescriptorException
CpeDescriptorExceptionpublic static CasProcessorRuntimeEnvParam produceRuntimeEnvParam()
public static CasProcessorDeploymentParams produceDeployParams()
public static CasProcessorDeploymentParam produceDeployParam()
public static CpeInclude produceComponentDescriptorInclude()
public static CpeCasProcessors produceCasProcessors(CpeDescription aDescriptor) throws CpeDescriptorException
aDescriptor - CpeDescriptorExceptionpublic static CpeCasProcessors produceCasProcessors() throws CpeDescriptorException
CpeDescriptorExceptionpublic static CpeCasProcessors produceCasProcessors(int aInputQSize, int aOutputQSize, int aPuCount, CpeDescription aDescriptor) throws CpeDescriptorException
aInputQSize - aOutputQSize - aPuCount - aDescriptor - CpeDescriptorExceptionpublic static CpeIntegratedCasProcessor produceCasProcessor(String aName)
public static CpeLocalCasProcessor produceLocalCasProcessor(String aName, String aSoFa) throws CpeDescriptorException
aName - aSoFa - CpeDescriptorExceptionpublic static CpeRemoteCasProcessor produceRemoteCasProcessor(String aName) throws CpeDescriptorException
aName - CpeDescriptorExceptionpublic static CpeResourceManagerConfiguration produceResourceManagerConfiguration(String aResourceMgrConfigurationPath, CpeDescription aDescriptor) throws CpeDescriptorException
CpeDescriptorExceptionpublic static CpeResourceManagerConfiguration produceResourceManagerConfiguration(String aResourceMgrConfigurationPath) throws CpeDescriptorException
CpeDescriptorExceptionpublic static CasProcessorTimeout produceCasProcessorTimeout()
public static CasProcessorMaxRestarts produceCasProcessorMaxRestarts()
public static CasProcessorErrorRateThreshold produceCasProcessorErrorRateThreshold()
public static CasProcessorFilter produceCasProcessorFilter(String aFilter)
aFilter - public static CasProcessorErrorHandling produceCasProcessorErrorHandling()
public static CpeCheckpoint produceCpeCheckpoint()
public static CasProcessorDeploymentParams produceCasProcessorDeploymentParams()
public static CasProcessorExecArg produceCasProcessorExecArg()
public static CasProcessorExecutable produceCasProcessorExecutable()
public static CasProcessorRunInSeperateProcess produceRunInSeperateProcess()
public static CasProcessorConfigurationParameterSettings produceCasProcessorConfigurationParameterSettings()
public static NameValuePair produceNameValuePair()
public static CpeSofaMapping produceSofaMapping()
public static CpeSofaMappings produceSofaMappings()
Copyright © 2006–2013 The Apache Software Foundation. All rights reserved.