| 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Deployer
A Deployer is responsible for performing a single unit of work in the Deployment process. Strategy + Template Method pattern.
 The calling sequence is roughly like this:
 
 try {
   prepare();
   deploy();
  }
  catch (DeployException e) {
   cancel();
  }
  finally {
   finish();
  }
}
 
| Method Summary | |
|---|---|
 void | 
cancel(int deploySequenceId,
       DeployShell shell)
Called if deployment has been cancelled, either because of user intervention or because of another deployment task failing.  | 
 boolean | 
canDeploy(int deploySequenceId)
Indicate whether the deployer (or if its a composite deployer then any of its contained deployers) is capable of deploying the task indicated by the DeploymentSequenceId.  | 
 void | 
deploy(int deploySequenceId,
       DeployShell shell)
Do the actual deployment task.  | 
 void | 
finish(int deploySequenceId,
       DeployShell shell)
Called after the entire Deployment process has completed, perform any cleanup operations here.  | 
 void | 
prepare(int deploySequenceId,
        DeployShell shell)
Called to do any preparatory work before the actual deployment takes place.  | 
| Method Detail | 
|---|
boolean canDeploy(int deploySequenceId)
deploySequenceId - 
void prepare(int deploySequenceId,
             DeployShell shell)
             throws DeployException
deploySequenceId - shell - 
DeployException
void deploy(int deploySequenceId,
            DeployShell shell)
            throws DeployException
deploySequenceId - shell - 
DeployException
void finish(int deploySequenceId,
            DeployShell shell)
deploySequenceId - shell - 
void cancel(int deploySequenceId,
            DeployShell shell)
deploySequenceId - shell - 
  | 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||