Interface Deployer

All Known Subinterfaces:
CloneableDeployer
All Known Implementing Classes:
DeploymentDeployer

public interface Deployer
The deployer interface for Fungal
Author:
Jesper Pedersen
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    accepts(URL deployment)
    Accepts the URL of the deployment
    deploy(URL url, Context context, ClassLoader parent)
    Deploy
    int
    Get the order for the deployer.
  • Method Details

    • accepts

      boolean accepts(URL deployment)
      Accepts the URL of the deployment
      Parameters:
      deployment - The URL
      Returns:
      True if the deployer accepts the deployment; otherwise false
    • getOrder

      int getOrder()
      Get the order for the deployer. The lower the number the sooner the deployer will be scheduled in the deployment chain
      Returns:
      The value
    • deploy

      Deployment deploy(URL url, Context context, ClassLoader parent) throws DeployException
      Deploy
      Parameters:
      url - The URL
      context - The deployment context
      parent - The parent classloader
      Returns:
      The deployment; or null if no deployment was made
      Throws:
      DeployException - Thrown if an error occurs during deployment