org.ow2.jonas.ant
Interface HotDeploymentTool

All Known Implementing Classes:
JonasHotDeploymentTool

public interface HotDeploymentTool

An interface for vendor-specific "hot" deployment tools.

See Also:
AbstractHotDeploymentTool, ServerDeploy

Field Summary
static String ACTION_DELETE
          The delete action String
static String ACTION_DEPLOY
          The deploy action String
static String ACTION_LIST
          The list action String
static String ACTION_UNDEPLOY
          The undeploy action String
static String ACTION_UPDATE
          The update action String
 
Method Summary
 void deploy()
          Perform the actual deployment.
 void setTask(ServerDeploy task)
          Sets the parent task.
 void validateAttributes()
          Validates the passed in attributes.
 

Field Detail

ACTION_DELETE

static final String ACTION_DELETE
The delete action String

See Also:
Constant Field Values

ACTION_DEPLOY

static final String ACTION_DEPLOY
The deploy action String

See Also:
Constant Field Values

ACTION_LIST

static final String ACTION_LIST
The list action String

See Also:
Constant Field Values

ACTION_UNDEPLOY

static final String ACTION_UNDEPLOY
The undeploy action String

See Also:
Constant Field Values

ACTION_UPDATE

static final String ACTION_UPDATE
The update action String

See Also:
Constant Field Values
Method Detail

validateAttributes

void validateAttributes()
                        throws org.apache.tools.ant.BuildException
Validates the passed in attributes.

Throws:
org.apache.tools.ant.BuildException - if the attributes are invalid or incomplete.

deploy

void deploy()
            throws org.apache.tools.ant.BuildException
Perform the actual deployment.

Throws:
org.apache.tools.ant.BuildException - if the attributes are invalid or incomplete.

setTask

void setTask(ServerDeploy task)
Sets the parent task.

Parameters:
task - A ServerDeploy object representing the parent task.


Copyright © 2010 OW2 Consortium. All Rights Reserved.