Class GenericDeployer<T extends Container>

    • Constructor Detail

      • GenericDeployer

        public GenericDeployer()
    • Method Detail

      • prepare

        public boolean prepare​(DeploymentContext context)
        Description copied from interface: Deployer
        Prepares the application bits for running in the application server. For certain cases, this is generating non portable artifacts and other application specific tasks. Failure to prepare should throw an exception which will cause the overall deployment to fail.
        Specified by:
        prepare in interface Deployer<T extends Container,​GenericApplicationContainer>
        Parameters:
        context - of the deployment
        Returns:
        true if the prepare phase executed successfully
      • load

        public GenericApplicationContainer load​(T container,
                                                DeploymentContext context)
        Description copied from interface: Deployer
        Loads a previously prepared application in its execution environment and return a ContractProvider instance that will identify this environment in future communications with the application's container runtime.
        Specified by:
        load in interface Deployer<T extends Container,​GenericApplicationContainer>
        Parameters:
        container - in which the application will reside
        context - of the deployment
        Returns:
        an ApplicationContainer instance identifying the running application