private void processComponentType(SpringImplementation springImplementation) { // Create a ComponentType and mark it unresolved ComponentType componentType = assemblyFactory.createComponentType(); componentType.setUnresolved(true); springImplementation.setComponentType(componentType); } // end processComponentType
private ComponentType getComponentType(ModelResolver resolver, JavaImplementation impl, ProcessorContext context) { String className = impl.getJavaClass().getName(); String componentTypeURI = className.replace('.', '/') + ".componentType"; ComponentType componentType = assemblyFactory.createComponentType(); componentType.setUnresolved(true); componentType.setURI(componentTypeURI); componentType = resolver.resolveModel(ComponentType.class, componentType, context); if (!componentType.isUnresolved()) { return componentType; } return null; }
componentType.setUnresolved(true);
componentType.setUnresolved(true);
componentTypeURI += ".componentType"; ComponentType componentType = assemblyFactory.createComponentType(); componentType.setUnresolved(true); componentType.setURI(componentTypeURI); componentType = resolver.resolveModel(ComponentType.class, componentType, context);
componentType.setUnresolved(true); impl.setComponentType(componentType);
componentType.setUnresolved(true); impl.setComponentType(componentType);
componentType.setUnresolved(false); implementation.setComponentType(componentType); return;
componentType.setUnresolved(true); componentType = resolver.resolveModel(ComponentType.class, componentType, context); if (componentType.isUnresolved()) {