============================================================
Instructions:
============================================================
- Place the _deploy.tag and deploy.xml ANT task in your /config directory of your application.
- Add the Deploy interceptor declaration
interceptors = [
{class="#pathTo#.Deploy",
properties={
tagFile = "config/_deploy.tag",
deployCommandObject = "path.to.cfcCommand",
deployCommandModel = "model via wirebox"
}
}
];
============================================================
Interceptor Properties:
============================================================
- tagFile : config/_deploy.tag [required] The location of the tag.
- deployCommandObject : The class path of the deploy command object to use [optional].
- deployCommandModel : The name of the model object to retrieve via WireBox [optional].
This command object is a CFC that must implement an init(controller) method and an execute() method.
This command object will be executed before the framework reinit bit is set so you can do
any kind of cleanup code or anything you like:
============================================================
Command Object Interface
============================================================
component{
init(controller){}
execute(){}
}
============================================================
Command Model Object Interface
============================================================
component{
execute(){}
}