Class AzureWFArchiveDeployer

  • All Implemented Interfaces:
    sunstone.core.api.SunstoneArchiveDeployer

    public class AzureWFArchiveDeployer
    extends Object
    implements sunstone.core.api.SunstoneArchiveDeployer
    Purpose: handle deploy operation to WildFly. Heavily uses AzureWFIdentifiableSunstoneResource to determine the destination of deploy operation To retrieve Azure cloud resources, the class relies on AzureWFIdentifiableSunstoneResource.get(Annotation, AzureSunstoneStore, Class). Undeploy operations are registered in the extension store so that they are closed once the store is closed
    • Method Detail

      • deploy

        public void deploy​(String deploymentName,
                           Object object,
                           org.junit.jupiter.api.extension.ExtensionContext ctx)
                    throws sunstone.core.exceptions.SunstoneException
        Specified by:
        deploy in interface sunstone.core.api.SunstoneArchiveDeployer
        Throws:
        sunstone.core.exceptions.SunstoneException
      • undeploy

        public void undeploy​(String deploymentName,
                             org.junit.jupiter.api.extension.ExtensionContext ctx)
                      throws sunstone.core.exceptions.SunstoneException
        Specified by:
        undeploy in interface sunstone.core.api.SunstoneArchiveDeployer
        Throws:
        sunstone.core.exceptions.SunstoneException