blob: a9f31a472d8a3da9d27da56b536416dbe8733601 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2010, 2017 IBM Corporation and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.equinox.internal.p2.garbagecollector;
import org.eclipse.equinox.p2.core.IProvisioningAgent;
import org.eclipse.equinox.p2.core.spi.IAgentServiceFactory;
/**
* Component for instantiating p2 garbage collectors.
*/
public class GarbageCollectorComponent implements IAgentServiceFactory {
@Override
public Object createService(IProvisioningAgent agent) {
return new GarbageCollector(agent);
}
}