Package com.github.fungal.spi.deployers
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 TypeMethodDescriptionbooleanAccepts the URL of the deploymentdeploy(URL url, Context context, ClassLoader parent) DeployintgetOrder()Get the order for the deployer.
-
Method Details
-
accepts
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
Deploy- Parameters:
url- The URLcontext- The deployment contextparent- The parent classloader- Returns:
- The deployment; or null if no deployment was made
- Throws:
DeployException- Thrown if an error occurs during deployment
-