* Cas Process configuration from the CPE descriptor
*/
public CasObjectNetworkCasProcessorImpl(CpeCasProcessor aCasProcessor)
throws ResourceConfigurationException {
if (aCasProcessor.getDeploymentParams() != null) {
CasProcessorDeploymentParams params = aCasProcessor.getDeploymentParams();
try {
CasProcessorDeploymentParam transportParameter = params.get("transport");
transport = pluginTransport(transportParameter.getParameterValue());
} catch (Exception e) {
throw new ResourceConfigurationException(InvalidXMLException.INVALID_CLASS,
new Object[] { "transport" }, e);
}
CasProcessorDeploymentParam[] deployParameters = params.getAll();
for (int i = 0; deployParameters != null && i < deployParameters.length; i++) {
try {
if ("transport".equalsIgnoreCase(deployParameters[i].getParameterName())) {
String transportClass = deployParameters[i].getParameterValue();
transport = pluginTransport(transportClass);