public static IArtifactRepositoryManager getArtifactRepositoryManager(IProvisioningAgent agent) {
   return (IArtifactRepositoryManager) agent.getService(IArtifactRepositoryManager.SERVICE_NAME);
 }
 public static IAgentLocation getAgentLocation(IProvisioningAgent agent) {
   return (IAgentLocation) agent.getService(IAgentLocation.SERVICE_NAME);
 }