/** * Reads in the Configuration, looking for various knowledge models. * If not found, it falls back to the super class (V1CompositeMarshaller). * * @param config the Configuration * @return the Model */ @Override public Model read(Configuration config) { String name = config.getName(); Descriptor desc = getDescriptor(); if (IMPLEMENTATION_BPM.equals(name)) { return new V1BPMComponentImplementationModel(config, desc); } else if (OPERATION.equals(name)) { return new V1BPMOperationModel(config, desc); } return super.read(config); }
public Model read(Configuration config) { String name = config.getName(); Descriptor desc = getDescriptor(); if (CHANNELS.equals(name)) { return new V1ChannelsModel(config, desc);
public Model read(Configuration config) { String name = config.getName(); Descriptor desc = getDescriptor(); if (CHANNELS.equals(name)) { return new V1ChannelsModel(config, desc);
/** * Reads in the Configuration, looking for various knowledge models. * If not found, it falls back to the super class (V1CompositeMarshaller). * * @param config the Configuration * @return the Model */ @Override public Model read(Configuration config) { String name = config.getName(); Descriptor desc = getDescriptor(); if (IMPLEMENTATION_BPM.equals(name)) { return new V1BPMComponentImplementationModel(config, desc); } else if (OPERATION.equals(name)) { return new V1BPMOperationModel(config, desc); } return super.read(config); }
/** * Reads in the Configuration, looking for various knowledge models. * If not found, it falls back to the super class (V1CompositeMarshaller). * * @param config the Configuration * @return the Model */ @Override public Model read(Configuration config) { String name = config.getName(); Descriptor desc = getDescriptor(); if (IMPLEMENTATION_BPM.equals(name)) { return new V1BPMComponentImplementationModel(config, desc); } else if (OPERATION.equals(name)) { return new V1BPMOperationModel(config, desc); } return super.read(config); }
/** * Reads in the Configuration, looking for various knowledge models. * If not found, it falls back to the super class (V1CompositeMarshaller). * * @param config the Configuration * @return the Model */ @Override public Model read(Configuration config) { String name = config.getName(); Descriptor desc = getDescriptor(); if (IMPLEMENTATION_RULES.equals(name)) { return new V1RulesComponentImplementationModel(config, desc); } else if (OPERATION.equals(name)) { return new V1RulesOperationModel(config, desc); } return super.read(config); }
/** * Reads in the Configuration, looking for various knowledge models. * If not found, it falls back to the super class (V1KnowledgeMarshaller). * * @param config the Configuration * @return the Model */ @Override public Model read(Configuration config) { String name = config.getName(); Descriptor desc = getDescriptor(); if (MANIFEST.equals(name)) { return new V2ManifestModel(config, desc); } else if (REMOTE_JMS.equals(name)) { return new V2RemoteJmsModel(config, desc); } else if (REMOTE_REST.equals(name)) { return new V2RemoteRestModel(config, desc); } else if (EXTRA_JAXB_CLASSES.equals(name)) { return new V2ExtraJaxbClassesModel(config, desc); } else if (EXTRA_JAXB_CLASS.equals(name)) { return new V2ExtraJaxbClassModel(config, desc); } else if (INPUT.equals(name)) { return new V2InputModel(config, desc); } else if (PROPERTIES.equals(name)) { return new V2PropertiesModel(config, desc); } return super.read(config); }
/** * Reads in the Configuration, looking for various knowledge models. * If not found, it falls back to the super class (V1KnowledgeMarshaller). * * @param config the Configuration * @return the Model */ @Override public Model read(Configuration config) { String name = config.getName(); Descriptor desc = getDescriptor(); if (MANIFEST.equals(name)) { return new V2ManifestModel(config, desc); } else if (REMOTE_JMS.equals(name)) { return new V2RemoteJmsModel(config, desc); } else if (REMOTE_REST.equals(name)) { return new V2RemoteRestModel(config, desc); } else if (EXTRA_JAXB_CLASSES.equals(name)) { return new V2ExtraJaxbClassesModel(config, desc); } else if (EXTRA_JAXB_CLASS.equals(name)) { return new V2ExtraJaxbClassModel(config, desc); } else if (INPUT.equals(name)) { return new V2InputModel(config, desc); } else if (PROPERTIES.equals(name)) { return new V2PropertiesModel(config, desc); } return super.read(config); }