Abstract class to support vendor-specific hot deployment tools.
This class will validate boilerplate attributes.
Subclassing this class for a vendor specific tool involves the
following.
Implement the isActionValid() method to insure the
action supplied as the "action" attribute of ServerDeploy is valid.
Implement the validateAttributes() method to insure
all required attributes are supplied, and are in the correct format.
Add a add<TOOL> method to the ServerDeploy
class. This method will be called when Ant encounters a
add<TOOL> task nested in the
serverdeploy task.
Define the deploy method. This method should perform
whatever task it takes to hot-deploy the component. IE: spawn a JVM and
run class, exec a native executable, run Java code...
isActionValid()method to insure the action supplied as the "action" attribute of ServerDeploy is valid.- Implement the
- Add a
- Define the
validateAttributes()method to insure all required attributes are supplied, and are in the correct format.add<TOOL>method to the ServerDeploy class. This method will be called when Ant encounters aadd<TOOL>task nested in theserverdeploytask.deploymethod. This method should perform whatever task it takes to hot-deploy the component. IE: spawn a JVM and run class, exec a native executable, run Java code...