Interface Deployment

All Superinterfaces:
AutoCloseable, Lifecycle

public interface Deployment extends Lifecycle
Author:
Paul Ferraro
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the container associated with this deployment.
    default URI
    locate(Class<?> resourceClass)
    Locates the base URI of the specific resource class.
    locate(String resourceName)
    Locates the base URI of the specific resource.

    Methods inherited from interface org.wildfly.clustering.arquillian.Lifecycle

    close, getName, isStarted, start, stop
  • Method Details

    • getContainer

      DeploymentContainer getContainer()
      Returns the container associated with this deployment.
      Returns:
      the container associated with this deployment.
    • locate

      default URI locate(Class<?> resourceClass)
      Locates the base URI of the specific resource class. For a servlet class, this would return the URI containing the context path of the associated ServletContext.
      Parameters:
      resourceClass -
      Returns:
      the base URI of the specific resource class.
    • locate

      URI locate(String resourceName)
      Locates the base URI of the specific resource.
      Parameters:
      resourceName - the name of a resource in the deployment
      Returns:
      a URI to be used to invoke the specified resource.