<?xml version="1.0" encoding="UTF-8"?>
<!--

    Copyright (c) 2010, 2019 Oracle and/or its affiliates. All rights reserved.

    This program and the accompanying materials are made available under the
    terms of the Eclipse Public License v. 2.0, which is available at
    http://www.eclipse.org/legal/epl-2.0.

    This Source Code may also be made available under the following Secondary
    Licenses when the conditions for such availability set forth in the
    Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
    version 2 with the GNU Classpath Exception, which is available at
    https://www.gnu.org/software/classpath/license.html.

    SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0

-->

<probe-providers>
  <probe-provider moduleProviderName="glassfish" moduleName="jakartamail"
      probeProviderName="smtp-transport"
      class="com.sun.mail.smtp.SMTPTransport">
    <probe name="sendMessageStart">
      <method>sendMessageStart</method>
      <probe-param type="java.lang.String" name="subject" />
      <return-param type="void" />
    </probe>
    <probe name="sendMessageEnd">
      <method>sendMessageEnd</method>
      <return-param type="void" />
    </probe>
  </probe-provider>
  <probe-provider moduleProviderName="glassfish" moduleName="jakartamail"
      probeProviderName="iap-protocol"
      class="com.sun.mail.iap.Protocol">
    <probe name="commandStart">
      <method>commandStart</method>
      <probe-param type="java.lang.String" name="command" />
      <return-param type="void" />
    </probe>
    <probe name="commandEnd">
      <method>commandEnd</method>
      <return-param type="void" />
    </probe>
  </probe-provider>
  <probe-provider moduleProviderName="glassfish" moduleName="jakartamail"
      probeProviderName="pop3-protocol"
      class="com.sun.mail.pop3.Protocol">
    <probe name="simpleCommandStart">
      <method>simpleCommandStart</method>
      <probe-param type="java.lang.String" name="command" />
      <return-param type="void" />
    </probe>
    <probe name="simpleCommandEnd">
      <method>simpleCommandEnd</method>
      <return-param type="void" />
    </probe>
    <probe name="multilineCommandStart">
      <method>multilineCommandStart</method>
      <probe-param type="java.lang.String" name="command" />
      <return-param type="void" />
    </probe>
    <probe name="multilineCommandEnd">
      <method>multilineCommandEnd</method>
      <return-param type="void" />
    </probe>
  </probe-provider>
</probe-providers>
