componentImplementationModel.setListeners(toListenersModel(bpm.listeners(), bpmNamespace));
componentImplementationModel.setLoggers(toLoggersModel(bpm.loggers(), bpmNamespace));
componentImplementationModel.setManifest(toManifestModel(bpm.manifest(), bpmNamespace));
componentImplementationModel.setProperties(toPropertiesModel(bpm.properties(), bpmNamespace));
componentImplementationModel.setUserGroupCallback(toUserGroupCallbackModel(bpm.userGroupCallback(), bpmNamespace));
componentImplementationModel.setWorkItemHandlers(toWorkItemHandlersModel(bpm.workItemHandlers(), bpmNamespace));
componentModel.setImplementation(componentImplementationModel);
ComponentServiceModel componentServiceModel = new V1ComponentServiceModel(switchyardNamespace.uri());
InterfaceModel interfaceModel = new V1InterfaceModel(InterfaceModel.JAVA);
interfaceModel.setInterface(bpmInterface.getName());
componentServiceModel.setInterface(interfaceModel);