if (PhysicalSpringComponent.LocationType.JAR == physicalComponent.getLocationType()) { resolveJarSources(physicalComponent, classLoader, sources); } else if (PhysicalSpringComponent.LocationType.DIRECTORY == physicalComponent.getLocationType()) { resolveDirectorySources(physicalComponent, classLoader, sources); } else { Map<String, Pair> properties = createProperties(physicalComponent); SCAApplicationContext parent = createParentContext(classLoader, properties); Map<String, String> alias = physicalComponent.getDefaultReferenceMappings(); URI contributionUri = physicalComponent.getContributionUri();
if (PhysicalSpringComponent.LocationType.JAR == physicalComponent.getLocationType()) { resolveJarSources(physicalComponent, classLoader, sources); } else if (PhysicalSpringComponent.LocationType.DIRECTORY == physicalComponent.getLocationType()) { resolveDirectorySources(physicalComponent, classLoader, sources); } else { Map<String, Pair> properties = createProperties(physicalComponent); SCAApplicationContext parent = createParentContext(classLoader, properties); Map<String, String> alias = physicalComponent.getDefaultReferenceMappings(); URI contributionUri = physicalComponent.getContributionUri();
if (SpringComponentDefinition.LocationType.JAR == definition.getLocationType()) { resolveJarSources(definition, classLoader, sources); } else if (SpringComponentDefinition.LocationType.DIRECTORY == definition.getLocationType()) { resolveDirectorySources(definition, classLoader, sources); } else { QName deployable = definition.getDeployable(); Map<String, Pair> properties = createProperties(definition); SCAApplicationContext parent = createParentContext(classLoader, properties); Map<String, String> alias = definition.getDefaultReferenceMappings(); return new SpringComponent(componentUri, deployable, parent, sources, classLoader, validating, alias, POST_PROCESSORS);