org.jboss.deployers.spi.management.deploy
Interface DeploymentTarget


public interface DeploymentTarget

A target to which a deployment is uploaded.

Version:
$Revision:$
Author:
Scott.Stark@jboss.org

Method Summary
 void distribute(DeploymentID deployment)
           
 String getDescription()
          Get the target description
 String getName()
          Get the target name
 String[] getRepositoryNames(DeploymentID deployment)
           
 void prepare(DeploymentID deployment)
           
 void redeploy(DeploymentID deployment)
           
 void remove(DeploymentID deployment)
           
 void start(DeploymentID deployment)
           
 void stop(DeploymentID deployment)
           
 

Method Detail

getName

String getName()
Get the target name

Returns:
the name

getRepositoryNames

String[] getRepositoryNames(DeploymentID deployment)
                            throws Exception
Throws:
Exception

distribute

void distribute(DeploymentID deployment)
                throws Exception
Throws:
Exception

redeploy

void redeploy(DeploymentID deployment)
              throws Exception
Throws:
Exception

prepare

void prepare(DeploymentID deployment)
             throws Exception
Throws:
Exception

start

void start(DeploymentID deployment)
           throws Exception
Throws:
Exception

stop

void stop(DeploymentID deployment)
          throws Exception
Throws:
Exception

remove

void remove(DeploymentID deployment)
            throws Exception
Throws:
Exception

getDescription

String getDescription()
Get the target description

Returns:
the description


Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.