Interface IPortalDeployer

  • All Known Implementing Classes:
    GenericWarDeployer, PortletDeployer

    @Deprecated
    public interface IPortalDeployer
    Deprecated.
    Since 5.0.0 the use of this classes was replaced by operations in IDeploymentManager.
    Defines the methods a deployer for portal resources must implement.

    The implementation of a deployer must be thread-safe. This means that the same instance of a deployer may be called simultaneously by many threads.

    Since:
    4.0.7
    Version:
    $Revision: 10825 $ $Date: 2009-08-04 12:36:40 -0300 (Tue, 04 Aug 2009) $
    • Method Detail

      • canHandle

        boolean canHandle​(DeployConfig deployConfig)
        Deprecated.
        Informs if this deployer can handle the specified deployment.
        Parameters:
        deployConfig - deploy configuration.
        Returns:
        true if the deployer can handle the given deploy file, false otherwise.
        Since:
        4.0.7
      • getCustomDeploymentInterfaceId

        java.lang.String getCustomDeploymentInterfaceId​(DeployConfig deployConfig)
                                                 throws PortalException
        Deprecated.
        Returns the service interface id to be called when the deployment will use this deployer. This gives the opportunity for the deployer to ask the user for its own custom options.
        Parameters:
        deployConfig - the deployment specification.
        Returns:
        the service interface id, or null if the is no custom interface.
        Throws:
        PortalException
        Since:
        4.0.7
      • deploy

        void deploy​(SessionConfig sessionConfig,
                    DeployConfig deployConfig)
             throws PortalException
        Deprecated.
        Do the specified deployment into the portal.
        Parameters:
        sessionConfig - the user session information.
        deployConfig - the deploy specification.
        Throws:
        PortalException
        Since:
        4.0.7