Interface Protocol<T extends ProtocolConfiguration>
-
public interface Protocol<T extends ProtocolConfiguration>
Interface that defines a Arquillian Protocol.- Version:
- $Revision: $
- Author:
- Aslak Knutsen
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ProtocolDescription
getDescription()
The registry name used for this protocol.
e.g.ContainerMethodExecutor
getExecutor(T protocolConfiguration, ProtocolMetaData metaData, CommandCallback callback)
DeploymentPackager
getPackager()
Get the DeploymentPackager for this Protocol.Class<T>
getProtocolConfigurationClass()
Get the protocols configuration class.
-
-
-
Method Detail
-
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:
ProtocolConfiguration
-
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.
-
-