Package org.eclipse.tycho.p2.remote
Class RemoteAgent
- java.lang.Object
-
- org.eclipse.tycho.p2.remote.RemoteAgent
-
- All Implemented Interfaces:
org.eclipse.equinox.p2.core.IProvisioningAgent
public class RemoteAgent extends Object implements org.eclipse.equinox.p2.core.IProvisioningAgent
-
-
Constructor Summary
Constructors Constructor Description RemoteAgent(MavenContext mavenContext)RemoteAgent(MavenContext mavenContext, MavenRepositorySettings mavenRepositorySettings, boolean disableMirrors)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> TgetService(Class<T> type)ObjectgetService(String serviceName)voidregisterService(String serviceName, Object service)voidstop()voidunregisterService(String serviceName, Object service)
-
-
-
Constructor Detail
-
RemoteAgent
public RemoteAgent(MavenContext mavenContext, MavenRepositorySettings mavenRepositorySettings, boolean disableMirrors) throws org.eclipse.equinox.p2.core.ProvisionException
- Throws:
org.eclipse.equinox.p2.core.ProvisionException
-
RemoteAgent
public RemoteAgent(MavenContext mavenContext) throws org.eclipse.equinox.p2.core.ProvisionException
- Throws:
org.eclipse.equinox.p2.core.ProvisionException
-
-
Method Detail
-
getService
public Object getService(String serviceName)
- Specified by:
getServicein interfaceorg.eclipse.equinox.p2.core.IProvisioningAgent
-
registerService
public void registerService(String serviceName, Object service)
- Specified by:
registerServicein interfaceorg.eclipse.equinox.p2.core.IProvisioningAgent
-
getService
public <T> T getService(Class<T> type)
- Specified by:
getServicein interfaceorg.eclipse.equinox.p2.core.IProvisioningAgent
-
stop
public void stop()
- Specified by:
stopin interfaceorg.eclipse.equinox.p2.core.IProvisioningAgent
-
-