public interface Protocol<T extends ProtocolConfiguration>
Interface that defines a Arquillian Protocol.
Version:
$Revision: $
Author:
Aslak Knutsen
  • Method Details

    • getProtocolConfigurationClass

      Class<T> getProtocolConfigurationClass()
      Get the protocols configuration class.

      A instance of this class will be filled with the configuration data configured in e.g. arquillian.xml and passed back to #getExecutor(ProtocolConfiguration, ProtocolMetaData)

      Returns:
      The type used for configuration
      See Also:
    • getDescription

      ProtocolDescription getDescription()
      The registry name used for this protocol.
      e.g. EJB, Servlet-2.5, Servlet-3.0

      Returns:
      The protocol name
      See Also:
      • org.jboss.arquillian.api.OverProtocol
    • getPackager

      DeploymentPackager getPackager()
      Get the DeploymentPackager for this Protocol.
      Used so the Protocol can bind it self to the users deployment.
    • getExecutor

      ContainerMethodExecutor getExecutor(T protocolConfiguration, ProtocolMetaData metaData, CommandCallback callback)
      Parameters:
      callback - A Callback for each event received from the remote container.