protected void handleRootAttributes(Attributes attributes) { String[] values = parseAttributes(attributes, required, optional); Version version = checkVersion(this.elementHandled, VERSION_ATTRIBUTE, values[2]); state.Name = values[0]; state.Type = values[1]; state.Version = version; state.Description = values[3]; state.Provider = values[4]; state.Location = null; }
public IMetadataRepository create(URI location, String name, String type, Map<String, String> properties) { return new CompositeMetadataRepository(getManager(), location, name, properties); }
protected IMetadataRepository getRepository(IRepositoryManager<IInstallableUnit> manager, URI location) { // note the use of MetadataRepositoryManager (the concrete implementation). if (manager instanceof MetadataRepositoryManager) { return ((MetadataRepositoryManager) manager).getRepository(location); } return null; }
public IMetadataRepository create(URI location, String name, String type, Map<String, String> properties) { if (location.getScheme().equals("file")) //$NON-NLS-1$ return new LocalMetadataRepository(getAgent(), location, name, properties); return new URLMetadataRepository(getAgent(), location, name, properties); }
public void addChild(URI childURI) { try { addChild(childURI, true, null, false, null); } catch (ProvisionException e) { //already logged } }
public IMetadataRepository create(URI location, String name, String type, Map<String, String> properties) { if (location.getScheme().equals("file")) //$NON-NLS-1$ return new LocalMetadataRepository(getAgent(), location, name, properties); return new URLMetadataRepository(getAgent(), location, name, properties); }
public synchronized void initializeAfterLoad(URI repoLocation) { setLocation(repoLocation); content = getActualLocation(repoLocation); }
public Object createService(IProvisioningAgent agent) { return new MetadataRepositoryManager(agent); } }
public IMetadataRepository create(URI location, String name, String type, Map<String, String> properties) { if (location.getScheme().equals("file")) //$NON-NLS-1$ return new LocalMetadataRepository(getAgent(), location, name, properties); return new URLMetadataRepository(getAgent(), location, name, properties); }
public void addChild(URI childURI) { try { addChild(childURI, true, null, false, null); } catch (ProvisionException e) { //already logged } }
public IMetadataRepository create(URI location, String name, String type, Map<String, String> properties) { if (location.getScheme().equals("file")) //$NON-NLS-1$ return new LocalMetadataRepository(getAgent(), location, name, properties); return new URLMetadataRepository(getAgent(), location, name, properties); }
protected void handleRootAttributes(Attributes attributes) { String[] values = parseAttributes(attributes, required, optional); Version version = checkVersion(this.elementHandled, VERSION_ATTRIBUTE, values[2]); state.Name = values[0]; state.Type = values[1]; state.Version = version; state.Description = values[3]; state.Provider = values[4]; state.Location = null; }
public IMetadataRepository create(URI location, String name, String type, Map<String, String> properties) { return new CompositeMetadataRepository(getManager(), location, name, properties); }
public synchronized void initializeAfterLoad(URI repoLocation) { setLocation(repoLocation); content = getActualLocation(repoLocation); }
public Object createService(IProvisioningAgent agent) { return new MetadataRepositoryManager(agent); } }
public IMetadataRepository create(URI location, String name, String type, Map<String, String> properties) { if (location.getScheme().equals("file")) //$NON-NLS-1$ return new LocalMetadataRepository(getAgent(), location, name, properties); return new URLMetadataRepository(getAgent(), location, name, properties); }
public void addChild(URI childURI) { try { addChild(childURI, true, null, false, null); } catch (ProvisionException e) { //already logged } }
protected void handleRootAttributes(Attributes attributes) { String[] values = parseAttributes(attributes, required, optional); Version version = checkVersion(this.elementHandled, VERSION_ATTRIBUTE, values[2]); state.Name = values[0]; state.Type = values[1]; state.Version = version; state.Description = values[3]; state.Provider = values[4]; state.Location = null; }
public IMetadataRepository create(URI location, String name, String type, Map<String, String> properties) { return new CompositeMetadataRepository(getManager(), location, name, properties); }
public Object createService(IProvisioningAgent agent) { return new MetadataRepositoryManager(agent); } }